Difference between revisions of "Template:Class"

Template page
Tag: Reverted
m
 
(4 intermediate revisions by the same user not shown)
Line 1: Line 1:
{{#switch: {{{x|}}}
[[{{{1}}} Class|''{{{1}}}''-class]]<noinclude>
| [[{{x}} Class|''{{x}}''-class]]
}}<noinclude>
===Class===
===Class===
An experiment to see if I can make putting in ship class links easier.
This is used to make proper formatting and linking to the class specification pages easier. No need to make a mediawiki link and then provide the correct formatting so it looks good. Just use this and it's all good.
<pre>
<pre>
{{class|x}}
{{class|x}}
</pre>
</pre>
==Example==
<pre>{{class|Excelsior}}</pre>
{{class|Excelsior}}
[[Category:Infobox Templates]]
[[Category:Infobox Templates]]
</noinclude>
</noinclude>

Latest revision as of 02:23, 15 November 2024

[[{{{1}}} Class|{{{1}}}-class]]

Class

This is used to make proper formatting and linking to the class specification pages easier. No need to make a mediawiki link and then provide the correct formatting so it looks good. Just use this and it's all good.

{{class|x}}

Example

{{class|Excelsior}}

Excelsior-class