Difference between revisions of "Template:DNV/doc"

From blackwiki
Jump to navigation Jump to search
imported>Pigsonthewing
(ce)
imported>Debresser
(Superdetailed for this documentation page.)
 
(5 intermediate revisions by 5 users not shown)
Line 2: Line 2:
 
{{Cs1 wrapper|base=Cite ship register}}
 
{{Cs1 wrapper|base=Cite ship register}}
 
<!-- Categories and interwikis go at the bottom of this page. -->
 
<!-- Categories and interwikis go at the bottom of this page. -->
This template is used to create uniformly formatted citations to the [[Det Norske Veritas]] and [[Germanischer Lloyd]] ship registers. {{tl|Cite ship register}} is a {{tlx|cite web}} meta-template.
+
This template is used to create uniformly formatted citations to the [[Det Norske Veritas]] and [[Germanischer Lloyd]] ship registers.
  
 
== Usage ==
 
== Usage ==
Line 11: Line 11:
  
 
;Required parameters:
 
;Required parameters:
*{{para|id}} unique ship ID. DNV ships use a 5-digit number, while GL ships use a 6-digit number sometimes preceeded by a "G". For instance, {{MS|Allure of the Seas|3=2}} is number 28329 and ''[[AIDAprima]]'' is number g117060.
+
*{{para|id}} unique ship ID. DNV ships use a 5-digit number, while GL ships use a 6-digit number sometimes preceded by a "G". For instance, {{MS|Allure of the Seas|3=2}} is number 28329 and ''[[AIDAprima]]'' is number g117060.
 
*{{para|shipname}} name of the ship. The template automatically italicizes the shipname. Prefixes (MV, SS, etc.) should be omitted as they are not part of the ship's name.
 
*{{para|shipname}} name of the ship. The template automatically italicizes the shipname. Prefixes (MV, SS, etc.) should be omitted as they are not part of the ship's name.
*{{para|access-date}} Full date when URL was accessed; use the same format as other access and archive dates in the citations; do not wikilink. Can be [[Help:Citation Style 1/accessdate|hidden]] by registered editors. Access dates in references should all have the same format – either the format used for publication dates, or YYYY-MM-DD. See [[MOS:DATEUNIFY]].
+
*{{para|access-date}} Full date when URL was accessed; use the same format as other access and archive dates in the citations; do not wikilink. Access dates in references should all have the same format – either the format used for publication dates, or YYYY-MM-DD. See [[MOS:DATEUNIFY]].
  
 
== Related templates ==
 
== Related templates ==
 
{{Psix name/related}}
 
{{Psix name/related}}
  
<includeonly>
+
<includeonly>{{Sandbox other||
 
<!-- Categories and interwikis go here: -->
 
<!-- Categories and interwikis go here: -->
 
[[Category:Ship templates]]
 
[[Category:Ship templates]]
 +
}}
 
</includeonly>
 
</includeonly>

Latest revision as of 00:22, 31 August 2020

This template is used to create uniformly formatted citations to the Det Norske Veritas and Germanischer Lloyd ship registers.

Usage

This:

<ref>{{DNV|id=28329|shipname=Allure of the Seas|access-date=2026-01-17}}</ref>

Will put this in your references list:

1.^ "Allure of the Seas (28329)". DNV GL Vessel Register. Det Norske Veritas. Retrieved 2026-01-17.
Required parameters
  • |id= unique ship ID. DNV ships use a 5-digit number, while GL ships use a 6-digit number sometimes preceded by a "G". For instance, Allure of the Seas is number 28329 and AIDAprima is number g117060.
  • |shipname= name of the ship. The template automatically italicizes the shipname. Prefixes (MV, SS, etc.) should be omitted as they are not part of the ship's name.
  • |access-date= Full date when URL was accessed; use the same format as other access and archive dates in the citations; do not wikilink. Access dates in references should all have the same format – either the format used for publication dates, or YYYY-MM-DD. See MOS:DATEUNIFY.

Related templates

Template:Psix name/related