This is the template test cases page for the sandbox of Template:USS. 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 {{USS}} 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 | {{USS|Enterprise|CVN-65}}
|
[[USS Enterprise (CVN-65) |USS ''Enterprise'' (CVN-65)]]
|
USS Enterprise (CVN-65) |
1 | 3rd | {{USS|Enterprise|CVN-65|1}}
|
[[USS Enterprise (CVN-65) |CVN-65]]
|
CVN-65 |
2 | 2nd | {{USS|Enterprise|CVN-65|2}}
|
[[USS Enterprise (CVN-65) |''Enterprise'']]
|
Enterprise |
3 | 2nd, 3rd | {{USS|Enterprise|CVN-65|3}}
|
[[USS Enterprise (CVN-65) |''Enterprise'' (CVN-65)]]
|
Enterprise (CVN-65) |
4 | invalid result | {{USS|Enterprise|CVN-65|4}}
|
[[USS Enterprise (CVN-65) |Invalid Optional Parameter]]
|
Error: {{USS}} invalid control parameter: 4 (help) |
5 | 1st, 3rd | {{USS|Enterprise|CVN-65|5}}
|
[[USS Enterprise (CVN-65) |USS (CVN-65)]]
|
USS CVN-65 |
6 | 1st, 2nd | {{USS|Enterprise|CVN-65|6}}
|
[[USS Enterprise (CVN-65) |USS ''Enterprise'']]
|
USS Enterprise |
2nd (no 3rd) |
{{USS|Constitution|3=2}} Alternate usage: {{USS|Constitution||2}}
|
[[USS Constitution |''Constitution'']]
|
Constitution Alternate usage: Constitution | |
No 3rd param supplied | {{USS|Enterprise}}}
|
[[USS Enterprise (disambiguation)|USS ''Enterprise'']]
|
USS Enterprise |
Sandbox template
editValue | Parameter(s) displayed |
Example | Equivalent wikicode | Final result |
---|---|---|---|---|
None | all | {{USS/sandbox|Enterprise|CVN-65}}
|
[[USS Enterprise (CVN-65) |USS ''Enterprise'' (CVN-65)]]
|
USS Enterprise (CVN-65) |
1 | 3rd | {{USS/sandbox|Enterprise|CVN-65|1}}
|
[[USS Enterprise (CVN-65) |CVN-65]]
|
CVN-65 |
2 | 2nd | {{USS/sandbox|Enterprise|CVN-65|2}}
|
[[USS Enterprise (CVN-65) |''Enterprise'']]
|
Enterprise |
3 | 2nd, 3rd | {{USS/sandbox|Enterprise|CVN-65|3}}
|
[[USS Enterprise (CVN-65) |''Enterprise'' (CVN-65)]]
|
Enterprise (CVN-65) |
4 | invalid result | {{USS/sandbox|Enterprise|CVN-65|4}}
|
[[USS Enterprise (CVN-65) |Invalid Optional Parameter]]
|
Error: {{USS}} invalid control parameter: 4 (help) |
5 | 1st, 3rd | {{USS/sandbox|Enterprise|CVN-65|5}}
|
[[USS Enterprise (CVN-65) |USS (CVN-65)]]
|
USS CVN-65 |
6 | 1st, 2nd | {{USS/sandbox|Enterprise|CVN-65|6}}
|
[[USS Enterprise (CVN-65) |USS ''Enterprise'']]
|
USS Enterprise |
2nd (no 3rd) |
{{USS/sandbox|Constitution|3=2}} Alternate usage: {{USS/sandbox|Constitution||2}}
|
[[USS Constitution |''Constitution'']]
|
Constitution Alternate usage: Constitution | |
No 3rd param supplied | {{USS/sandbox |Enterprise}}}
|
[[USS Enterprise (disambiguation)|USS ''Enterprise'']]
|
USS Enterprise |