Difference between revisions of "Template:Dialogue/doc"
From SpiralKnights
m (created) |
m |
||
Line 1: | Line 1: | ||
==Usage== | ==Usage== | ||
− | To replicate the appearance of in-game dialogue. | + | To replicate the appearance of in-game dialogue. Please make dialogues on their own pages, like so: [[Kora Dialogue/Welcome to Haven!]], with <nowiki><noinclude>[[Category:Dialogues]]</noinclude></nowiki> right after the last <nowiki>}}</nowiki> . |
+ | |||
+ | Then link to them as needed like so: | ||
+ | <nowiki>{{:Kora Dialogue/Welcome to Haven!}}</nowiki> | ||
+ | |||
+ | 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== | ==Code== | ||
<pre> | <pre> | ||
− | + | {{Dialogue | |
+ | |title = | ||
+ | |location = | ||
+ | |character = | ||
+ | |cd 1 = | ||
+ | |pd 1 = | ||
+ | |cd 2 = | ||
+ | |pd 2 = | ||
+ | |cd 3 = | ||
+ | |pd 3 = | ||
+ | |cd 4 = | ||
+ | |pd 4 = | ||
+ | |cd 5 = | ||
+ | |pd 5 = | ||
+ | |cd 6 = | ||
+ | |pd 6 = | ||
+ | |cd 7 = | ||
+ | |pd 7 = | ||
+ | |cd 8 = | ||
+ | |pd 8 = | ||
+ | |cd 9 = | ||
+ | |pd 9 = | ||
+ | |cd 10 = | ||
+ | |pd 10 = | ||
+ | }} | ||
</pre> | </pre> | ||
==Parameters== | ==Parameters== | ||
− | + | ===Required=== | |
+ | |title | ||
+ | :the title text near the icon in the showhide. Please link these with <nowiki>[[PAGE LINKED TO]]</nowiki>. These should be used under certain conditions: | ||
+ | ::Character Name: if the dialogue template is used on a page that is a location | ||
+ | ::Location Name: if the dialogue template is used on a page that is that character's page | ||
+ | |character | ||
+ | :the name of the character - do not use brackets etc. Just the name. | ||
+ | |cd 1 | ||
+ | :character dialogue. | ||
+ | |pd 1 | ||
+ | :player response to the character dialogue. | ||
+ | |||
+ | ===Optional=== | ||
+ | |location | ||
+ | :The location of the dialogue. Please don't use this for missions. | ||
+ | |||
+ | |cd 2+ | ||
+ | :Additional dialogue from character | ||
+ | :cd = character dialogue | ||
+ | |||
+ | |pd 2+ | ||
+ | :Additional responses from player | ||
+ | :pd = character dialogue | ||
+ | |||
+ | |character 2+ | ||
+ | :If there is more than one character in the conversation, line up the number with the right box in the vertical order and type their name here. | ||
==Examples== | ==Examples== | ||
Line 14: | Line 70: | ||
==Notes== | ==Notes== | ||
− | |||
− | |||
[http://forums.spiralknights.com/en/node/107407 Forum Discussion] about this template. | [http://forums.spiralknights.com/en/node/107407 Forum Discussion] about this template. |
Revision as of 16:45, 28 July 2015
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 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 |title = |location = |character = |cd 1 = |pd 1 = |cd 2 = |pd 2 = |cd 3 = |pd 3 = |cd 4 = |pd 4 = |cd 5 = |pd 5 = |cd 6 = |pd 6 = |cd 7 = |pd 7 = |cd 8 = |pd 8 = |cd 9 = |pd 9 = |cd 10 = |pd 10 = }}
Parameters
Required
|title
- the title text near the icon in the showhide. Please link these with [[PAGE LINKED TO]]. These should be used under certain conditions:
- Character Name: if the dialogue template is used on a page that is a location
- Location Name: if the dialogue template is used on a page that is that character's page
|character
- the name of the character - do not use brackets etc. Just the name.
|cd 1
- character dialogue.
|pd 1
- player response to the character dialogue.
Optional
|location
- The location of the dialogue. Please don't use this for missions.
|cd 2+
- Additional dialogue from character
- cd = character dialogue
|pd 2+
- Additional responses from player
- pd = character dialogue
|character 2+
- If there is more than one character in the conversation, line up the number with the right box in the vertical order and type their name here.
Examples
See what links here for examples of this template in action.
Notes
Forum Discussion about this template.