Template:Cite dialog: Difference between revisions
(Fix broken behaviour. There is no 'author' parameter. It appears 'speaker' was intended.) |
(Add to 'Citation templates' category.) |
||
Line 1: | Line 1: | ||
{{{speaker}}}. {{{scene-nolink|[[{{{scene-page|Reference:{{{speaker}}}, {{{scene}}}}}}|{{{scene}}}]]}}}. {{{game-nolink|[[{{{game-page|{{{game}}}}}}|{{{game}}}]]}}}.<noinclude>{{documentation}}</noinclude> | {{{speaker}}}. {{{scene-nolink|[[{{{scene-page|Reference:{{{speaker}}}, {{{scene}}}}}}|{{{scene}}}]]}}}. {{{game-nolink|[[{{{game-page|{{{game}}}}}}|{{{game}}}]]}}}.<noinclude>{{documentation}} [[Category:Citation templates]]</noinclude> |
Latest revision as of 04:07, 31 July 2024
{{{speaker}}}. [[Reference:{{{speaker}}}, {{{scene}}}|{{{scene}}}]]. [[{{{game}}}|{{{game}}}]].
This template is a way to ensure that dialog scenes are cited using the appropriate citation formatting.
Parameter | Description | Type | Status | |
---|---|---|---|---|
Speaker | speaker | The person speaking in the dialog scene.
| String | required |
Scene title | scene | A short name for the dialog scene. A wikilink to the corresponding reference page is added automatically.
| String | required |
Scene page name | scene-page | The name of the dialog scene's reference page on the wiki. Use if the reference page name doesn't follow the standard format.
| Page name | optional |
Scene title (no automatic wikilink) | scene-nolink | A short name for the dialog scene. May contain arbitrary wiki markup; no automatic wikilink is added.
| Content | optional |
Game name | game | The game that the dialog scene 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 dialog/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. |