RTSemantics: Difference between revisions
No edit summary |
No edit summary |
||
Line 1: | Line 1: | ||
The Semantic extension for the Wiki lets us treat parts of a Wiki article as though they were database fields, which other pages can query. That means other Wiki authors can make lists of information without having to copy and paste information. The downside to all this awesomeness is that you need to make sure your articles have all the right magic tags to them. | The Semantic extension for the Wiki lets us treat parts of a Wiki article as though they were database fields, which other pages can query. That means other Wiki authors can make lists of information without having to copy and paste information. The downside to all this awesomeness is that you need to make sure your articles have all the right magic tags to them. | ||
__TOC__ | |||
= Markup for PCs = | = Markup for PCs = | ||
Revision as of 16:21, 11 February 2010
The Semantic extension for the Wiki lets us treat parts of a Wiki article as though they were database fields, which other pages can query. That means other Wiki authors can make lists of information without having to copy and paste information. The downside to all this awesomeness is that you need to make sure your articles have all the right magic tags to them.
Markup for PCs
For new PCs, put this block at the bottom of your character's page:
[[player::Your Name| ]]
[[role::Your character's class or function in the party.| ]]
[[campaign::YuriRT1| ]]
[[chartype::PC| ]]
Markup for ships
If you want to create a page for a ship, the markup is a little longer:
[[Category:Ship]]
{{Infobox ship
| Class = ship class
| Desc = A short (15 words or so max) description of the ship
| Campaign = YuriRT1
}}
Other fanciness
If you're referring to a ship, you can avoid the mess of brackets and apostrophes and just use this magic:
{{ship|ship's name here}}
Example:
{{ship|Voidspear}} automatically translates to Voidspear.
You can also insert that ship's class with this magic:
{{#show: ship's name here | ?Class}}
Example:
{{#show: Voidspear | ?Class}} turns into Lunar-class Cruiser.