Template:Cite dialog: Difference between revisions

From Guild of Archivists
(Added extra convenience parameters, mirroring Template:Cite journal)
(Add to 'Citation templates' category.)
 
(One intermediate revision by one other user not shown)
Line 1: Line 1:
{{{speaker}}}. {{{scene-nolink|[[{{{scene-page|Reference:{{{author}}}, {{{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}}}]].

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

This template is a way to ensure that dialog scenes are cited using the appropriate citation formatting.

Template parameters

This template prefers inline formatting of parameters.

ParameterDescriptionTypeStatus
Speakerspeaker

The person speaking in the dialog scene.

Example
Atrus
Stringrequired
Scene titlescene

A short name for the dialog scene. A wikilink to the corresponding reference page is added automatically.

Example
Forechamber recording
Stringrequired
Scene page namescene-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.

Default
Reference:{{{speaker}}}, {{{journal}}}
Example
Reference:Atrus, forechamber recording
Page nameoptional
Scene title (no automatic wikilink)scene-nolink

A short name for the dialog scene. May contain arbitrary wiki markup; no automatic wikilink is added.

Default
[[{{{scene-page}}}|{{{scene}}}]]
Example
[[Reference:Atrus, forechamber recording|Forechamber recording]]
Contentoptional
Game namegame

The game that the dialog scene 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.

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