Difference between revisions of "Template:ShipPageName"

From The Dreadnought Project
Jump to: navigation, search
(Created page with "<includeonly>{{#if:{{{1|}}}|{{{1}}} |}}{{{2}}} ({{{3}}})</includeonly><noinclude>Outputs a ship's page name, building it from provided components of prefix, name, and year, suppl...")
 
Line 1: Line 1:
<includeonly>{{#if:{{{1|}}}|{{{1}}} |}}{{{2}}} ({{{3}}})</includeonly><noinclude>Outputs a ship's page name, building it from provided components of prefix, name, and year, supplied in parameters in that order.</noinclude>
+
<includeonly>{{#if:{{{p|}}}|{{{p}}} |}}{{{n}}} ({{{y}}})</includeonly><noinclude>Outputs a ship's page name, building it from provided parameters of prefix, name, and year, supplied in parameters p, n and y. If p is not provided, there will be no prefix (e.g., as for French and Japanese ships)</noinclude>

Revision as of 10:32, 29 July 2012

Outputs a ship's page name, building it from provided parameters of prefix, name, and year, supplied in parameters p, n and y. If p is not provided, there will be no prefix (e.g., as for French and Japanese ships)