Difference between revisions of "Template:CWGC cemetery"

From blackwiki
Jump to navigation Jump to search
imported>DavidCane
(Move CWCG To end for compatibility with otter citation templates)
imported>Carcharoth
(fix URL to correct format)
 
(11 intermediate revisions by 4 users not shown)
Line 1: Line 1:
Cemetery register: [http://www.cwgc.org/search/cemetery_details.aspx?cemetery={{{1}}}&mode=1 Details] • [http://www.cwgc.org/search/cemetery_reports.aspx?cemetery={{{1}}}&mode=1 Reports] • [http://www.cwgc.org/search/cemetery_plans.aspx?cemetery={{{1}}}&mode=1 Plans] • [http://www.cwgc.org/search/cemetery_photos.aspx?cemetery={{{1}}}&mode=1 Photographs]. [[Commonwealth War Graves Commission|CWGC]]{{ #if: {{{accessdate|}}} |. Retrieved {{{accessdate}}}}}.<noinclude>
+
[http://www.cwgc.org/find-a-cemetery/cemetery/{{{1|{{{id|{{#property:P1920|[[Category:CWGC cemetery template with no id set]]}}}}}}}} Cemetery details{{#if:{{{name|{{{2|}}}}}}|{{colon}} {{{name|{{{2|}}}}}}|}}]. [[Commonwealth War Graves Commission]]{{#if:{{{access-date|{{{accessdate|}}}}}}|. Retrieved {{{access-date|{{{accessdate|}}}}}}}}.<noinclude>
 
{{documentation}}
 
{{documentation}}
 +
</noinclude>

Latest revision as of 00:12, 30 January 2018

Cemetery details. Commonwealth War Graves Commission.

50px Template documentation[view] [edit] [history] [purge]

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=22 January 2026}}, which displays as

Cemetery details: Ploegsteert Wood Military Cemetery. Commonwealth War Graves Commission. Retrieved 22 January 2026.

See also