Difference between revisions of "Template:M/S/doc"

From blackwiki
< Template:M‎ | S
Jump to navigation Jump to search
imported>DePiep
imported>DePiep
Line 12: Line 12:
 
}}
 
}}
 
== Usage ==
 
== Usage ==
* When the article title has "MS", but the text has to show "M/V".
+
* When the article title has "MS", but the labeltext has to show "M/V".
:Target: [[MS Olau Hollandia (1981)]]
+
:Target: <nowiki>[[</nowiki>{{nnbsp}}[[MS Olau Hollandia (1981)]]{{nnbsp}}]]
 
:<code><nowiki>{{</nowiki>M/S|Olau Hollandia|1981}}</code> &rarr; {{M/S|Olau Hollandia|1981}}
 
:<code><nowiki>{{</nowiki>M/S|Olau Hollandia|1981}}</code> &rarr; {{M/S|Olau Hollandia|1981}}
  
 
* When the target pagename has a "/" slash, use {{tl|Ship}}:
 
* When the target pagename has a "/" slash, use {{tl|Ship}}:
:Target: [[S/Y Manitou]]
+
:Target: <nowiki>[[</nowiki>{{nnbsp}}[[S/Y Manitou]]{{nnbsp}}]]
 
:<code><nowiki>{{</nowiki>ship|S/Y|Manitou}}</code> &rarr; {{ship|S/Y|Manitou}}
 
:<code><nowiki>{{</nowiki>ship|S/Y|Manitou}}</code> &rarr; {{ship|S/Y|Manitou}}
  

Revision as of 15:33, 16 March 2018

Usage

  • When the article title has "MS", but the labeltext has to show "M/V".
Target: [[Template:NnbspMS Olau Hollandia (1981)Template:Nnbsp]]
{{M/S|Olau Hollandia|1981}}Template:Ship/special
  • When the target pagename has a "/" slash, use {{Ship}}:
Target: [[Template:NnbspS/Y ManitouTemplate:Nnbsp]]
{{ship|S/Y|Manitou}}S/Y Manitou

See also