Template:Dialogue: Difference between revisions
Appearance
Cdjensen94 (talk | contribs) No edit summary |
Cdjensen94 (talk | contribs) No edit summary |
||
Line 2: | Line 2: | ||
<blockquote> | <blockquote> | ||
<div class="dialogue-box"> | <div class="dialogue-box"> | ||
<div class="dialogue-character {{{ | <!-- First set --> | ||
<div class="dialogue-line">“{{{line|...}}}”</div> | <div class="dialogue-character">{{{char1|Unknown}}}</div> | ||
<div class="dialogue-line">“{{{line1|...}}}”</div> | |||
<!-- Second set (optional) --> | |||
{{#if:{{{char2|}}}| | |||
<div class="dialogue-character">{{{char2}}}</div> | |||
<div class="dialogue-line">“{{{line2|...}}}”</div> | |||
}} | |||
<!-- Third set (optional) --> | |||
{{#if:{{{char3|}}}| | |||
<div class="dialogue-character">{{{char3}}}</div> | |||
<div class="dialogue-line">“{{{line3|...}}}”</div> | |||
}} | |||
<!-- Fourth set (optional) --> | |||
{{#if:{{{char4|}}}| | |||
<div class="dialogue-character">{{{char4}}}</div> | |||
<div class="dialogue-line">“{{{line4|...}}}”</div> | |||
}} | |||
</div> | </div> | ||
</blockquote></includeonly><noinclude>{{Documentation}}<templatedata> | </blockquote></includeonly><noinclude>{{Documentation}}<templatedata> | ||
{ | { | ||
"params": { | "params": { | ||
" | "char1": { | ||
"type": "wiki-page-name", | "type": "wiki-page-name", | ||
"required": true | "required": true | ||
}, | }, | ||
" | "line1": { | ||
"type": "string", | "type": "string", | ||
"required": true | "required": true | ||
}, | |||
"char2": { | |||
"type": "wiki-page-name" | |||
}, | |||
"line2": { | |||
"type": "string" | |||
}, | |||
"char3": { | |||
"type": "wiki-page-name" | |||
}, | |||
"line3": { | |||
"type": "string" | |||
}, | |||
"char4": { | |||
"type": "wiki-page-name" | |||
}, | |||
"line4": { | |||
"type": "string" | |||
} | } | ||
} | } | ||
} | } | ||
</templatedata></noinclude> | </templatedata></noinclude> |
Revision as of 02:53, 10 March 2025
Template documentation
|
---|
Note: portions of the template sample may not be visible without values provided. |
View or edit this documentation. (About template documentation) |
Editors can experiment in this template's sandbox and test case pages. |
{{Dialogue |char1 = Keta |line1 = Hi }} {{Dialogue |char1 = Ig'nar |line1 = Hello }}
Keta“Hi”
Ig'nar“Hello!”
No description.
Parameter | Description | Type | Status | |
---|---|---|---|---|
char1 | char1 | no description | Page name | required |
line1 | line1 | no description | String | required |
char2 | char2 | no description | Page name | optional |
line2 | line2 | no description | String | optional |
char3 | char3 | no description | Page name | optional |
line3 | line3 | no description | String | optional |
char4 | char4 | no description | Page name | optional |
line4 | line4 | no description | String | optional |