Template:ShipName: Difference between revisions
From The Dreadnought Project
Jump to navigationJump to search
No edit summary |
No edit summary |
||
Line 4: | Line 4: | ||
}}{{#switch:{{#pos:{{{f|}}}|p}} | }}{{#switch:{{#pos:{{{f|}}}|p}} | ||
|= | |= | ||
| | |{{{p}}}{{Space}} | ||
}}''{{{n}}}''</includeonly><noinclude>Outputs a ship's name, optionally prefixed with its type and national designator. First parameter is the unadorned name of a ship. Optional named parameter f can have tokens t and/or p to prepend the ship's type (e.g., "armoured cruiser") and designator (e.g., "H.M.S.") which are passed as parameters t and p.</noinclude> | }}''{{{n}}}''</includeonly><noinclude>Outputs a ship's name, optionally prefixed with its type and national designator. First parameter is the unadorned name of a ship. Optional named parameter f can have tokens t and/or p to prepend the ship's type (e.g., "armoured cruiser") and designator (e.g., "H.M.S.") which are passed as parameters t and p.</noinclude> |
Revision as of 14:52, 29 July 2012
Outputs a ship's name, optionally prefixed with its type and national designator. First parameter is the unadorned name of a ship. Optional named parameter f can have tokens t and/or p to prepend the ship's type (e.g., "armoured cruiser") and designator (e.g., "H.M.S.") which are passed as parameters t and p.