Template:ShipName: Difference between revisions
From The Dreadnought Project
Jump to navigationJump to search
No edit summary |
No edit summary |
||
(5 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
<includeonly>{{ | <includeonly>{{If||{{#pos:{{{f|}}}|p}}|{{{p}}} |}}''{{{n}}}''</includeonly><noinclude>Outputs a ship's name, optionally prefixed with its national designator. Parameter '''n''' is the unadorned name of a ship. Optional named parameter '''f''' can have tokens "p" to prepend a designator (e.g., "H.M.S.") which is passed as parameter '''p'''.</noinclude> | ||
| | |||
|{{{p}}} | |||
}}''{{{n}}}''</includeonly><noinclude>Outputs a ship's name, optionally prefixed with its |
Latest revision as of 16:57, 31 July 2012
Outputs a ship's name, optionally prefixed with its national designator. Parameter n is the unadorned name of a ship. Optional named parameter f can have tokens "p" to prepend a designator (e.g., "H.M.S.") which is passed as parameter p.