RTSemantics

From AAFNRPWiki
Revision as of 01:21, 12 February 2010 by Jason (talk | contribs)
Jump to navigationJump to search

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.