Template:SysVar

From Serious Documentation
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:

{{SysVar|shiplaunch}}

and it will output

[[SHIP:System_Variable:shiplaunch|shiplaunch]]

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

shiplaunch

Or you can also specify substitute label text like this:

{{SysVar|shiplaunch|my alternate label}}

and it will output

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

which looks like this, and will be a link to SHIP:System_Variable:shiplaunch

my alternate label

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

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