Revision as of 07:16, 30 December 2016 editCarcharoth (talk | contribs)Administrators73,576 edits create template for National Inventory of Canadian Military Memorials | Latest revision as of 07:35, 30 December 2016 edit undoCarcharoth (talk | contribs)Administrators73,576 edits try this instead | ||
(8 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
{{Cite web | {{Cite web | ||
|url = http://www.veterans.gc.ca/eng/remembrance/memorials/national-inventory-canadian-memorials/details/{{{id|{{{1|}}}}}}/ | |url = http://www.veterans.gc.ca/eng/remembrance/memorials/national-inventory-canadian-memorials/details/{{{id|{{{1|}}}}}}/ | ||
|title = |
|title = {{{title|{{{2|{{PAGENAMEBASE}}}}}}}} | ||
|website = National Inventory of Canadian Military Memorials | |website = National Inventory of Canadian Military Memorials | ||
|publisher = {{#if:{{{fewer-links|}}}|Veterans Affairs Canada|]}} | |publisher = {{#if:{{{fewer-links|}}}|Veterans Affairs Canada|]}} |
Latest revision as of 07:35, 30 December 2016
"National Inventory of Canadian Military Memorials". National Inventory of Canadian Military Memorials. Veterans Affairs Canada.
Template documentation[view] [edit] [history] [purge]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.
Editors can experiment in this template's sandbox (create | mirror) and testcases (create) pages.
Add categories to the /doc subpage. Subpages of this template. Categories: