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

From SpiralKnights

Jump to: navigation, search
m (Usage)
m (Usage: touchup)
Line 11: Line 11:
 
For show/hiding large amounts of dialogue on pages describing [[:Category:Knights|NPC knights]] or other NPC charcaters.
 
For show/hiding large amounts of dialogue on pages describing [[:Category:Knights|NPC knights]] or other NPC charcaters.
  
Bear in mind that many NPCs show up in more than one place (especially [[Feron]]!) so this template is flexible when it comes to keeping dialogue organized, because it emphasizes the location the dialogue can be initiated.  
+
Keep in mind that many NPCs show up in more than one place - for example, [[Feron]] - so this template is flexible when it comes to keeping dialogue organized, because it emphasizes the location the dialogue can be initiated.  
  
'''Example''':
+
==Code==
 +
<pre>
 +
{{Showhide/Dialogue
 +
|title = TITLE
 +
|content =
 +
'''Map''':
 +
----
 +
<gallery heights = 347px widths = 347px perrow = 1>
 +
File:FILENAME.TYPE|NOTES ABOUT LOCATION
 +
</gallery>
  
<nowiki>
+
'''Dialogue''':
{{Showhide/Dialogue</nowiki><br/><nowiki>
+
----
|title = "LOCATION" in/of "AREA NAME"</nowiki><br/><nowiki>
+
CONTENT
|content = Either text or pictures of the knight's dialogue as well as the player's possible responses</nowiki><br/><nowiki>
+
}}
}}</nowiki><br/>
+
</pre>
  
'''Produces''':
+
==Parameters==
 +
|title
 +
:"LOCATION" in/of "AREA NAME" OR just the character name(s), depending on the page the template is used
  
{{Showhide/Dialogue
+
|content  
|title = "LOCATION" in/of "AREA NAME"
+
:Text or pictures of the knight's dialogue as well as the player's possible responses, and a map showing the location of the dialogue via gallery
|content = Either text or pictures of the knight's dialogue as well as the player's possible responses go here
+
}}
+
  
'''Functioning Example''':
+
==Examples==
*pending
+
See [http://wiki.spiralknights.com/index.php?title=Special:WhatLinksHere/Template:Showhide/Dialogue&limit=500&namespace=0 what links here] for examples of this template in action.
  
 
==See Also==
 
==See Also==
 
[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:05, 27 July 2015

Parameters

Required

Title
Puts a title in the NavHead
Content
Puts content in the NavContent

Usage

For show/hiding large amounts of dialogue on pages describing NPC knights or other NPC charcaters.

Keep in mind that many NPCs show up in more than one place - for example, Feron - so this template is flexible when it comes to keeping dialogue organized, because it emphasizes the location the dialogue can be initiated.

Code

{{Showhide/Dialogue
|title = TITLE
|content = 
'''Map''':
----
<gallery heights = 347px widths = 347px perrow = 1>
File:FILENAME.TYPE|NOTES ABOUT LOCATION
</gallery>

'''Dialogue''':
----
CONTENT
}}

Parameters

|title

"LOCATION" in/of "AREA NAME" OR just the character name(s), depending on the page the template is used

|content

Text or pictures of the knight's dialogue as well as the player's possible responses, and a map showing the location of the dialogue via gallery

Examples

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

See Also

Forum Discussion about this template.

Personal tools