Jump to content

Template:Ship in active service/testcases

From Wikipedia, the free encyclopedia

Testcases page for Template:ship in active service and Template:ship in active service/sandbox

Default case

[edit]
Template
{{ship in active service}} → in active service
Sandbox
{{ship in active service/sandbox}} → in active serviceCategory:Ships articles with undated status

Different dates

[edit]

Year only

[edit]
Template
{{ship in active service|2008}} → in active service, as of 2008
Sandbox
{{ship in active service/sandbox|2008}} → in active service, as of 2008Category:Ships articles in need of updated status
Template
{{ship in active service|{{CURRENTYEAR}}}} → in active service, as of 2024
Sandbox
{{ship in active service/sandbox|{{CURRENTYEAR}}}} → in active service, as of 2024

Month and year

[edit]
Template
{{ship in active service|2005|June}} → in active service, as of June 2005
Sandbox
{{ship in active service/sandbox|2005|June}} → in active service, as of June 2005Category:Ships articles in need of updated status

Full date

[edit]
Template
{{ship in active service|2000|March|11}} → in active service, as of 11 March 2000
Sandbox
{{ship in active service/sandbox|2000|March|11}} → in active service, as of 11 March 2000Category:Ships articles in need of updated status

With url field

[edit]

(See Wikipedia:As of for how to display the links.)

Template
{{ship in active service|url=http://en.wikipedia.org/}} → in active service
{{ship in active service|2008|url=http://en.wikipedia.org/}} → in active service, as of 2008
{{ship in active service|2005|June|url=http://en.wikipedia.org/}} → in active service, as of June 2005
{{ship in active service|2000|March|11|url=http://en.wikipedia.org/}} → in active service, as of 11 March 2000
Sandbox
{{ship in active service/sandbox|url=http://en.wikipedia.org/}} → in active serviceCategory:Ships articles with undated status
{{ship in active service/sandbox|2008|url=http://en.wikipedia.org/}} → in active service, as of 2008Category:Ships articles in need of updated status
{{ship in active service/sandbox|2005|June|url=http://en.wikipedia.org/}} → in active service, as of June 2005Category:Ships articles in need of updated status
{{ship in active service/sandbox|2000|March|11|url=http://en.wikipedia.org/}} → in active service, as of 11 March 2000Category:Ships articles in need of updated status