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 interactivelyContent deleted Content addedVisualWikitext
Revision as of 07:24, 30 December 2016 editCarcharoth (talk | contribs)Administrators73,576 edits create template documentation  Latest revision as of 00:58, 25 September 2023 edit undoElizabeth Linden Rahway (talk | contribs)Autopatrolled, Extended confirmed users9,284 edits Refine cat 
(7 intermediate revisions by 3 users not shown)
Line 1: Line 1:
{{documentation subpage}} {{documentation subpage}}
{{cs1 wrapper |type=source |base=cite web}}
<!-- Please place categories where indicated at the bottom of this page and interwikis at Wikidata (see ]) --> <!-- Please place categories where indicated at the bottom of this page and interwikis at Wikidata (see ]) -->


Line 5: 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''': (optional) 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)
* '''title''': (optional) the title of the page; takes the form 'Memorial 47009-019 Saskatoon, SK', can be added to manually to form a more descriptive title. * '''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''': (optional) the date the information was retrieved from the website * '''access-date''': the date the information was retrieved from the website
* '''fewer-links''': (optional) set {{para|fewer-links|yes}} to disable wikilinks and prevent ], i.e. if the template is used more than once in an article * '''fewer-links''': (optional) set {{para|fewer-links|yes}} to disable wikilinks and prevent ], i.e. if the template is used more than once in an article
* '''mode''': (optional) set {{para|mode|cs2}} to make the template compatible with ]; defaults to ] * '''mode''': (optional) set {{para|mode|cs2}} to make the template compatible with ]; defaults to ]
Line 18: Line 19:
Extract the ''5779'' and use this number for the {{para|id}} parameter and include the title and date the website was accessed, i.e. Extract the ''5779'' and use this number for the {{para|id}} parameter and include the title and date the website was accessed, i.e.


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


Example using a descriptive title: Example using a descriptive title:


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


<includeonly>{{sandbox other|| <includeonly>{{sandbox other||
<!-- Categories below this line, please; interwikis at Wikidata --> <!-- Categories below this line, please; interwikis at Wikidata -->
] ]
] ]
}}</includeonly> }}</includeonly>

Latest revision as of 00:58, 25 September 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.