Template:MS and Template:Ship call sign/doc: Difference between pages
(Difference between pages)
m
→TemplateData: clean up per WP:CAT#T and WP:AWBREQ add template:Sandbox other
>DePiep m (Use template {{Ship}} (no separate code); see also new {{M/S}} for the slash-showing option M/S (via WP:JWB)) |
>Vanisaac m (→TemplateData: clean up per WP:CAT#T and WP:AWBREQ add template:Sandbox other) |
||
Line 1: | Line 1: | ||
{{Documentation subpage}} | |||
This template is used to generate a box that shows the [[Call sign#Ships and boats|International radio call sign]] of a ship. | |||
-->< | == Usage == | ||
For example, {{tlx|Ship call sign|A|B|C|D|ship name {{=}} USS ''Ship Name'' (AT-123)}} will give you: | |||
{{Ship call sign|A|B|C|D|ship name = USS ''Ship Name'' (AT-123)}} | |||
{{clear}} | |||
===TemplateData=== | |||
{{TemplateDataHeader}} | |||
<templatedata> | |||
{ | |||
"description": "Ship characteristics, to be used with {{Infobox ship begin}}", | |||
"params": { | |||
"1": { | |||
"label": "1", | |||
"description": "The first letter", | |||
"default": "ERROR", | |||
"example": "A", | |||
"type": "string", | |||
"required": true | |||
}, | |||
"2": { | |||
"label": "2", | |||
"description": "The second letter", | |||
"default": "ERROR", | |||
"example": "B", | |||
"type": "string", | |||
"required": true | |||
}, | |||
"3": { | |||
"label": "3", | |||
"description": "The third letter", | |||
"default": "ERROR", | |||
"example": "C", | |||
"type": "string", | |||
"required": true | |||
}, | |||
"4": { | |||
"label": "4", | |||
"description": "The fourth letter", | |||
"default": "ERROR", | |||
"example": "D", | |||
"type": "string", | |||
"required": true | |||
}, | |||
"ship name": { | |||
"label": "Ship name", | |||
"description": "The name of the ship in question.", | |||
"default": "PAGENAME", | |||
"type": "string", | |||
"required": false | |||
}, | |||
"reference": { | |||
"label": "Reference", | |||
"description": "A citation for the information", | |||
"type": "string", | |||
"required": false | |||
} | |||
} | |||
} | |||
</templatedata> | |||
<includeonly>{{Sandbox other|| | |||
<!-- Categories below this line, please; interwikis at Wikidata --> | |||
[[Category:Ship templates]] | |||
}}</includeonly> |