Difference between revisions of "Template:Dialogue/Showhide/doc"

From SpiralKnights

Jump to: navigation, search
m
m (Examples)
Line 21: Line 21:
 
==Examples==
 
==Examples==
 
See [http://wiki.spiralknights.com/index.php?title=Special%3AWhatLinksHere&target=Template%3ADialogue%2FShowhide&namespace=0 what links here] for examples of this template in action.
 
See [http://wiki.spiralknights.com/index.php?title=Special%3AWhatLinksHere&target=Template%3ADialogue%2FShowhide&namespace=0 what links here] for examples of this template in action.
 +
:NPC pages (NAME Dialogue/Location) do not use this optional template, revealing an entire dialogue (entered into [[:Template:Dialogue]]) alone on its own page for easy reading. A dialogue page is inserted into the showhide via <nowiki>{{:NAME OF DIALOGUE PAGE}}</nowiki> for optional reading on pages with other information.

Revision as of 17:01, 29 July 2015

Usage

For use with Template:Dialogue to hide long dialogue sections as desired, when the information is useful but interrupts the flow of a page.

Code

{{Dialogue/Showhide
|title   = 
|content = 
}}

Parameters

|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

|content

What appears within the showhide. Please link to the appropriate dialogue page, like so: {{:Rhendon Dialogue/Should You Choose to Accept}}

Examples

See what links here for examples of this template in action.

NPC pages (NAME Dialogue/Location) do not use this optional template, revealing an entire dialogue (entered into Template:Dialogue) alone on its own page for easy reading. A dialogue page is inserted into the showhide via {{:NAME OF DIALOGUE PAGE}} for optional reading on pages with other information.
Personal tools