Difference between revisions of "Template:Exploration/Showhide"

From SpiralKnights

Jump to: navigation, search
m (test)
m (moved bubble into its own template, pending file names for the module visuals)
Line 1: Line 1:
<includeonly><div class="NavFrame {{{state|collapsed}}}" style="width:410px; height:auto; background:#CCCCFF; border-color:#000000; border-radius: 10px; border-width:2px; padding: 0px 0px 0px 0px;"><div style="text-align:left; height:28px; color: #000000; background:transparent; padding: 5px 5px 5px 5px; font-size:120%;" class="NavHead">[[File:Exploration-{{{type}}} Module icon.png|28x28px]]&nbsp;&nbsp;{{{type}}} Module</div><div style="text-align:left; height:auto; background:#FFF; border-width:5px; padding: 5px 5px {{#switch:{{{display|}}}|#default=5px|bubble=18px}} 5px; border-color:#114255; border-radius:7px; font-size:120%;" class="NavContent">{{#switch:{{{display|}}}
+
<div class="NavFrame {{{state|collapsed}}}" style="width:410px; height:auto; background:#CCCCFF; border-color:#000000; border-radius: 10px; border-width:2px; padding: 0px 0px 0px 0px;"><div style="text-align:left; height:28px; color: #000000; background:transparent; padding: 5px 5px 5px 5px; font-size:120%;" class="NavHead">[[File:Exploration-{{{type}}} Module icon.png|28x28px]]&nbsp;&nbsp;{{{type}}} Module</div><div style="text-align:left; height:auto; background:#c7dbea; border-width:5px; padding: 5px 5px {{#switch:{{{display|}}}|#default=5px|bubble=18px}} 5px; border-color:#114255; border-radius:7px; font-size:120%;" class="NavContent">
 
+
{{{content}}}
|#default={{{content}}}
+
</div></div><noinclude>
 
+
|bubble=
+
<center><div style="text-align:left; width:227px; height:7px; color: #BA588C; background:transparent; padding: 5px 5px 5px 0px; font-size:120%;" class="NavContent"><big>'''{{{intro}}}'''</big></div><div style="text-align:center; width:227px; color: #ebc94d; background:#373737; padding: 5px 20px 5px 20px; font-size:120%; border-radius:25px;" class="NavContent"><br>{{{content}}}<br><br></div></center>
+
}}</div></div></includeonly><noinclude>
+
 
{{documentation}} [[Category:Showhide Templates]]</noinclude>
 
{{documentation}} [[Category:Showhide Templates]]</noinclude>

Revision as of 03:54, 10 September 2015

[edit] [purge] Template documentation

Might want to separate the bubble template from the show/hide in case we want to have more bubbles in a showhide named "Information Modules" for areas that have a bunch, such as Faith in Armor. It would then work similar to Template:Dialogue/Showhide.

Personal tools