Template:Dialogue: Difference between revisions
Cdjensen94 (talk | contribs) |
Cdjensen94 (talk | contribs) |
||
| (3 intermediate revisions by the same user not shown) | |||
| Line 1: | Line 1: | ||
<includeonly><templatestyles src="Template:Dialogue/styles.css" /> | <includeonly><templatestyles src="Template:Dialogue/styles.css" /> | ||
<div class="dialogue-box"> | <blockquote><div class="dialogue-box"> | ||
<div class="dialogue-character">{{{char1|Unknown}}}</div> | <div class="dialogue-character">[[{{{char1|Unknown}}}]]</div> | ||
<div class="dialogue-line">“{{{line1|...}}}”</div> | <div class="dialogue-line">“{{{line1|...}}}”</div> | ||
</div> | {{#if:{{{char2|}}}| | ||
<div class="dialogue-character">[[{{{char2}}}]]</div> | |||
<div class="dialogue-line">“{{{line2}}}”</div> | |||
}}{{#if:{{{char3|}}}| | |||
<div class="dialogue-character">[[{{{char3}}}]]</div> | |||
<div class="dialogue-line">“{{{line3}}}”</div> | |||
}}{{#if:{{{char4|}}}| | |||
<div class="dialogue-character">[[{{{char4}}}]]</div> | |||
<div class="dialogue-line">“{{{line4}}}”</div> | |||
}}</div></blockquote> | |||
</includeonly> | </includeonly> | ||
<noinclude>{{Documentation}}[[Template:Dialogue/styles.css|styles.css]]<templatedata> | <noinclude>{{Documentation}}[[Template:Dialogue/styles.css|styles.css]]<templatedata> | ||
| Line 15: | Line 24: | ||
"type": "string", | "type": "string", | ||
"required": true | "required": true | ||
}, | |||
"char2": { | |||
"type": "wiki-page-name", | |||
"required": true | |||
}, | |||
"line2": { | |||
"type": "string", | |||
"required": true | |||
}, | |||
"char3": { | |||
"type": "wiki-page-name" | |||
}, | |||
"line3": { | |||
"type": "string" | |||
}, | |||
"char4": { | |||
"type": "wiki-page-name" | |||
}, | |||
"line4": { | |||
"type": "string" | |||
} | } | ||
} | } | ||
} | } | ||
</templatedata></noinclude> | </templatedata></noinclude> | ||
Latest revision as of 10:59, 24 October 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 = Keta
|line1 = Hi
|char2 = Ig'nar
|line2 = Hello!
}}
“Hi”
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 | required |
| line2 | line2 | no description | String | required |
| 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 |