Difference between revisions of "Template:CWGC cemetery"

From blackwiki
Jump to navigation Jump to search
imported>Frietjes
imported>PC78
(add parameter for name in order to merge Template:Cwgc cemetery and name)
Line 1: Line 1:
 
{{hlist
 
{{hlist
|1= Cemetery register: [http://www.cwgc.org/search/cemetery_details.aspx?cemetery={{#if:1|{{{1}}}}}&mode=1 Details]  
+
|1= {{#if:{{{2|}}}|{{{2}}}|Cemetery register}}: [http://www.cwgc.org/search/cemetery_details.aspx?cemetery={{#if:1|{{{1}}}}}&mode=1 Details]  
 
|2= [http://www.cwgc.org/search/cemetery_reports.aspx?cemetery={{#if:1|{{{1}}}}}&mode=1 Reports]  
 
|2= [http://www.cwgc.org/search/cemetery_reports.aspx?cemetery={{#if:1|{{{1}}}}}&mode=1 Reports]  
 
|3= [http://www.cwgc.org/search/cemetery_plans.aspx?cemetery={{#if:1|{{{1}}}}}&mode=1 Plans]
 
|3= [http://www.cwgc.org/search/cemetery_plans.aspx?cemetery={{#if:1|{{{1}}}}}&mode=1 Plans]

Revision as of 22:53, 18 May 2015

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

Other examples using the optional parameters:

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

{{CWGC cemetery|id=51602|name=Ploegsteert Wood Military Cemetery|access-date=19 January 2026}}, which displays as

See also