Difference between revisions of "Template:ShipPageName"

From The Dreadnought Project
Jump to: navigation, search
(try to add means to set page title != name, for aliases)
(GOD DAMN WIKI TEMPLATE SHIT)
 
(9 intermediate revisions by the same user not shown)
Line 1: Line 1:
<includeonly>{{#if:{{{p|}}}|{{{p}}} {{#if:{{{t|}}}|{{{t}}}|{{{n}}}}} ({{{y}}})|{{#if:{{{t|}}}|{{{t}}}|{{{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).  If parameter t is set ("title"), it is used instead of the name for that portion.</noinclude>
+
<includeonly>{{#if:{{{p|}}}|{{{p}}} {{{n}}} ({{{y}}})|{{{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>

Latest revision as of 19:35, 30 December 2014

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)