Template:Prop

From Serious Documentation
Jump to: navigation, search

Usage

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

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

{{Prop|box|visible}}

and it will output

[[SHIP:Property:box:visible]]

which looks like this, and will be a link to SHIP:Property:visible

visible

Or you can also specify substitute label text like this:

{{Prop|box|visible|my alternate label}}

and it will output

[[SHIP:Property:box:visible|my alternate label]]

which looks like this, and will be a link to SHIP:Property:visible

my alternate label

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

Must specify a node (e.g. box)Must specify a property (e.g. visible)[[SHIP:Property:{{{1}}}:{{{2}}}|{{{2}}}]]