Template:Cite journal: Difference between revisions

From Guild of Archivists
(Added extra params for constructing links and page names automatically - will have to see how well this works in practice)
(Introduce 'quote' parameter for the inclusion of quotes.)
 
(One intermediate revision by the same user not shown)
Line 1: Line 1:
{{{author}}}. ''{{{journal-nolink|[[{{{journal-page|Reference:{{{author}}}, {{{journal}}}}}}|{{{journal}}}]]}}}''. {{{game-nolink|[[{{{game-page|{{{game}}}}}}|{{{game}}}]]}}}.<noinclude>{{documentation}}</noinclude>
{{{author}}}. ''{{{journal-nolink|[[{{{journal-page|Reference:{{{author}}}, {{{journal}}}}}}|{{{journal}}}]]}}}''. {{{game-nolink|[[{{{game-page|{{{game}}}}}}|{{{game}}}]]}}}.{{#if:{{{quote|}}}|&#32;&quot;{{{quote}}}&quot;}}<noinclude>{{documentation}} [[Category:Citation templates]]</noinclude>

Latest revision as of 07:17, 3 December 2024

{{{author}}}. [[Reference:{{{author}}}, {{{journal}}}|{{{journal}}}]]. [[{{{game}}}|{{{game}}}]].

Template documentation[view] [edit] [history] [purge]

This template is a way to ensure that journals and other notebooks are cited using the appropriate citation formatting.

Template parameters

This template prefers inline formatting of parameters.

ParameterDescriptionTypeStatus
Authorauthor

The author of the journal or document. When citing DRC notebooks, use "DRC". Per the citation guidelines this shouldn't be a wikilink.

Example
Atrus
Stringrequired
Journal or document titlejournal

The title of the journal or document. A wikilink to the corresponding reference page is added automatically.

Example
Channelwood journal
Stringrequired
Journal or document page namejournal-page

The name of the journal or document's reference page on the wiki. Use if the reference page name doesn't follow the standard format.

Default
Reference:{{{author}}}, {{{journal}}}
Example
Reference:Atrus, Channelwood journal
Page nameoptional
Journal or document title (no automatic wikilink)journal-nolink

The title of the journal, notebook, or document. May contain arbitrary wiki markup; no automatic wikilink is added.

Default
[[{{{journal-page}}}|{{{journal}}}]]
Example
[[Reference:Atrus, Channelwood journal|Channelwood journal]]
Contentoptional
Game namegame

The name of the game that the journal or document is from. A wikilink to the game's page is added automatically.

Example
Myst
Stringrequired
Game page namegame-page

The name of the game's page on the wiki. Use if the game page name doesn't match the displayed name.

Default
{{{game}}}
Example
Myst (game)
Page nameoptional
Game name (no automatic wikilink)game-nolink

The name of the game that the journal or document is from. May contain arbitrary wiki markup; no automatic wikilink is added.

Default
[[{{{game-page}}}|{{{game}}}]]
Example
[[Myst (game)|Myst]]
Contentoptional
Quotequote

An optional quote from the source material that is relevant to the fact or claim being cited.

Stringoptional