Template:Cite dialog/doc: Difference between revisions
(Created page with " <templatedata> { "params": { "speaker": { "label": "Speaker", "description": "The person speaking in the dialog scene.", "example": "Atrus", "type": "string",...") |
No edit summary |
||
Line 11: | Line 11: | ||
}, | }, | ||
"scene": { | "scene": { | ||
"label": "Scene", | "label": "Scene title", | ||
"description": "A short name for the dialog scene | "description": "A short name for the dialog scene. A wikilink to the corresponding reference page is added automatically.", | ||
"example": " | "example": "Forechamber recording", | ||
"type": "string", | |||
"required": true | |||
}, | |||
"scene-page": { | |||
"label": "Scene page name", | |||
"description": "The name of the dialog scene's reference page on the wiki. Use if the reference page name doesn't follow the standard format.", | |||
"example": "Reference:Atrus, forechamber recording", | |||
"type": "wiki-page-name", | |||
"default": "Reference:{{{speaker}}}, {{{journal}}}" | |||
}, | |||
"scene-nolink": { | |||
"label": "Scene title (no automatic wikilink)", | |||
"description": "A short name for the dialog scene. May contain arbitrary wiki markup; no automatic wikilink is added.", | |||
"type": "content", | "type": "content", | ||
"default": "[[{{{scene-page}}}|{{{scene}}}]]", | |||
"example": "[[Reference:Atrus, forechamber recording|Forechamber recording]]" | |||
}, | |||
"game": { | |||
"label": "Game name", | |||
"description": "The game that the dialog scene 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 that the | "description": "The name of the game's page on the wiki. Use if the game page name doesn't match the displayed name.", | ||
"example": "Myst (game)", | |||
"type": "wiki-page-name" | |||
}, | |||
"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]]", | "example": "[[Myst (game)|Myst]]", | ||
"type": "content", | "type": "content", | ||
" | "default": "[[{{{game-page}}}|{{{game}}}]]" | ||
} | } | ||
}, | }, |
Revision as of 19:24, 14 December 2020
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 |