Misplaced Pages

Template:National Inventory of Canadian Military Memorials/doc: 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:National Inventory of Canadian Military Memorials Browse history interactively← Previous editNext edit →Content deleted Content addedVisualWikitext
Revision as of 14:04, 30 December 2016 editTrappist the monk (talk | contribs)Administrators479,713 editsm cs1 specific source;← Previous edit Revision as of 14:33, 3 June 2023 edit undoWOSlinker (talk | contribs)Administrators854,910 editsm syntaxhighlight lang="wikitext"Next edit →
Line 6: Line 6:


==Usage== ==Usage==
<pre>{{National Inventory of Canadian Military Memorials|id=|title=|access-date=}}</pre> <syntaxhighlight lang="wikitext">{{National Inventory of Canadian Military Memorials|id=|title=|access-date=}}</syntaxhighlight>


* '''id''': the number found in the URL for the memorial (see "Examples" below) * '''id''': the number found in the URL for the memorial (see "Examples" below)

Revision as of 14:33, 3 June 2023

This is a documentation subpage for Template:National Inventory of Canadian Military Memorials.
It may contain usage information, categories and other content that is not part of the original template page.
This template is a Citation Style 1 specific-source template based on {{Cite web}}. For centralised Citation Style 1 discussions, see Help talk:Citation Style 1.

This template is used to provide links to memorial details in the National Inventory of Canadian Military Memorials database maintained by Veterans Affairs Canada at http://www.veterans.gc.ca/eng/remembrance/memorials/national-inventory-canadian-memorials.

Usage

{{National Inventory of Canadian Military Memorials|id=|title=|access-date=}}
  • id: the number found in the URL for the memorial (see "Examples" below)
  • title: the title of the page; takes the form 'Memorial 35091-009 Toronto, ON', can be added to manually to form a more descriptive title.
  • access-date: the date the information was retrieved from the website
  • fewer-links: (optional) set |fewer-links=yes to disable wikilinks and prevent overlinking, i.e. if the template is used more than once in an article
  • mode: (optional) set |mode=cs2 to make the template compatible with Citation Style 2; defaults to Citation Style 1

Examples

The url for Soldiers' Tower is http://www.veterans.gc.ca/eng/remembrance/memorials/national-inventory-canadian-memorials/details/5779

Extract the 5779 and use this number for the |id= parameter and include the title and date the website was accessed, i.e.

{{National Inventory of Canadian Military Memorials|id=5779|title=Memorial 35091-009 Toronto, ON|access-date=30 December 2016}}, which displays as

"Memorial 35091-009 Toronto, ON". National Inventory of Canadian Military Memorials. Veterans Affairs Canada. Retrieved 30 December 2016.

Example using a descriptive title:

{{National Inventory of Canadian Military Memorials|id=5779|title=Soldier's Tower: Memorial 35091-009 Toronto, ON|access-date=30 December 2016}}, which displays as

"Soldier's Tower: Memorial 35091-009 Toronto, ON". National Inventory of Canadian Military Memorials. Veterans Affairs Canada. Retrieved 30 December 2016.