Purge this page.

Test of {{ship}} as meta-template

edit

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

edit
Value 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

edit
Value 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