This is the template test cases page for the sandbox of Template:MV. 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: |
|4=
format optionsRow id | Template usage | Live version | Sandbox version |
---|---|---|---|
A. (no settings) | ((MV|Abegweit|1947)) | MV Abegweit (1947) | MV Abegweit (1947) |
B. format = (blank), (absent) | ((MV|Abegweit|1947)) | MV Abegweit (1947) | MV Abegweit (1947) |
C. format=1 | ((MV|Abegweit|1947|1)) | 1947 | 1947 |
D. format=2 | ((MV|Abegweit|1947|2)) | Abegweit | Abegweit |
E. format=3 | ((MV|Abegweit|1947|3)) | Abegweit (1947) | Abegweit (1947) |
F. format=4 | ((MV|Abegweit|1947|4)) | MV Abegweit (1947) | Invalid Optional Parameter |
G. format=5 | ((MV|Abegweit|1947|5)) | MV 1947 | MV (1947) |
H. format=6 | ((MV|Abegweit|1947|6)) | MV Abegweit | MV Abegweit |
J. format=8 | ((MV|Abegweit|1947|8)) | MV Abegweit (1947) | M/V Abegweit (1947) |
K. format=13 | ((MV|Abegweit|1947|13)) | MV Abegweit (1947) | M/V (1947) |
L. format=14 | ((MV|Abegweit|1947|14)) | MV Abegweit (1947) | M/V Abegweit |
|up=
(up="unlink prefix")Row id | Template usage | Live version | Sandbox version |
---|---|---|---|
A. (no settings) | ((MV|Abegweit|1947|up=)) | MV Abegweit (1947) | MV Abegweit (1947) |
B. format = (blank), (absent) | ((MV|Abegweit|1947|up=)) | MV Abegweit (1947) | MV Abegweit (1947) |
C. format=1 | ((MV|Abegweit|1947|1|up=)) | 1947 | 1947 |
D. format=2 | ((MV|Abegweit|1947|2|up=)) | Abegweit | Abegweit |
E. format=3 | ((MV|Abegweit|1947|3|up=)) | Abegweit (1947) | Abegweit (1947) |
F. format=4 | ((MV|Abegweit|1947|4|up=)) | MV Abegweit (1947) | Invalid Optional Parameter |
G. format=5 | ((MV|Abegweit|1947|5|up=)) | MV 1947 | MV (1947) |
H. format=6 | ((MV|Abegweit|1947|6|up=)) | MV Abegweit | MV Abegweit |
|up=
omitted
Row id | Template usage | Live version | Sandbox version |
---|---|---|---|
A. (no settings) | ((MV|Abegweit|1947)) | MV Abegweit (1947) | MV Abegweit (1947) |
B. format = (blank), (absent) | ((MV|Abegweit|1947)) | MV Abegweit (1947) | MV Abegweit (1947) |
C. format=1 | ((MV|Abegweit|1947|1)) | 1947 | 1947 |
D. format=2 | ((MV|Abegweit|1947|2)) | Abegweit | Abegweit |
E. format=3 | ((MV|Abegweit|1947|3)) | Abegweit (1947) | Abegweit (1947) |
F. format=4 | ((MV|Abegweit|1947|4)) | MV Abegweit (1947) | Invalid Optional Parameter |
G. format=5 | ((MV|Abegweit|1947|5)) | MV 1947 | MV (1947) |
H. format=6 | ((MV|Abegweit|1947|6)) | MV Abegweit | MV Abegweit |
Row id | Template usage | Live version | Sandbox version |
---|---|---|---|
A. (no settings) | ((MV|Abegweit|1947)) | MV Abegweit (1947) | MV Abegweit (1947) |
B. format = (blank), (absent) | ((MV|Abegweit|1947|up=yes)) | MV Abegweit (1947) | MV Abegweit (1947) |
C. format=1 | ((MV|Abegweit|1947|1|up=yes)) | MV 1947 | 1947 |
D. format=2 | ((MV|Abegweit|1947|2|up=yes)) | MV Abegweit | Abegweit |
E. format=3 | ((MV|Abegweit|1947|3|up=yes)) | MV Abegweit (1947) | Abegweit (1947) |
F. format=4 | ((MV|Abegweit|1947|4|up=yes)) | MV Abegweit (1947) | Invalid Optional Parameter |
G. format=5 | ((MV|Abegweit|1947|5|up=yes)) | MV MV 1947 | MV (1947) |
H. format=6 | ((MV|Abegweit|1947|6|up=yes)) | MV Abegweit | MV Abegweit |
|up=Y
, |up=True
, |up=1
: |up=yes
Row id | Template usage | Live version | Sandbox version |
---|---|---|---|
A. | ((MV|Abegweit|1947|1|up=Y)) | MV 1947 | 1947 |
B. | ((MV|Abegweit|1947|1|up=True)) | MV 1947 | 1947 |
C. format=1 | ((MV|Abegweit|1947|1|up=1)) | MV 1947 | 1947 |
|up=
is reads "yes"|up=yes, y, true, 1
= yes (lc or uc)Row id | Template usage | Live version | Sandbox version |
---|---|---|---|
A. (no settings) | ((MV|Abegweit|1947)) | MV Abegweit (1947) | MV Abegweit (1947) |
B. format = (blank), (absent) | ((MV|Abegweit|1947|up=no)) | MV Abegweit (1947) | MV Abegweit (1947) |
C. format=1 | ((MV|Abegweit|1947|1|up=no)) | 1947 | 1947 |
D. format=2 | ((MV|Abegweit|1947|2|up=no)) | Abegweit | Abegweit |
E. format=3 | ((MV|Abegweit|1947|3|up=no)) | Abegweit (1947) | Abegweit (1947) |
F. format=4 | ((MV|Abegweit|1947|4|up=no)) | MV Abegweit (1947) | Invalid Optional Parameter |
G. format=5 | ((MV|Abegweit|1947|5|up=no)) | MV 1947 | MV (1947) |
H. format=6 | ((MV|Abegweit|1947|6|up=no)) | MV Abegweit | MV Abegweit |
|up=yes, y, true, 1
= yes|up=no, 0, false
= no|up=gobbledeegob
all the rest: categorise and up for editingRow id | Template usage | Live version | Sandbox version |
---|---|---|---|
A. (no settings) | ((MV|Abegweit|1947)) | MV Abegweit (1947) | MV Abegweit (1947) |
B. format = (blank), (absent) | ((MV|Abegweit|1947|up=foo)) | MV Abegweit (1947) | MV Abegweit (1947) |
C. format=1 | ((MV|Abegweit|1947|1|up=foo)) | 1947 | 1947 |
D. format=2 | ((MV|Abegweit|1947|2|up=foo)) | Abegweit | Abegweit |
E. format=3 | ((MV|Abegweit|1947|3|up=foo)) | Abegweit (1947) | Abegweit (1947) |
F. format=4 | ((MV|Abegweit|1947|4|up=foo)) | MV Abegweit (1947) | Invalid Optional Parameter |
G. format=5 | ((MV|Abegweit|1947|5|up=foo)) | MV 1947 | MV (1947) |
H. format=6 | ((MV|Abegweit|1947|6|up=foo)) | MV Abegweit | MV Abegweit |
|2=
, and in situations missing |3=
could be bad. Weird redlinks are not detected by current or proposed version of ((Ship)).Row id | Template usage | Live version | Sandbox version |
---|---|---|---|
A. (no settings) | ((ship||Abegweit|1947)) | Abegweit (1947) | Abegweit (1947) |
B. format = (blank), (absent) | ((ship||Abegweit|1947)) | Abegweit (1947) | Abegweit (1947) |
C. format=1 | ((ship||Abegweit|1947|1)) | 1947 | 1947 |
D. format=2 | ((ship||Abegweit|1947|2)) | Abegweit | Abegweit |
E. format=3 | ((ship||Abegweit|1947|3)) | Abegweit (1947) | Abegweit (1947) |
F. format=4 | ((ship||Abegweit|1947|4)) | Abegweit (1947) | Abegweit (1947) |
G. format=5 | ((ship||Abegweit|1947|5)) | 1947 | 1947 |
H. format=6 | ((ship||Abegweit|1947|6)) | Abegweit | Abegweit |
Row id | Template usage | Live version | Sandbox version |
---|---|---|---|
A. (no settings) | ((MV||1947)) | MV (1947) | MV (1947) |
B. format = (blank), (absent) | ((MV||1947)) | MV (1947) | MV (1947) |
C. format=1 | ((MV||1947|1)) | 1947 | 1947 |
D. format=2 | ((MV||1947|2)) | [[MV (1947)|]] | [[MV (1947)|]] |
E. format=3 | ((MV||1947|3)) | (1947) | (1947) |
F. format=4 | ((MV||1947|4)) | MV (1947) | Invalid Optional Parameter |
G. format=5 | ((MV||1947|5)) | MV 1947 | MV (1947) |
H. format=6 | ((MV||1947|6)) | MV | MV |
Row id | Template usage | Live version | Sandbox version |
---|---|---|---|
A. (no settings) | ((MV|Abegweit)) | MV Abegweit | MV Abegweit |
B. format = (blank), (absent); 3= present but empty | ((MV|Abegweit|)) | MV Abegweit | MV Abegweit |
C. format=1 | ((MV|Abegweit||1)) | [[MV Abegweit|]] | Hull Number Missing |
D. format=2 | ((MV|Abegweit||2)) | Abegweit | Abegweit |
E. format=3 | ((MV|Abegweit||3)) | Abegweit | Abegweit Hull Number Missing |
F. format=4 | ((MV|Abegweit||4)) | MV Abegweit | Invalid Optional Parameter |
G. format=5 | ((MV|Abegweit||5)) | MV | MV Hull Number Missing |
H. format=6 | ((MV|Abegweit||6)) | MV Abegweit | MV Abegweit |
Row id | Template usage | Live version | Sandbox version |
---|---|---|---|
A. (no settings) | ((ship|||1947)) | (1947) | (1947) |
B. (4=present but empty) | ((ship|||1947|)) | (1947) | (1947) |
C. format=1 | ((ship|||1947|1)) | 1947 | 1947 |
D. format=2 | ((ship|||1947|2)) | [[ (1947)|]] | [[ (1947)|]] |
E. format=3 | ((ship|||1947|3)) | (1947) | (1947) |
F. format=4 | ((ship|||1947|4)) | (1947) | (1947) |
G. format=5 | ((ship|||1947|5)) | 1947 | 1947 |
H. format=6 | ((ship|||1947|6)) | [[ (1947)|]] | [[ (1947)|]] |
Row id | Template usage | Live version | Sandbox version |
---|---|---|---|
A. (no settings) 3= omitted | ((ship||Abegweit)) | Abegweit | Abegweit |
B. format = (blank), (absent) 3= present but empty | ((ship||Abegweit|)) | Abegweit | Abegweit |
C. format=1 | ((ship||Abegweit||1)) | [[Abegweit|]] | [[Abegweit|]] |
D. format=2 | ((ship||Abegweit||2)) | Abegweit | Abegweit |
E. format=3 | ((ship||Abegweit||3)) | Abegweit | Abegweit |
F. format=4 | ((ship||Abegweit||4)) | Abegweit | Abegweit |
G. format=5 | ((ship||Abegweit||5)) | ||
H. format=6 | ((ship||Abegweit||6)) | Abegweit | Abegweit |
Row id | Template usage | Live version | Sandbox version |
---|---|---|---|
A. (no settings) 3= omitted | ((MV|)) | MV | MV |
B. format = (blank), (absent) 3= present but empty | ((MV||)) | MV | MV |
C. format=1 | ((MV|||1)) | [[MV |]] | Hull Number Missing |
D. format=2 | ((MV|||2)) | [[MV |]] | [[MV |]] |
E. format=3 | ((MV|||3)) | [[MV |]] | Hull Number Missing |
F. format=4 | ((MV|||4)) | MV | Invalid Optional Parameter |
G. format=5 | ((MV|||5)) | MV | MV Hull Number Missing |
H. format=6 | ((MV|||6|)) | MV | MV |
Row id | Template usage | Live version | Sandbox version |
---|---|---|---|
A. (no settings) 3= omittd | ((ship||)) | [[|]] | [[|]] |
B. format = (blank), (absent) 3= present but empty | ((ship|||)) | [[|]] | [[|]] |
C. format=1 | ((ship||||1)) | [[|]] | [[|]] |
D. format=2 | ((ship||||2)) | [[|]] | [[|]] |
E. format=3 | ((ship||||3)) | [[|]] | [[|]] |
F. format=4 | ((ship||||4)) | [[|]] | [[|]] |
G. format=5 | ((ship||||5)) | [[|]] | [[|]] |
H. format=6 | ((ship||||6)) | [[|]] | [[|]] |
|4=
should be 1, 2, 3, 4, 5, 6, (blank)
.Row id | Template usage | Live version | Sandbox version |
---|---|---|---|
A. (no settings) | ((MV|Abegweit|1947)) | MV Abegweit (1947) | MV Abegweit (1947) |
B. format = (blank), (absent) | ((MV|Abegweit|1947)) | MV Abegweit (1947) | MV Abegweit (1947) |
C. format=1q | ((MV|Abegweit|1947|1q)) | MV Abegweit (1947) | MV Abegweit (1947) |
D. format=2q | ((MV|Abegweit|1947|2q)) | MV Abegweit (1947) | MV Abegweit (1947) |
E. format=foo | ((MV|Abegweit|1947|foo)) | MV Abegweit (1947) | MV Abegweit (1947) |
F. format=b4 | ((MV|Abegweit|1947|b4)) | MV Abegweit (1947) | MV Abegweit (1947) |
G. format=f5 | ((MV|Abegweit|1947|f5)) | MV Abegweit (1947) | MV Abegweit (1947) |
H. format=j6 | ((MV|Abegweit|1947|j6)) | MV Abegweit (1947) | MV Abegweit (1947) |
X. format=7 | ((MV|Abegweit|1947|7)) | MV Abegweit (1947) | MV Abegweit (1947) |
Row id | Template usage | Live version | Sandbox version |
---|---|---|---|
A. (no settings) | ((MV|Abegweit|)) | MV Abegweit | MV Abegweit |
B. format = (blank), (absent) | ((MV|Abegweit|)) | MV Abegweit | MV Abegweit |
C. format=1q | ((MV|Abegweit||1q)) | MV Abegweit | MV Abegweit |
D. format=2q | ((MV|Abegweit||2q)) | MV Abegweit | MV Abegweit |
E. format=foo | ((MV|Abegweit||foo)) | MV Abegweit | MV Abegweit |
F. format=b4 | ((MV|Abegweit||b4)) | MV Abegweit | MV Abegweit |
G. format=f5 | ((MV|Abegweit||f5)) | MV Abegweit | MV Abegweit |
H. format=j6 | ((MV|Abegweit||j6)) | MV Abegweit | MV Abegweit |
X. format=7 | ((MV|Abegweit||7)) | MV Abegweit | MV Abegweit |
|page=
(new, Feb 2018) is the target article pagename (will be linked to whatever the other input). Does not show, because the wikilabel shows.|page=HMS Belfast (C35)
Row id | Template usage | Live version | Sandbox version |
---|---|---|---|
A. (no settings) | ((MV|Abegweit|1947)) | MV Abegweit (1947) | MV Abegweit (1947) |
B. format = (blank), (absent) | ((MV|Abegweit|1947|page=HMS Belfast (C35))) | MV Abegweit (1947) | MV Abegweit (1947) |
C. format=1 | ((MV|Abegweit|1947|1|page=HMS Belfast (C35))) | 1947 | 1947 |
D. format=2 | ((MV|Abegweit|1947|2|page=HMS Belfast (C35))) | Abegweit | Abegweit |
E. format=3 | ((MV|Abegweit|1947|3|page=HMS Belfast (C35))) | Abegweit (1947) | Abegweit (1947) |
F. format=4 | ((MV|Abegweit|1947|4|page=HMS Belfast (C35))) | MV Abegweit (1947) | Invalid Optional Parameter |
G. format=5 | ((MV|Abegweit|1947|5|page=HMS Belfast (C35))) | MV 1947 | MV (1947) |
H. format=6 | ((MV|Abegweit|1947|6|page=HMS Belfast (C35))) | MV Abegweit | MV Abegweit |
|5=
, |bar=
are not definedRow id | Template usage | Live version | Sandbox version |
---|---|---|---|
B. format = (blank), (absent) 5=blank | ((MV|Abegweit|1947||)) | MV Abegweit (1947) | MV Abegweit (1947) |
A. | ((MV|Abegweit|1947||five)) | MV Abegweit (1947) | MV Abegweit (1947) |
B. format = (blank), (absent) | ((MV|Abegweit|1947|up=yes|||six)) | MV Abegweit (1947) | MV Abegweit (1947) |
C. format=1 | ((MV|Abegweit|1947|up=yes|4||six)) | MV Abegweit (1947) | Invalid Optional Parameter |
D. format=2 | ((MV|Abegweit|1947|up=yes|4|bar=99)) | MV Abegweit (1947) | Invalid Optional Parameter |
((HMCS/sandbox)) uses ((Ship/sandbox))
Row id | Template usage | Live version | Sandbox version |
---|---|---|---|
A. (no settings) | ((HMCS|Abegweit|1947)) | HMCS Abegweit (1947) | HMCS Abegweit (1947) |
B. format = (blank), (absent) | ((HMCS|Abegweit|1947)) | HMCS Abegweit (1947) | HMCS Abegweit (1947) |
C. format=1 | ((HMCS|Abegweit|1947|1)) | 1947 | 1947 |
D. format=2 | ((HMCS|Abegweit|1947|2)) | Abegweit | Abegweit |
E. format=3 | ((HMCS|Abegweit|1947|3)) | Abegweit (1947) | Abegweit (1947) |
F. format=4 | ((HMCS|Abegweit|1947|4)) | HMCS Abegweit (1947) | HMCS Abegweit (1947) |
G. format=5 | ((HMCS|Abegweit|1947|5)) | HMCS 1947 | HMCS 1947 |
H. format=6 | ((HMCS|Abegweit|1947|6)) | HMCS Abegweit | HMCS Abegweit |
Row id | Template usage | Live version | Sandbox version |
---|---|---|---|
A. (no settings) | ((HMCS|Abegweit|1947)) | HMCS Abegweit (1947) | HMCS Abegweit (1947) |
B. format = (blank), (absent) | ((HMCS||1947)) | HMCS (1947) | HMCS (1947) |
C. format=1 | ((HMCS|Abegweit||1)) | [[HMCS Abegweit|]] | [[HMCS Abegweit|]] |
D. format=2 | ((HMCS|Abegweit||2)) | Abegweit | Abegweit |
E. format=3 | ((HMCS|Abegweit||3)) | Abegweit | Abegweit |
F. format=4 | ((HMCS|Abegweit||4)) | HMCS Abegweit | HMCS Abegweit |
G. format=5 | ((HMCS|Abegweit||5)) | HMCS | HMCS |
H. format=6 | ((HMCS|Abegweit||6)) | HMCS Abegweit | HMCS Abegweit |