Difference between revisions of "Template:Macdonald Dictionary/doc"

From blackwiki
Jump to navigation Jump to search
imported>Schwede66
(write doc)
 
imported>Schwede66
(amend description)
Line 3: Line 3:
  
 
=== Usage ===
 
=== Usage ===
This template creates a {{tl|cite web}} reference to an entry in the ''Macdonald Dictionary'', a resource with 22,000 entries held by [[Canterbury Museum, Christchurch|Canterbury Museum]].
+
This template creates a {{tl|cite web}} reference to an entry in the ''Macdonald Dictionary'', a resource with 22,000 entries created by the historian [[George Macdonald (historian)|George Macdonald]] and held by [[Canterbury Museum, Christchurch|Canterbury Museum]].
  
 
<tt><nowiki>{{Macdonald Dictionary|id|title|accessdate}}</nowiki></tt>
 
<tt><nowiki>{{Macdonald Dictionary|id|title|accessdate}}</nowiki></tt>

Revision as of 02:05, 6 February 2019

Usage

This template creates a {{cite web}} reference to an entry in the Macdonald Dictionary, a resource with 22,000 entries created by the historian George Macdonald and held by Canterbury Museum.

{{Macdonald Dictionary|id|title|accessdate}}

Typical usage would be between <ref></ref> tags, with the code below suitable for copy and paste:

<ref name="MacD lastname">{{Macdonald Dictionary|id|title|14 January 2026}}</ref>

  1. id: Id in the URL, consisting of 6 digits
  2. title: Title of the dictionary entry
  3. accessdate: Date the Macdonald Dictionary entry was last verified to support the text in the Wikipedia article
  4. A plain link without cite web can be created with plainlink=y.

Apart from id, all parameters are optional. title defaults to PAGENAME.

Example

The Macdonald Dictionary biography for Richard Molesworth Taylor is at http://collection.canterburymuseum.com/search.do?directoryResult=true&view=detail&id=123678&db=object. The id in the URL is '123678'. Accessing the biography today (UTC) would result in the following code:

<ref name="MacD Taylor">{{Macdonald Dictionary|123678|Richard Molesworth Taylor|14 January 2026}}</ref>

Alternatively, to create a plain link:[1]

<ref name="MacD Taylor2">{{Macdonald Dictionary|123678|Richard Molesworth Taylor| |y }}</ref>

This will give the following footnotes: