Difference between revisions of "Template:SailFunc"

From Serious Documentation
Jump to: navigation, search
 
(2 intermediate revisions by the same user not shown)
(No difference)

Latest revision as of 09:12, 14 October 2016

Usage

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

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

{{SailFunc|getChildIndex}}

and it will output

[[SHIP:Sail:getChildIndex]]

which looks like this, and will be a link to SHIP:Sail:getChildIndex

getChildIndex(node)

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

Must specify a function (e.g. round)