Difference between revisions of "Template:Dialogue"
From SpiralKnights
m (test) |
m (force height) |
||
(5 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
− | <includeonly>{{ | + | <includeonly>{| cellpadding="0" cellspacing="0" align="{{{align|*}}}" style="width: {{{width|400px}}}; border: {{{border-width|5px}}} {{{border-type|transparent}}} #000000; background: #ebc94d; margin: {{{margin|0px}}}; border-radius: 14px;" |
− | + | |- | |
− | + | | <table cellpadding="0" cellspacing="10" width="100%" style="background: none; height: 39px; color: #000000"><tr> | |
− | + | <td align="left"><big><big><big>{{#if:{{{character|}}}|'''''{{{character|Character Name}}}'''''|}}</big></big></big></td> | |
− | | | + | </tr></table> |
− | + | |- | |
− | | | + | | align="center" | |
− | + | {| cellpadding="0" cellspacing="5" align="center" valign="top" style="border: {{{body border-width|5px}}} {{{border-type|solid}}} #D1DDF2; background: #BACAE0; width: 100%; height:{{{height|300px}}}; border-radius: 10px; color: #114255" | |
− | + | | valign = "top" | <big>{{{cd}}}</big> | |
− | + | |} | |
− | + | |} | |
− | + | *{{{pd}}}</includeonly><noinclude> | |
− | + | {{documentation}}<noinclude> | |
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | | | + | |
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | | | + | |
− | | | + | |
− | + | ||
− | + | ||
− | | | + | |
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | | | + | |
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | | | + | |
− | | | + | |
− | + | ||
− | *{{{pd | + | |
− | + | ||
− | }}</includeonly><noinclude> | + | |
− | {{documentation}}< | + |
Latest revision as of 22:17, 30 December 2015
[edit] [ ] Template documentation
Contents
Usage
To replicate the appearance of in-game dialogue. Please make dialogues on their own pages, like so: Kora Dialogue/Welcome to Haven!, with <noinclude>[[Category:Dialogues]]</noinclude> right after the last }} .
Then link to them as needed like so: {{:Kora Dialogue/Welcome to Haven!}} - this is template friendly. Have not encountered problems yet.
It is optional to hide this dialogue with Template:Dialogue/Showhide.
This way, users can:
- Find dialogues in bulk quickly via Category:Dialogues
- Update a dialogue that appears in more than one spot in the game/wiki right away and consistently.
Code
{{Dialogue |character = |cd = |pd = }}
Parameters
Required
|character
- the name of the character - do not use brackets etc. Just the name.
|cd
- character dialogue.
|pd
- player response to the character dialogue.
Examples
See what links here for examples of this template in action.
- The NPC pages (NAME Dialogue/Location) do not use the optional Template:Dialogue/Showhide, revealing the entire dialogue alone on its own page for easy reading.
- The other mainspace pages do. The dialogue page is inserted into the showhide for optional reading on pages with other information.
Notes
Forum Discussion about this template.
The above documentation is transcluded from Template:Dialogue/doc. (edit | history) Editors can experiment in this template's sandbox (create) and testcases (create) pages. Please add categories and interwikis to the /doc subpage. Subpages of this template. |