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

From blackwiki
Jump to navigation Jump to search
imported>Zyxw
imported>Zyxw
m (fix placement of category to include template, not documentation (via JWB))
Line 35: Line 35:
 
[[Category:Specific-source templates]]
 
[[Category:Specific-source templates]]
 
[[Category:External link templates]]
 
[[Category:External link templates]]
 +
[[Category:External link templates using Wikidata]]
 
}}</includeonly>
 
}}</includeonly>
[[Category:External link templates using Wikidata]]
 

Revision as of 19:20, 5 March 2017

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/search/cemetery_details.aspx?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