Difference between revisions of "Template:CWGC cemetery/doc"

From blackwiki
Jump to navigation Jump to search
imported>Zyxw
m (fix placement of category to include template, not documentation (via JWB))
imported>Carcharoth
(fix URL to correct format)
Line 12: Line 12:
  
 
==Examples==
 
==Examples==
The url for [[Ploegsteert Wood Military Cemetery]] is ''<nowiki>http://www.cwgc.org/search/cemetery_details.aspx?cemetery=51602</nowiki>''
+
The url for [[Ploegsteert Wood Military Cemetery]] is ''<nowiki>http://www.cwgc.org/find-a-cemetery/cemetery/51602</nowiki>''
  
 
Extract the ''51602'' and use this number for the {{para|id}} parameter, i.e.
 
Extract the ''51602'' and use this number for the {{para|id}} parameter, i.e.

Revision as of 00:13, 30 January 2018

Template:Uses Wikidata

This template is used to provide links to cemetery details in the Commonwealth War Graves Commission database at http://www.cwgc.org.

Usage

{{CWGC cemetery|id=|name=|access-date=}}
  • id: (required) the number found in the url for the cemetery (see "Examples" below)
  • name: (optional) the name of the cemetery
  • access-date: (optional) the date the information was retrieved from the website

Examples

The url for Ploegsteert Wood Military Cemetery is http://www.cwgc.org/find-a-cemetery/cemetery/51602

Extract the 51602 and use this number for the |id= parameter, i.e.

{{CWGC cemetery|id=51602}}, which displays as

Cemetery details. Commonwealth War Graves Commission.

Other examples using the optional parameters:

{{CWGC cemetery|id=51602|name=Ploegsteert Wood Military Cemetery}}, which displays as

Cemetery details: Ploegsteert Wood Military Cemetery. Commonwealth War Graves Commission.

{{CWGC cemetery|id=51602|name=Ploegsteert Wood Military Cemetery|access-date=17 September 2025}}, which displays as

Cemetery details: Ploegsteert Wood Military Cemetery. Commonwealth War Graves Commission. Retrieved 17 September 2025.

See also