Difference between revisions of "Template:Dialogue/doc"
From SpiralKnights
m (created) |
m (Added {{documentation subpage}}) |
||
(17 intermediate revisions by one other user not shown) | |||
Line 1: | Line 1: | ||
+ | <noinclude>{{documentation subpage}}</noinclude> | ||
+ | |||
==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 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== | ==Code== | ||
<pre> | <pre> | ||
− | + | {{Dialogue | |
+ | |character = | ||
+ | |cd = | ||
+ | |pd = | ||
+ | }} | ||
</pre> | </pre> | ||
==Parameters== | ==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== | ==Examples== | ||
See [http://wiki.spiralknights.com/Special:WhatLinksHere/Template:Dialogue what links here] for examples of this template in action. | See [http://wiki.spiralknights.com/Special:WhatLinksHere/Template:Dialogue 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== | ==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. |
Latest revision as of 02:28, 29 August 2015
![]() |
This is a documentation subpage for Template:Dialogue (see that page for the template itself). It contains usage information, categories and other content that is not part of the original template page. |
Contents
[hide]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.