Template:Cite journal/doc: Difference between revisions
m (Dgelessus moved page Template:Citejournal/doc to Template:Cite journal/doc: To match Wikipedia naming convention (yes, our template has no relation with the WP one, but we don't have to be inconsistent for no reason)) |
(Document the new 'quote' parameter.) |
||
(2 intermediate revisions by one other user not shown) | |||
Line 5: | Line 5: | ||
"author": { | "author": { | ||
"label": "Author", | "label": "Author", | ||
"description": "The author of the journal or document. When citing DRC notebooks, use \"DRC\".", | "description": "The author of the journal or document. When citing DRC notebooks, use \"DRC\". Per the citation guidelines this shouldn't be a wikilink.", | ||
"type": "string", | |||
"required": true, | |||
"example": "Atrus" | |||
}, | |||
"journal": { | |||
"label": "Journal or document title", | |||
"description": "The title of the journal or document. A wikilink to the corresponding reference page is added automatically.", | |||
"example": "Channelwood journal", | |||
"type": "string", | "type": "string", | ||
"required": true | "required": true | ||
}, | }, | ||
"journal": { | "journal-page": { | ||
"label": "Journal or document name", | "label": "Journal or document page name", | ||
"description": "The | "description": "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.", | ||
"example": " | "example": "Reference:Atrus, Channelwood journal", | ||
"type": "wiki-page-name", | "type": "wiki-page-name", | ||
"default": "Reference:{{{author}}}, {{{journal}}}" | |||
}, | |||
"journal-nolink": { | |||
"label": "Journal or document title (no automatic wikilink)", | |||
"description": "The title of the journal, notebook, or document. May contain arbitrary wiki markup; no automatic wikilink is added.", | |||
"example": "[[Reference:Atrus, Channelwood journal|Channelwood journal]]", | |||
"type": "content", | |||
"default": "[[{{{journal-page}}}|{{{journal}}}]]" | |||
}, | |||
"game": { | |||
"label": "Game name", | |||
"description": "The name of the game that the journal or document is from. A wikilink to the game's page is added automatically.", | |||
"example": "Myst", | |||
"type": "string", | |||
"required": true | "required": true | ||
}, | }, | ||
"game": { | "game-page": { | ||
"label": "Game", | "label": "Game page name", | ||
"description": "The game | "description": "The name of the game's page on the wiki. Use if the game page name doesn't match the displayed name.", | ||
"example": " | "example": "Myst (game)", | ||
"type": "wiki-page-name", | "type": "wiki-page-name", | ||
" | "default": "{{{game}}}" | ||
}, | |||
"game-nolink": { | |||
"label": "Game name (no automatic wikilink)", | |||
"description": "The name of the game that the journal or document is from. May contain arbitrary wiki markup; no automatic wikilink is added.", | |||
"example": "[[Myst (game)|Myst]]", | |||
"type": "content", | |||
"default": "[[{{{game-page}}}|{{{game}}}]]" | |||
}, | |||
"quote": { | |||
"label": "Quote", | |||
"description": "An optional quote from the source material that is relevant to the fact or claim being cited.", | |||
"type": "string" | |||
} | } | ||
}, | }, | ||
"format": "inline", | "format": "inline", | ||
"description": "This template is a way to ensure that journals and other notebooks are cited using the appropriate citation formatting." | "description": "This template is a way to ensure that journals and other notebooks are cited using the appropriate citation formatting.", | ||
"paramOrder": [ | |||
"author", | |||
"journal", | |||
"journal-page", | |||
"journal-nolink", | |||
"game", | |||
"game-page", | |||
"game-nolink", | |||
"quote" | |||
] | |||
} | } | ||
</templatedata> | </templatedata> |
Latest revision as of 07:25, 3 December 2024
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 |
Quote | quote | An optional quote from the source material that is relevant to the fact or claim being cited. | String | optional |