This is the template test cases page for the sandbox of Template:SMS. to update the examples. If there are many examples of a complicated template, later ones may break due to limits in MediaWiki; see the HTML comment "NewPP limit report" in the rendered page. You can also use Special:ExpandTemplates to examine the results of template uses. You can test how this page looks in the different skins and parsers with these links: |
Purge this page.
This is modified from the chart of examples from the {{SMS}} documentation page, and is used for testing the proposed change of the current template to use {{ship}} as a meta-template
Current template
editValue | Parameter(s) displayed |
Example | Equivalent wikicode | Final result |
---|---|---|---|---|
None | all | {{SMS|Novara|1912}}
|
[[SMS Novara (1912) |SMS ''Novara'' (1912)]]
|
SMS Novara (1912) |
1 | 3rd | {{SMS|Novara|1912|1}}
|
[[SMS Novara (1912) |1912]]
|
1912 |
2 | 2nd | {{SMS|Novara|1912|2}}
|
[[SMS Novara (1912) |''Novara'']]
|
Novara |
3 | 2nd, 3rd | {{SMS|Novara|1912|3}}
|
[[SMS Novara (1912) |''Novara'' (1912)]]
|
Novara (1912) |
4 | invalid result | {{SMS|Novara|1912|4}}
|
— | Error: {{SMS}} invalid control parameter: 4 (help) |
5 | 1st, 3rd | {{SMS|Novara|1912|5}}
|
[[SMS Novara (1912) |SMS (1912)]]
|
SMS 1912 |
6 | 1st, 2nd | {{SMS|Novara|1912|6}}
|
[[SMS Novara (1912) |SMS ''Novara'']]
|
SMS Novara |
2nd (no 3rd) |
{{SMS|Sankt Georg|3=2}} Alternate usage: {{SMS|Sankt Georg||2}}
|
[[SMS Sankt Georg |''Sankt Georg'']]
|
Sankt Georg Alternate usage: Sankt Georg | |
No 3rd param supplied | {{SMS|Novara}}}
|
[[SMS Novara|SMS ''Novara'']]
|
SMS Novara |
Template usage | Equivalent wikicode | Final result |
---|---|---|
{{SMS|U-90|sub=y}}
|
[[SM U-90|SM ''U-90'']]
|
SM U-90 |
{{SMS|U-4|Austria-Hungary|sub=y}}
|
[[SM U-4 (Austria-Hungary)|SM ''U-4'' (Austria-Hungary)]]
|
SM U-4 (Austria-Hungary) |
{{SMS|U-4|Austria-Hungary|6|sub=y}}
|
[[SM U-4 (Austria-Hungary)|SM ''U-4'']]
|
SM U-4 |
Sandbox template
editValue | Parameter(s) displayed |
Example | Equivalent wikicode | Final result |
---|---|---|---|---|
None | all | {{SMS/sandbox|Novara|1912}}
|
[[SMS Novara (1912) |SMS ''Novara'' (1912)]]
|
SMS Novara (1912) |
1 | 3rd | {{SMS/sandbox|Novara|1912|1}}
|
[[SMS Novara (1912) |1912]]
|
1912 |
2 | 2nd | {{SMS/sandbox|Novara|1912|2}}
|
[[SMS Novara (1912) |''Novara'']]
|
Novara |
3 | 2nd, 3rd | {{SMS/sandbox|Novara|1912|3}}
|
[[SMS Novara (1912) |''Novara'' (1912)]]
|
Novara (1912) |
4 | invalid result | {{SMS/sandbox|Novara|1912|4}}
|
— | Error: {{SMS}} invalid control parameter: 4 (help) |
5 | 1st, 3rd | {{SMS/sandbox|Novara|1912|5}}
|
[[SMS Novara (1912) |SMS (1912)]]
|
SMS 1912 |
6 | 1st, 2nd | {{SMS/sandbox|Novara|1912|6}}
|
[[SMS Novara (1912) |SMS ''Novara'']]
|
SMS Novara |
2nd (no 3rd) |
{{SMS/sandbox|Sankt Georg|3=2}} Alternate usage: {{SMS/sandbox|Sankt Georg||2}}
|
[[SMS Sankt Georg |''Sankt Georg'']]
|
Sankt Georg Alternate usage: Sankt Georg | |
No 3rd param supplied | {{SMS/sandbox |Novara}}}
|
[[SMS Novara|SMS ''Novara'']]
|
SMS Novara |
Template usage | Equivalent wikicode | Final result |
---|---|---|
{{SMS/sandbox|U-90|sub=y}}
|
[[SM U-90|SM ''U-90'']]
|
SM U-90 |
{{SMS/sandbox|U-4|Austria-Hungary|sub=y}}
|
[[SM U-4 (Austria-Hungary)|SM ''U-4'' (Austria-Hungary)]]
|
SM U-4 (Austria-Hungary) |
{{SMS/sandbox|U-4|Austria-Hungary|6|sub=y}}
|
[[SM U-4 (Austria-Hungary)|SM ''U-4'']]
|
SM U-4 |