Difference between revisions of "Template:ShipName"

From The Dreadnought Project
Jump to: navigation, search
 
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>
+
<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 12: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.