RTSemantics: Difference between revisions
(5 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
{{Template:YuriRT1_Nav_Bar}} | |||
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__ | __TOC__ | ||
= Navigation Bar = | |||
Put this navigation bar code at the top of every page. | |||
<nowiki>{{Template:YuriRT1_Nav_Bar}}</nowiki> | |||
= Markup for PCs = | = Markup for PCs = | ||
Line 23: | Line 30: | ||
If you want to create a page for a ship, the markup is a little longer: | If you want to create a page for a ship, the markup is a little longer: | ||
<nowiki>{{Infobox ship </nowiki><br /> | <nowiki>{{Infobox ship </nowiki><br /> | ||
<nowiki>| Class = ship class</nowiki><br /> | <nowiki>| Class = ship class</nowiki><br /> | ||
Line 30: | Line 36: | ||
<nowiki>}}</nowiki> | <nowiki>}}</nowiki> | ||
If you need to fully stat a ship out, you want [[Template:Rtshipstats]]. | If you need to fully stat a ship out, you want [[Template:Rtshipstats]] & [[Template:Rtshipwep]]. [[Form:Rtshipstats]] can make statting out a ship much easier. | ||
= Other fanciness = | = Other fanciness = | ||
When you refer to an NPC, especially in a game log, use this: | |||
<nowiki>{{npcref|Name of NPC here}}</nowiki> | |||
It will avoid the heartache of redlinks (use the add an NPC button on the front page to add NPC pages) but also link that NPC to that log if/when the NPC page gets created. | |||
If you're referring to a ship, you can avoid the mess of brackets and apostrophes and just use this magic: | If you're referring to a ship, you can avoid the mess of brackets and apostrophes and just use this magic: | ||
Line 41: | Line 53: | ||
<nowiki>{{ship|Voidspear}}</nowiki> automatically translates to {{ship|Voidspear}}. | <nowiki>{{ship|Voidspear}}</nowiki> automatically translates to {{ship|Voidspear}}. | ||
You can also insert that ship's class with this magic: | You can also insert that ship's class with this magic: |
Latest revision as of 01:04, 18 September 2010
Help |
---|
Campaign Links |
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.
Put this navigation bar code at the top of every page.
{{Template:YuriRT1_Nav_Bar}}
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| ]]
Or, if you want to be fancy, you can make it into a one-liner:
{{#set: player=Jason Larke|role=Missionary|campaign=YuriRT1|chartype=PC}}
Markup for NPCS
{{#set role=half-line description of how this NPC fits into the game|campaign=YuriTR1|chartype=NPC}}
Markup for ships
If you want to create a page for a ship, the markup is a little longer:
{{Infobox ship
| Class = ship class
| Desc = A short (15 words or so max) description of the ship
| Campaign = YuriRT1
}}
If you need to fully stat a ship out, you want Template:Rtshipstats & Template:Rtshipwep. Form:Rtshipstats can make statting out a ship much easier.
Other fanciness
When you refer to an NPC, especially in a game log, use this:
{{npcref|Name of NPC here}}
It will avoid the heartache of redlinks (use the add an NPC button on the front page to add NPC pages) but also link that NPC to that log if/when the NPC page gets created.
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.