Template:Cite journal: Difference between revisions
(Added extra params for constructing links and page names automatically - will have to see how well this works in practice) |
(Add to 'Citation templates' category.) |
||
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}}}]]}}}.<noinclude>{{documentation}} [[Category:Citation templates]]</noinclude> |
Latest revision as of 04:07, 31 July 2024
{{{author}}}. [[Reference:{{{author}}}, {{{journal}}}|{{{journal}}}]]. [[{{{game}}}|{{{game}}}]].
This template is a way to ensure that journals and other notebooks are cited using the appropriate citation formatting.
Parameter | Description | Type | Status | |
---|---|---|---|---|
Author | author | The author of the journal or document. When citing DRC notebooks, use "DRC". Per the citation guidelines this shouldn't be a wikilink.
| String | required |
Journal or document title | journal | The title of the journal or document. A wikilink to the corresponding reference page is added automatically.
| String | required |
Journal or document page name | journal-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.
| Page name | optional |
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.
| Content | optional |
Game name | game | The name of the game that the journal or document is from. A wikilink to the game's page is added automatically.
| String | required |
Game page name | game-page | The name of the game's page on the wiki. Use if the game page name doesn't match the displayed name.
| Page name | optional |
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.
| Content | optional |
The above documentation is transcluded from Template:Cite journal/doc. (edit | history) Editors can experiment in this template's sandbox (create | mirror) and testcases (create) pages. Please add categories to the /doc subpage. Subpages of this template. |