Template:Reserved

From Serious Documentation
Revision as of 06:53, 27 November 2012 by Admin (talk | contribs) (Created page with "<noinclude> == Reserved Word Template Usage == This template should be used whenever you reference a '''Reserved Word''', like "true". It puts a link to SHIP:Reserved_Words#(...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

Reserved Word Template Usage

This template should be used whenever you reference a Reserved Word, like "true". It puts a link to SHIP:Reserved_Words#(word) but gives us the future option of styling these differently and consistently.

You can just use the name of the node, like this:

{{Reserved|true}}

and it will output

[[SHIP:Reserved_Words#true|true]]

which looks like this, and will be a link to SHIP:Node:resources

true

Or you can also specify substitute label text like this:

{{Reserved|true|my alternate label}}

and it will output

[[SHIP:Reserved_Words#true|alternate label]]

which looks like this, and will be a link to SHIP:Node:resources

alternate label

Ignore this stuff below... that's the code for the template

Must specify a reserved word (e.g. true)[[SHIP:Reserved_Words#{{{1}}}|{{{1}}}]]