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

From blackwiki
Jump to navigation Jump to search
imported>Carcharoth
(fix URL to correct format)
imported>Vanisaac
m (→‎See also: clean up per WP:CAT#T and WP:AWBREQ add template:Sandbox other)
 
Line 31: Line 31:
 
* [[:Category:CWGC cemetery template with no id set]]
 
* [[:Category:CWGC cemetery template with no id set]]
  
<includeonly>{{#ifeq:{{SUBPAGENAME}}|sandbox | |
+
<includeonly>{{Sandbox other||
 
<!-- Categories below this line, please; interwikis at Wikidata -->
 
<!-- Categories below this line, please; interwikis at Wikidata -->
 
[[Category:Specific-source templates]]
 
[[Category:Specific-source templates]]

Latest revision as of 22:44, 24 April 2020

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=16 September 2025}}, which displays as

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

See also