Difference between revisions of "Template:ShipLink"

From The Dreadnought Project
Jump to: navigation, search
Line 1: Line 1:
<includeonly>[[{{ShipPageName|p={{{p|}}}|n={{{n}}}|y={{{y}}}}}|{{ShipName|n={{{n}}}|f={{{f}}}|t={{{t}}}|p={{{p}}}}}]]</includeonly><noinclude>Outputs a customized link to a ship page whose data are specified by parameters prefix=p, name=n, type=t, year=y.  The value of parameter f specifies whether the type and/or prefix should be used in the link, by the presence of characters t and p, respectively).</noinclude>
+
<includeonly>{{ShipType|t={{{t|}}}|f={{{f|}}}}}[[{{ShipPageName|p={{{p|}}}|n={{{n}}}|y={{{y}}}}}|{{ShipName|n={{{n}}}|f={{{f}}}|p={{{p}}}}}]]</includeonly><noinclude>Outputs a customized link to a ship page whose data are specified by parameters prefix='''p''', name='''n''', type='''t''', year='''y'''.  The value of parameter '''f''' specifies whether the type and/or prefix should be used in the link, by the presence of characters "t" and "p", respectively).</noinclude>

Revision as of 12:56, 31 July 2012

Outputs a customized link to a ship page whose data are specified by parameters prefix=p, name=n, type=t, year=y. The value of parameter f specifies whether the type and/or prefix should be used in the link, by the presence of characters "t" and "p", respectively).