Template:Ship/testcases
Jump to navigation
Jump to search
![]() | This is the template test cases page for the sandbox of Template:Ship. 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: |
Recent proposals and tests are discussed at the talkpage.
- Note that error messages & warnings are shown in Preview only.
- Category:WPSHIPS: Template Ship parameter errors (3). Includes warnings.
- Category:Pages using Ship with unknown parameters (0).
The default
[edit]- The default, and the
|4=
format options
Row id | Template usage | Live version | Sandbox version |
---|---|---|---|
A. (no settings) | {{ship|HMCS|Kootenay|H75}} | HMCS Kootenay (H75) | HMCS Kootenay (H75) |
B. format = (blank), (absent) | {{ship|HMCS|Kootenay|H75}} | HMCS Kootenay (H75) | HMCS Kootenay (H75) |
C. format=1 | {{ship|HMCS|Kootenay|H75|1}} | H75 | H75 |
D. format=2 | {{ship|HMCS|Kootenay|H75|2}} | Kootenay | Kootenay |
E. format=3 | {{ship|HMCS|Kootenay|H75|3}} | Kootenay (H75) | Kootenay (H75) |
F. format=4 | {{ship|HMCS|Kootenay|H75|4}} | Error: {{Ship}} invalid control parameter: 4 (help) | Error: {{Ship}} invalid control parameter: 4 (help) |
G. format=5 | {{ship|HMCS|Kootenay|H75|5}} | HMCS H75 | HMCS H75 |
H. format=6 | {{ship|HMCS|Kootenay|H75|6}} | HMCS Kootenay | HMCS Kootenay |
wl=no
[edit]- The default, and the
|4=
format options
Row id | Template usage | Live version | Sandbox version |
---|---|---|---|
A. (no settings) | {{ship|HMCS|Kootenay|H75|wl=no}} | HMCS Kootenay (H75) | HMCS Kootenay (H75) |
B. format = (blank), (absent) | {{ship|HMCS|Kootenay|H75|wl=no}} | HMCS Kootenay (H75) | HMCS Kootenay (H75) |
C. format=1 | {{ship|HMCS|Kootenay|H75|1|wl=no}} | H75 | H75 |
D. format=2 | {{ship|HMCS|Kootenay|H75|2|wl=no}} | Kootenay | Kootenay |
E. format=3 | {{ship|HMCS|Kootenay|H75|3|wl=no}} | Kootenay (H75) | Kootenay (H75) |
F. format=4 | {{ship|HMCS|Kootenay|H75|4|wl=no}} | Error: {{Ship}} invalid control parameter: 4 (help) | Error: {{Ship}} invalid control parameter: 4 (help) |
G. format=5 | {{ship|HMCS|Kootenay|H75|5|wl=no}} | HMCS H75 | HMCS H75 |
H. format=6 | {{ship|HMCS|Kootenay|H75|6|wl=no}} | HMCS Kootenay | HMCS Kootenay |
wl=foo
[edit]- The default, and the
|4=
format options
Row id | Template usage | Live version | Sandbox version |
---|---|---|---|
A. (no settings) | {{ship|HMCS|Kootenay|H75|wl=foo}} | HMCS Kootenay (H75) | HMCS Kootenay (H75) |
B. format = (blank), (absent) | {{ship|HMCS|Kootenay|H75|wl=foo}} | HMCS Kootenay (H75) | HMCS Kootenay (H75) |
C. format=1 | {{ship|HMCS|Kootenay|H75|1|wl=foo}} | H75 | H75 |
D. format=2 | {{ship|HMCS|Kootenay|H75|2|wl=foo}} | Kootenay | Kootenay |
E. format=3 | {{ship|HMCS|Kootenay|H75|3|wl=foo}} | Kootenay (H75) | Kootenay (H75) |
F. format=4 | {{ship|HMCS|Kootenay|H75|4|wl=foo}} | Error: {{Ship}} invalid control parameter: 4 (help) | Error: {{Ship}} invalid control parameter: 4 (help) |
G. format=5 | {{ship|HMCS|Kootenay|H75|5|wl=foo}} | HMCS H75 | HMCS H75 |
H. format=6 | {{ship|HMCS|Kootenay|H75|6|wl=foo}} | HMCS Kootenay | HMCS Kootenay |
wl= (blank)
[edit]- The default, and the
|4=
format options
Row id | Template usage | Live version | Sandbox version |
---|---|---|---|
A. (no settings) | {{ship|HMCS|Kootenay|H75|wl=}} | HMCS Kootenay (H75) | HMCS Kootenay (H75) |
B. format = (blank), (absent) | {{ship|HMCS|Kootenay|H75|wl=}} | HMCS Kootenay (H75) | HMCS Kootenay (H75) |
C. format=1 | {{ship|HMCS|Kootenay|H75|1|wl=}} | H75 | H75 |
D. format=2 | {{ship|HMCS|Kootenay|H75|2|wl=}} | Kootenay | Kootenay |
E. format=3 | {{ship|HMCS|Kootenay|H75|3|wl=}} | Kootenay (H75) | Kootenay (H75) |
F. format=4 | {{ship|HMCS|Kootenay|H75|4|wl=}} | Error: {{Ship}} invalid control parameter: 4 (help) | Error: {{Ship}} invalid control parameter: 4 (help) |
G. format=5 | {{ship|HMCS|Kootenay|H75|5|wl=}} | HMCS H75 | HMCS H75 |
H. format=6 | {{ship|HMCS|Kootenay|H75|6|wl=}} | HMCS Kootenay | HMCS Kootenay |
Parameter up=yes, no, (blank), (omitted)
[edit]|up=
(up="unlink prefix")- See also Template:Ship/testcases2 for testing
|wl=no
. -DePiep (talk) 13:03, 30 July 2018 (UTC)
up=(omitted) or (blank)
[edit]Row id | Template usage | Live version | Sandbox version |
---|---|---|---|
A. (no settings) | {{ship|HMCS|Kootenay|H75|up=}} | HMCS Kootenay (H75) | HMCS Kootenay (H75) |
B. format = (blank), (absent) | {{ship|HMCS|Kootenay|H75|up=}} | HMCS Kootenay (H75) | HMCS Kootenay (H75) |
C. format=1 | {{ship|HMCS|Kootenay|H75|1|up=}} | H75 | H75 |
D. format=2 | {{ship|HMCS|Kootenay|H75|2|up=}} | Kootenay | Kootenay |
E. format=3 | {{ship|HMCS|Kootenay|H75|3|up=}} | Kootenay (H75) | Kootenay (H75) |
F. format=4 | {{ship|HMCS|Kootenay|H75|4|up=}} | Error: {{Ship}} invalid control parameter: 4 (help) | Error: {{Ship}} invalid control parameter: 4 (help) |
G. format=5 | {{ship|HMCS|Kootenay|H75|5|up=}} | HMCS H75 | HMCS H75 |
H. format=6 | {{ship|HMCS|Kootenay|H75|6|up=}} | HMCS Kootenay | HMCS Kootenay |
|up=
omitted
Row id | Template usage | Live version | Sandbox version |
---|---|---|---|
A. (no settings) | {{ship|HMCS|Kootenay|H75}} | HMCS Kootenay (H75) | HMCS Kootenay (H75) |
B. format = (blank), (absent) | {{ship|HMCS|Kootenay|H75}} | HMCS Kootenay (H75) | HMCS Kootenay (H75) |
C. format=1 | {{ship|HMCS|Kootenay|H75|1}} | H75 | H75 |
D. format=2 | {{ship|HMCS|Kootenay|H75|2}} | Kootenay | Kootenay |
E. format=3 | {{ship|HMCS|Kootenay|H75|3}} | Kootenay (H75) | Kootenay (H75) |
F. format=4 | {{ship|HMCS|Kootenay|H75|4}} | Error: {{Ship}} invalid control parameter: 4 (help) | Error: {{Ship}} invalid control parameter: 4 (help) |
G. format=5 | {{ship|HMCS|Kootenay|H75|5}} | HMCS H75 | HMCS H75 |
H. format=6 | {{ship|HMCS|Kootenay|H75|6}} | HMCS Kootenay | HMCS Kootenay |
up=yes
[edit]Row id | Template usage | Live version | Sandbox version |
---|---|---|---|
A. (no settings) | {{ship|HMCS|Kootenay|H75}} | HMCS Kootenay (H75) | HMCS Kootenay (H75) |
B. format = (blank), (absent) | {{ship|HMCS|Kootenay|H75|up=yes}} | HMCS Kootenay (H75) | HMCS Kootenay (H75) |
C. format=1 | {{ship|HMCS|Kootenay|H75|1|up=yes}} | H75 | H75 |
D. format=2 | {{ship|HMCS|Kootenay|H75|2|up=yes}} | Kootenay | Kootenay |
E. format=3 | {{ship|HMCS|Kootenay|H75|3|up=yes}} | Kootenay (H75) | Kootenay (H75) |
F. format=4 | {{ship|HMCS|Kootenay|H75|4|up=yes}} | Error: {{Ship}} invalid control parameter: 4 (help) | Error: {{Ship}} invalid control parameter: 4 (help) |
G. format=5 | {{ship|HMCS|Kootenay|H75|5|up=yes}} | HMCS H75 | HMCS H75 |
H. format=6 | {{ship|HMCS|Kootenay|H75|6|up=yes}} | HMCS Kootenay | HMCS Kootenay |
- Also when
|up=Y
,|up=True
,|up=1
:|up=yes
Row id | Template usage | Live version | Sandbox version |
---|---|---|---|
A. | {{ship|HMCS|Kootenay|H75|1|up=Y}} | H75 | H75 |
B. | {{ship|HMCS|Kootenay|H75|1|up=True}} | H75 | H75 |
C. format=1 | {{ship|HMCS|Kootenay|H75|1|up=1}} | H75 | H75 |
up=no
[edit]- error v2017: *any* input for
|up=
is reads "yes" - 2018: only
|up=yes, y, true, 1
= yes (lc or uc)
Row id | Template usage | Live version | Sandbox version |
---|---|---|---|
A. (no settings) | {{ship|HMCS|Kootenay|H75}} | HMCS Kootenay (H75) | HMCS Kootenay (H75) |
B. format = (blank), (absent) | {{ship|HMCS|Kootenay|H75|up=no}} | HMCS Kootenay (H75) | HMCS Kootenay (H75) |
C. format=1 | {{ship|HMCS|Kootenay|H75|1|up=no}} | H75 | H75 |
D. format=2 | {{ship|HMCS|Kootenay|H75|2|up=no}} | Kootenay | Kootenay |
E. format=3 | {{ship|HMCS|Kootenay|H75|3|up=no}} | Kootenay (H75) | Kootenay (H75) |
F. format=4 | {{ship|HMCS|Kootenay|H75|4|up=no}} | Error: {{Ship}} invalid control parameter: 4 (help) | Error: {{Ship}} invalid control parameter: 4 (help) |
G. format=5 | {{ship|HMCS|Kootenay|H75|5|up=no}} | HMCS H75 | HMCS H75 |
H. format=6 | {{ship|HMCS|Kootenay|H75|6|up=no}} | HMCS Kootenay | HMCS Kootenay |
up=foo
[edit]- 2017: up not recognised as "yes", so to check (could be "no")
- 2018: only
|up=yes, y, true, 1
= yes - 2018: only
|up=no, 0, false
= no - 2018:
|up=gobbledeegob
all the rest: categorise and up for editing
Row id | Template usage | Live version | Sandbox version |
---|---|---|---|
A. (no settings) | {{ship|HMCS|Kootenay|H75}} | HMCS Kootenay (H75) | HMCS Kootenay (H75) |
B. format = (blank), (absent) | {{ship|HMCS|Kootenay|H75|up=foo}} | HMCS Kootenay (H75) | HMCS Kootenay (H75) |
C. format=1 | {{ship|HMCS|Kootenay|H75|1|up=foo}} | H75 | H75 |
D. format=2 | {{ship|HMCS|Kootenay|H75|2|up=foo}} | Kootenay | Kootenay |
E. format=3 | {{ship|HMCS|Kootenay|H75|3|up=foo}} | Kootenay (H75) | Kootenay (H75) |
F. format=4 | {{ship|HMCS|Kootenay|H75|4|up=foo}} | Error: {{Ship}} invalid control parameter: 4 (help) | Error: {{Ship}} invalid control parameter: 4 (help) |
G. format=5 | {{ship|HMCS|Kootenay|H75|5|up=foo}} | HMCS H75 | HMCS H75 |
H. format=6 | {{ship|HMCS|Kootenay|H75|6|up=foo}} | HMCS Kootenay | HMCS Kootenay |
Missing parameters 1, 2, 3
[edit]- Feb 2018: only missing
|2=
, and in situations missing|3=
could be bad. Weird redlinks are not detected by current or proposed version of {{Ship}}.
missing para 1
[edit]Row id | Template usage | Live version | Sandbox version |
---|---|---|---|
A. (no settings) | {{ship||Kootenay|H75}} | Kootenay (H75) | Kootenay (H75) |
B. format = (blank), (absent) | {{ship||Kootenay|H75}} | Kootenay (H75) | Kootenay (H75) |
C. format=1 | {{ship||Kootenay|H75|1}} | H75 | H75 |
D. format=2 | {{ship||Kootenay|H75|2}} | Kootenay | Kootenay |
E. format=3 | {{ship||Kootenay|H75|3}} | Kootenay (H75) | Kootenay (H75) |
F. format=4 | {{ship||Kootenay|H75|4}} | Error: {{Ship}} invalid control parameter: 4 (help) | Error: {{Ship}} invalid control parameter: 4 (help) |
G. format=5 | {{ship||Kootenay|H75|5}} | Error: {{Ship}} missing prefix (help) | Error: {{Ship}} missing prefix (help) |
H. format=6 | {{ship||Kootenay|H75|6}} | Error: {{Ship}} missing prefix (help) | Error: {{Ship}} missing prefix (help) |
missing para 2
[edit]Row id | Template usage | Live version | Sandbox version |
---|---|---|---|
A. (no settings) | {{ship|HMCS||H75}} | Error: {{Ship}} missing name (help) | Error: {{Ship}} missing name (help) |
B. format = (blank), (absent) | {{ship|HMCS||H75}} | Error: {{Ship}} missing name (help) | Error: {{Ship}} missing name (help) |
C. format=1 | {{ship|HMCS||H75|1}} | Error: {{Ship}} missing name (help) | Error: {{Ship}} missing name (help) |
D. format=2 | {{ship|HMCS||H75|2}} | Error: {{Ship}} missing name (help) | Error: {{Ship}} missing name (help) |
E. format=3 | {{ship|HMCS||H75|3}} | Error: {{Ship}} missing name (help) | Error: {{Ship}} missing name (help) |
F. format=4 | {{ship|HMCS||H75|4}} | Error: {{Ship}} missing name (help) | Error: {{Ship}} missing name (help) |
G. format=5 | {{ship|HMCS||H75|5}} | Error: {{Ship}} missing name (help) | Error: {{Ship}} missing name (help) |
H. format=6 | {{ship|HMCS||H75|6}} | Error: {{Ship}} missing name (help) | Error: {{Ship}} missing name (help) |
missing para 3
[edit]Row id | Template usage | Live version | Sandbox version |
---|---|---|---|
A. (no settings) | {{ship|HMCS|Kootenay}} | HMCS Kootenay | HMCS Kootenay |
B. format = (blank), (absent); 3= present but empty | {{ship|HMCS|Kootenay|}} | HMCS Kootenay | HMCS Kootenay |
C. format=1 | {{ship|HMCS|Kootenay||1}} | Error: {{Ship}} missing disambiguator (help) | Error: {{Ship}} missing disambiguator (help) |
D. format=2 | {{ship|HMCS|Kootenay||2}} | Kootenay | Kootenay |
E. format=3 | {{ship|HMCS|Kootenay||3}} | Error: {{Ship}} missing disambiguator (help) | Error: {{Ship}} missing disambiguator (help) |
F. format=4 | {{ship|HMCS|Kootenay||4}} | Error: {{Ship}} invalid control parameter: 4 (help) | Error: {{Ship}} invalid control parameter: 4 (help) |
G. format=5 | {{ship|HMCS|Kootenay||5}} | Error: {{Ship}} missing disambiguator (help) | Error: {{Ship}} missing disambiguator (help) |
H. format=6 | {{ship|HMCS|Kootenay||6}} | HMCS Kootenay | HMCS Kootenay |
missing para 1, 2
[edit]Row id | Template usage | Live version | Sandbox version |
---|---|---|---|
A. (no settings) | {{ship|||H75}} | Error: {{Ship}} missing name (help) | Error: {{Ship}} missing name (help) |
B. (4=present but empty) | {{ship|||H75|}} | Error: {{Ship}} missing name (help) | Error: {{Ship}} missing name (help) |
C. format=1 | {{ship|||H75|1}} | Error: {{Ship}} missing name (help) | Error: {{Ship}} missing name (help) |
D. format=2 | {{ship|||H75|2}} | Error: {{Ship}} missing name (help) | Error: {{Ship}} missing name (help) |
E. format=3 | {{ship|||H75|3}} | Error: {{Ship}} missing name (help) | Error: {{Ship}} missing name (help) |
F. format=4 | {{ship|||H75|4}} | Error: {{Ship}} missing name (help) | Error: {{Ship}} missing name (help) |
G. format=5 | {{ship|||H75|5}} | Error: {{Ship}} missing name (help) | Error: {{Ship}} missing name (help) |
H. format=6 | {{ship|||H75|6}} | Error: {{Ship}} missing name (help) | Error: {{Ship}} missing name (help) |
missing para 1, 3
[edit]Row id | Template usage | Live version | Sandbox version |
---|---|---|---|
A. (no settings) 3= omitted | {{ship||Kootenay}} | Kootenay | Kootenay |
B. format = (blank), (absent) 3= present but empty | {{ship||Kootenay|}} | Kootenay | Kootenay |
C. format=1 | {{ship||Kootenay||1}} | Error: {{Ship}} missing disambiguator (help) | Error: {{Ship}} missing disambiguator (help) |
D. format=2 | {{ship||Kootenay||2}} | Kootenay | Kootenay |
E. format=3 | {{ship||Kootenay||3}} | Error: {{Ship}} missing disambiguator (help) | Error: {{Ship}} missing disambiguator (help) |
F. format=4 | {{ship||Kootenay||4}} | Error: {{Ship}} invalid control parameter: 4 (help) | Error: {{Ship}} invalid control parameter: 4 (help) |
G. format=5 | {{ship||Kootenay||5}} | Error: {{Ship}} missing disambiguator (help) | Error: {{Ship}} missing disambiguator (help) |
H. format=6 | {{ship||Kootenay||6}} | Error: {{Ship}} missing prefix (help) | Error: {{Ship}} missing prefix (help) |
- Note: Kootenay is a DAB
missing para 2, 3
[edit]Row id | Template usage | Live version | Sandbox version |
---|---|---|---|
A. (no settings) 3= omitted | {{ship|HMCS|}} | Error: {{Ship}} missing name (help) | Error: {{Ship}} missing name (help) |
B. format = (blank), (absent) 3= present but empty | {{ship|HMCS||}} | Error: {{Ship}} missing name (help) | Error: {{Ship}} missing name (help) |
C. format=1 | {{ship|HMCS|||1}} | Error: {{Ship}} missing name (help) | Error: {{Ship}} missing name (help) |
D. format=2 | {{ship|HMCS|||2}} | Error: {{Ship}} missing name (help) | Error: {{Ship}} missing name (help) |
E. format=3 | {{ship|HMCS|||3}} | Error: {{Ship}} missing name (help) | Error: {{Ship}} missing name (help) |
F. format=4 | {{ship|HMCS|||4}} | Error: {{Ship}} missing name (help) | Error: {{Ship}} missing name (help) |
G. format=5 | {{ship|HMCS|||5}} | Error: {{Ship}} missing name (help) | Error: {{Ship}} missing name (help) |
H. format=6 | {{ship|HMCS|||6|}} | Error: {{Ship}} missing name (help) | Error: {{Ship}} missing name (help) |
missing para 1, 2, 3
[edit]Row id | Template usage | Live version | Sandbox version |
---|---|---|---|
A. (no settings) 3= omittd | {{ship||}} | Error: {{Ship}} missing name (help) | Error: {{Ship}} missing name (help) |
B. format = (blank), (absent) 3= present but empty | {{ship|||}} | Error: {{Ship}} missing name (help) | Error: {{Ship}} missing name (help) |
C. format=1 | {{ship||||1}} | Error: {{Ship}} missing name (help) | Error: {{Ship}} missing name (help) |
D. format=2 | {{ship||||2}} | Error: {{Ship}} missing name (help) | Error: {{Ship}} missing name (help) |
E. format=3 | {{ship||||3}} | Error: {{Ship}} missing name (help) | Error: {{Ship}} missing name (help) |
F. format=4 | {{ship||||4}} | Error: {{Ship}} missing name (help) | Error: {{Ship}} missing name (help) |
G. format=5 | {{ship||||5}} | Error: {{Ship}} missing name (help) | Error: {{Ship}} missing name (help) |
H. format=6 | {{ship||||6}} | Error: {{Ship}} missing name (help) | Error: {{Ship}} missing name (help) |
Hull ID for name
[edit]- Hull number entered as ship's base name
- {{ship|German submarine|U-238||}}
Row id | Template usage | Live version | Sandbox version |
---|---|---|---|
A. (no settings) | {{ship|German submarine|U-238|}} | German submarine U-238 | German submarine U-238 |
B. format = (blank), (absent) | {{ship|German submarine|U-238|}} | German submarine U-238 | German submarine U-238 |
C. format=1 | {{ship|German submarine|U-238||1}} | Error: {{Ship}} missing disambiguator (help) | Error: {{Ship}} missing disambiguator (help) |
D. format=2 | {{ship|German submarine|U-238||2}} | U-238 | U-238 |
E. format=3 | {{ship|German submarine|U-238||3}} | Error: {{Ship}} missing disambiguator (help) | Error: {{Ship}} missing disambiguator (help) |
F. format=4 | {{ship|German submarine|U-238||4}} | Error: {{Ship}} invalid control parameter: 4 (help) | Error: {{Ship}} invalid control parameter: 4 (help) |
G. format=5 | {{ship|German submarine|U-238||5}} | Error: {{Ship}} missing disambiguator (help) | Error: {{Ship}} missing disambiguator (help) |
H. format=6 | {{ship|German submarine|U-238||6}} | German submarine U-238 | German submarine U-238 |
- No ship base name, hull number entered in parameter position 3
- {{ship|German submarine||U-238}}
Row id | Template usage | Live version | Sandbox version |
---|---|---|---|
A. (no settings) | {{ship|German submarine||U-238}} | Error: {{Ship}} missing name (help) | Error: {{Ship}} missing name (help) |
B. format = (blank), (absent) | {{ship|German submarine||U-238}} | Error: {{Ship}} missing name (help) | Error: {{Ship}} missing name (help) |
C. format=1 | {{ship|German submarine||U-238|1}} | Error: {{Ship}} missing name (help) | Error: {{Ship}} missing name (help) |
D. format=2 | {{ship|German submarine||U-238|2}} | Error: {{Ship}} missing name (help) | Error: {{Ship}} missing name (help) |
E. format=3 | {{ship|German submarine||U-238|3}} | Error: {{Ship}} missing name (help) | Error: {{Ship}} missing name (help) |
F. format=4 | {{ship|German submarine||U-238|4}} | Error: {{Ship}} missing name (help) | Error: {{Ship}} missing name (help) |
G. format=5 | {{ship|German submarine||U-238|5}} | Error: {{Ship}} missing name (help) | Error: {{Ship}} missing name (help) |
H. format=6 | {{ship|German submarine||U-238|6}} | Error: {{Ship}} missing name (help) | Error: {{Ship}} missing name (help) |
Misc
[edit]Parameter 4 (format): unknown input
[edit]|4=
should be1, 2, 3, 4, 5, 6, (blank)
.
Row id | Template usage | Live version | Sandbox version |
---|---|---|---|
A. (no settings) | {{ship|HMCS|Kootenay|H75}} | HMCS Kootenay (H75) | HMCS Kootenay (H75) |
B. format = (blank), (absent) | {{ship|HMCS|Kootenay|H75}} | HMCS Kootenay (H75) | HMCS Kootenay (H75) |
C. format=1q | {{ship|HMCS|Kootenay|H75|1q}} | Error: {{Ship}} invalid control parameter: 1q (help) | Error: {{Ship}} invalid control parameter: 1q (help) |
D. format=2q | {{ship|HMCS|Kootenay|H75|2q}} | Error: {{Ship}} invalid control parameter: 2q (help) | Error: {{Ship}} invalid control parameter: 2q (help) |
E. format=foo | {{ship|HMCS|Kootenay|H75|foo}} | Error: {{Ship}} invalid control parameter: foo (help) | Error: {{Ship}} invalid control parameter: foo (help) |
F. format=b4 | {{ship|HMCS|Kootenay|H75|b4}} | Error: {{Ship}} invalid control parameter: b4 (help) | Error: {{Ship}} invalid control parameter: b4 (help) |
G. format=f5 | {{ship|HMCS|Kootenay|H75|f5}} | Error: {{Ship}} invalid control parameter: f5 (help) | Error: {{Ship}} invalid control parameter: f5 (help) |
H. format=j6 | {{ship|HMCS|Kootenay|H75|j6}} | Error: {{Ship}} invalid control parameter: j6 (help) | Error: {{Ship}} invalid control parameter: j6 (help) |
X. format=7 | {{ship|HMCS|Kootenay|H75|7}} | Error: {{Ship}} invalid control parameter: 7 (help) | Error: {{Ship}} invalid control parameter: 7 (help) |
- (hull number missing)
Row id | Template usage | Live version | Sandbox version |
---|---|---|---|
A. (no settings) | {{ship|HMCS|Kootenay|}} | HMCS Kootenay | HMCS Kootenay |
B. format = (blank), (absent) | {{ship|HMCS|Kootenay|}} | HMCS Kootenay | HMCS Kootenay |
C. format=1q | {{ship|HMCS|Kootenay||1q}} | Error: {{Ship}} invalid control parameter: 1q (help) | Error: {{Ship}} invalid control parameter: 1q (help) |
D. format=2q | {{ship|HMCS|Kootenay||2q}} | Error: {{Ship}} invalid control parameter: 2q (help) | Error: {{Ship}} invalid control parameter: 2q (help) |
E. format=foo | {{ship|HMCS|Kootenay||foo}} | Error: {{Ship}} invalid control parameter: foo (help) | Error: {{Ship}} invalid control parameter: foo (help) |
F. format=b4 | {{ship|HMCS|Kootenay||b4}} | Error: {{Ship}} invalid control parameter: b4 (help) | Error: {{Ship}} invalid control parameter: b4 (help) |
G. format=f5 | {{ship|HMCS|Kootenay||f5}} | Error: {{Ship}} invalid control parameter: f5 (help) | Error: {{Ship}} invalid control parameter: f5 (help) |
H. format=j6 | {{ship|HMCS|Kootenay||j6}} | Error: {{Ship}} invalid control parameter: j6 (help) | Error: {{Ship}} invalid control parameter: j6 (help) |
X. format=7 | {{ship|HMCS|Kootenay||7}} | Error: {{Ship}} invalid control parameter: 7 (help) | Error: {{Ship}} invalid control parameter: 7 (help) |
Unknown parameter used
[edit]- Category:Pages using Ship with unknown parameters
- For example:
|5=
,|bar=
are not defined - Testing: currently the category is shown here
- Error messages show only in preview rendering
Row id | Template usage | Live version | Sandbox version |
---|---|---|---|
B. format = (blank), (absent) 5=blank | {{ship|HMCS|Kootenay|H75||}} | HMCS Kootenay (H75) | HMCS Kootenay (H75) |
A. | {{ship|HMCS|Kootenay|H75||five}} | HMCS Kootenay (H75) | HMCS Kootenay (H75) |
B. format = (blank), (absent) | {{ship|HMCS|Kootenay|H75|up=yes|||six}} | HMCS Kootenay (H75) | HMCS Kootenay (H75) |
C. format=1 | {{ship|HMCS|Kootenay|H75|up=yes|4||six}} | Error: {{Ship}} invalid control parameter: 4 (help) | Error: {{Ship}} invalid control parameter: 4 (help) |
D. format=2 | {{ship|HMCS|Kootenay|H75|up=yes|4|bar=99}} | Error: {{Ship}} invalid control parameter: 4 (help) | Error: {{Ship}} invalid control parameter: 4 (help) |
Testing prefix shortcut template
[edit]{{HMCS/sandbox}} uses {{Ship/sandbox}}
Row id | Template usage | Live version | Sandbox version |
---|---|---|---|
A. (no settings) | {{HMCS|Kootenay|H75}} | HMCS Kootenay (H75) | HMCS Kootenay (H75) |
B. format = (blank), (absent) | {{HMCS|Kootenay|H75}} | HMCS Kootenay (H75) | HMCS Kootenay (H75) |
C. format=1 | {{HMCS|Kootenay|H75|1}} | H75 | H75 |
D. format=2 | {{HMCS|Kootenay|H75|2}} | Kootenay | Kootenay |
E. format=3 | {{HMCS|Kootenay|H75|3}} | Kootenay (H75) | Kootenay (H75) |
F. format=4 | {{HMCS|Kootenay|H75|4}} | Error: {{HMCS}} invalid control parameter: 4 (help) | Error: {{HMCS}} invalid control parameter: 4 (help) |
G. format=5 | {{HMCS|Kootenay|H75|5}} | HMCS H75 | HMCS H75 |
H. format=6 | {{HMCS|Kootenay|H75|6}} | HMCS Kootenay | HMCS Kootenay |
Row id | Template usage | Live version | Sandbox version |
---|---|---|---|
A. (no settings) | {{HMCS|Kootenay|H75}} | HMCS Kootenay (H75) | HMCS Kootenay (H75) |
B. format = (blank), (absent) | {{HMCS||H75}} | Error: {{HMCS}} missing name (help) | Error: {{HMCS}} missing name (help) |
C. format=1 | {{HMCS|Kootenay||1}} | Error: {{HMCS}} missing disambiguator (help) | Error: {{HMCS}} missing disambiguator (help) |
D. format=2 | {{HMCS|Kootenay||2}} | Kootenay | Kootenay |
E. format=3 | {{HMCS|Kootenay||3}} | Error: {{HMCS}} missing disambiguator (help) | Error: {{HMCS}} missing disambiguator (help) |
F. format=4 | {{HMCS|Kootenay||4}} | Error: {{HMCS}} invalid control parameter: 4 (help) | Error: {{HMCS}} invalid control parameter: 4 (help) |
G. format=5 | {{HMCS|Kootenay||5}} | Error: {{HMCS}} missing disambiguator (help) | Error: {{HMCS}} missing disambiguator (help) |
H. format=6 | {{HMCS|Kootenay||6}} | HMCS Kootenay | HMCS Kootenay |
MS prefix
[edit]- MS/sandbox (edit · t · history · diff · links · /test · Source · e · t · hist · links · /subpages · /doc · /doc edit)
- Article title does not have a slash: MS Olau Hollandia (1981)
Row id | Template usage | Live version | Sandbox version |
---|---|---|---|
A. (no settings) | {{MS|Olau Hollandia|1981}} | MS Olau Hollandia (1981) | MS Olau Hollandia (1981) |
B. format = (blank), (absent) | {{MS||1981}} | MS Olau Hollandia (1981) | MS Olau Hollandia (1981) |
C. format=1 | {{MS|Olau Hollandia|1981|1}} | 1981 | 1981 |
D. format=2 | {{MS|Olau Hollandia|1981|2}} | Olau Hollandia | Olau Hollandia |
E. format=3 | {{MS|Olau Hollandia|1981|3}} | Olau Hollandia (1981) | Olau Hollandia (1981) |
F. format=4 | {{MS|Olau Hollandia|1981|4}} | Error: {{MS}} invalid control parameter: 4 (help) | Error: {{MS}} invalid control parameter: 4 (help) |
G. format=5 | {{MS|Olau Hollandia|1981|5}} | MS 1981 | MS 1981 |
H. format=6 | {{MS|Olau Hollandia|1981|6}} | MS Olau Hollandia | MS Olau Hollandia |