Revision as of 11:07, 19 May 2015 editPC78 (talk | contribs)Autopatrolled, Extended confirmed users, Page movers, Pending changes reviewers, Template editors98,746 editsm PC78 moved page Template:Cwgc cemetery/doc to Template:CWGC cemetery/doc: capitalise acronym← Previous edit | Revision as of 11:12, 19 May 2015 edit undoPC78 (talk | contribs)Autopatrolled, Extended confirmed users, Page movers, Pending changes reviewers, Template editors98,746 edits updateNext edit → | ||
Line 4: | Line 4: | ||
==Usage== | ==Usage== | ||
<pre>{{ |
<pre>{{CWGC cemetery|id=|name=|access-date=}}</pre> | ||
* '''id''': (required) the number found in the url for the cemetery (see "Examples" below) | * '''id''': (required) the number found in the url for the cemetery (see "Examples" below) | ||
Line 15: | Line 15: | ||
Extract the ''51602'' and use this number for the {{para|id}} parameter, i.e. | Extract the ''51602'' and use this number for the {{para|id}} parameter, i.e. | ||
<code><nowiki>{{ |
<code><nowiki>{{CWGC cemetery|id=51602}}</nowiki></code>, which displays as | ||
:{{ |
:{{CWGC cemetery|id=51602}} | ||
Other examples using the optional parameters: | Other examples using the optional parameters: | ||
<code><nowiki>{{ |
<code><nowiki>{{CWGC cemetery|id=51602|name=Ploegsteert Wood Military Cemetery}}</nowiki></code>, which displays as | ||
:{{ |
:{{CWGC cemetery|id=51602|name=Ploegsteert Wood Military Cemetery}} | ||
<code><nowiki>{{ |
<code><nowiki>{{CWGC cemetery|id=51602|name=Ploegsteert Wood Military Cemetery|access-date=</nowiki>{{date}}<nowiki>}}</nowiki></code>, which displays as | ||
:{{ |
:{{CWGC cemetery|id=51602|name=Ploegsteert Wood Military Cemetery|access-date={{date}}}} | ||
==See also== | ==See also== | ||
* {{tl| |
* {{tl|CWGC}} | ||
<includeonly> | <includeonly> |
Revision as of 11:12, 19 May 2015
This is a documentation subpage for Template:CWGC cemetery. It may contain usage information, categories and other content that is not part of the original template page. |
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
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=1 January 2025}}
, which displays as
- Cemetery details: Ploegsteert Wood Military Cemetery. Commonwealth War Graves Commission. Retrieved 1 January 2025.
See also
- {{CWGC}}