Difference between revisions of "Template:CWGC cemetery"
Jump to navigation
Jump to search
imported>PC78 (simplify; only the "details" link actually works) |
imported>PC78 (trim url and expand wikilink) |
||
| Line 1: | Line 1: | ||
| − | [http://www.cwgc.org/search/cemetery_details.aspx?cemetery={{#if:1|{{{1}}}}} | + | [http://www.cwgc.org/search/cemetery_details.aspx?cemetery={{#if:1|{{{1}}}}} Cemetery Details{{#if:{{{2|}}}|{{colon}} {{{2}}}|}}]. [[Commonwealth War Graves Commission]]{{ #if: {{{accessdate|}}} |. Retrieved {{{accessdate}}}}}.<noinclude> |
{{documentation}} | {{documentation}} | ||
</noinclude> | </noinclude> | ||
Revision as of 23:29, 18 May 2015
Cemetery Details. Commonwealth War Graves Commission.
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=18 January 2026}}, which displays as
See also
| The above documentation is transcluded from Template:CWGC cemetery/doc. (edit | history) Editors can experiment in this template's sandbox (edit | diff) and testcases (edit) pages. Please add categories to the /doc subpage. Subpages of this template. |