Template:ShipName: Difference between revisions
From The Dreadnought Project
Jump to navigationJump to search
(Created page with "{{#switch:{{#pos:{{{f|}}}|t}} |= |#default={{{t}}}{{{SepSpace|{{{t}}}}} }}{{#switch:{{#pos:{{{f|}}}|p}} |= |#default={{{p}}}{{{SepSpace|{{{p}}}}} }}''{{{1}}}''<noinclude>Outputs ...") |
No edit summary |
||
(12 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
{{ | <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> | ||
| | |||
}}''{{{ |
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.