Difference between revisions of "Template:Ship"
Jump to navigation
Jump to search
blackwiki>DePiep (Add tracking categories; ch formatting into HMS ''123'' (italics). See talk. sandbox tested.) |
blackwiki>DePiep (add preview-warning message) |
||
| Line 4: | Line 4: | ||
build the wikilink: | build the wikilink: | ||
-->[[<!-- | -->[[<!-- | ||
| − | + | target page: -->{{#if:{{{1|}}}|{{{1}}} }}{{{2|}}}{{#if:{{{3|}}}| ({{{3|}}})}}|<!-- | |
wikilabel: -->{{#switch:{{{4|}}} | wikilabel: -->{{#switch:{{{4|}}} | ||
| Line 17: | Line 17: | ||
-->]]<!-- | -->]]<!-- | ||
| − | tracking | + | tracking categories: |
-->{{main other|1={{Ship/maintenancecategory|message=<!-- | -->{{main other|1={{Ship/maintenancecategory|message=<!-- | ||
| − | -->{{#if:{{{2|}}}||N}}<!-- | + | -->{{#if:{{{2|}}}||{{#switch:{{{4|0}}}|1|5=|#default=N}}}}<!-- |
-->{{#switch:{{{4|}}} | -->{{#switch:{{{4|}}} | ||
|= | |= | ||
| Line 25: | Line 25: | ||
|2 = | |2 = | ||
|3 = {{#if:{{{3|}}}||C}} | |3 = {{#if:{{{3|}}}||C}} | ||
| − | |4 = D | + | |4 = D<!-- this message should be removed after March 2018: only needed after function change checks --> |
|5 = {{#if:{{{3|}}}||E}} | |5 = {{#if:{{{3|}}}||E}} | ||
|6 = | |6 = | ||
| − | |#default= | + | |#default=0}}<!-- |
-->{{#switch:{{lc:{{{up|}}}}}||yes|y|1|true=|no|0|false=|#default=W}}<!-- | -->{{#switch:{{lc:{{{up|}}}}}||yes|y|1|true=|no|0|false=|#default=W}}<!-- | ||
-->}}}}<!-- eo main_other, eo subtemplate | -->}}}}<!-- eo main_other, eo subtemplate | ||