Misplaced Pages

Template:CWGC cemetery/sandbox: Difference between revisions

Article snapshot taken from Wikipedia with creative commons attribution-sharealike license. Give it a read and then ask your questions in the chat. We can research this topic together.
< Template:CWGC cemetery Browse history interactively← Previous editNext edit →Content deleted Content addedVisualWikitext
Revision as of 23:22, 18 May 2015 editPC78 (talk | contribs)Autopatrolled, Extended confirmed users, Page movers, Pending changes reviewers, Template editors98,746 edits {{colon}}← Previous edit Revision as of 23:28, 18 May 2015 edit undoPC78 (talk | contribs)Autopatrolled, Extended confirmed users, Page movers, Pending changes reviewers, Template editors98,746 editsNo edit summaryNext edit →
Line 1: Line 1:
. ]{{ #if: {{{accessdate|}}} |. Retrieved {{{accessdate}}}}}.<noinclude> . ]{{ #if: {{{accessdate|}}} |. Retrieved {{{accessdate}}}}}.<noinclude>
{{documentation}} {{documentation}}
</noinclude> </noinclude>

Revision as of 23:28, 18 May 2015

Cemetery Details. Commonwealth War Graves Commission.

This is the template sandbox page for Template:CWGC cemetery (diff).
See also the companion subpage for test cases.
Template documentation[view] [edit] [history] [purge]

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=1 January 2025}}, which displays as

Cemetery details: Ploegsteert Wood Military Cemetery. Commonwealth War Graves Commission. Retrieved 1 January 2025.

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.
Add categories to the /doc subpage. Subpages of this template. Category: