Template:SysVar

From Serious Documentation
Revision as of 07:02, 27 November 2012 by Admin (talk | contribs) (Created page with "<noinclude> == Usage == This template should be used whenever you reference a '''System Variable''', like "shiplaunch". It puts a link to SHIP:System_Variable:(name) but give...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

Usage

This template should be used whenever you reference a System Variable, like "shiplaunch". It puts a link to SHIP:System_Variable:(name) 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:System_Variable:shiplaunch|shiplaunch]]

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|shiplaunch|my alternate shiplaunch label}}

and it will output

[[SHIP:System_Variable:shiplaunch|my alternate shiplaunch label]]

which looks like this, and will be a link to SHIP:Node:System Variable:shiplaunch

my shiplaunch alternate label

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

Must specify a reserved word (e.g. true)[[SHIP:Node:System Variable:{{{1}}}|{{{1}}}]]