Difference between revisions of "Template:FlipBox"

From Kerbal Space Program Wiki
Jump to: navigation, search
(+based on http://www.stargate-wiki.de/wiki/Vorlage:Klappbox)
 
Line 1: Line 1:
{{#ifeq:{{uc:{{{1|}}}}}|END|</div></div>|<div class="mw-collapsible {{#ifeq:{{uc:{{{status|HIDDEN}}}}}|HIDDEN|mw-collapsed|}}" style="{{{style|clear:both; padding: 5px; padding-bottom: 3px; border:1px solid #A7D7F9; background-color:#fbfbfb; width:{{{width|100}}}%;}}};">{{#if: {{{image|}}}|<span style="position: static; overflow: hidden; white-space: nowrap; padding-bottom: 10px;">[[File:{{{image}}}|{{{imagewidth|20}}}px|link=]]</span>}}<span vertical-align="text-bottom" style="margin-left:{{{titleposition|0}}}%;">{{{title}}}</span><div class="mw-collapsible-content" style="{{{style-content|padding: 5px; padding-top: 10px;}}}">{{#ifeq:{{uc:{{{1|}}}}}|START||{{{content}}}</div></div>}}}}
+
{{#ifeq:{{uc:{{{1|}}}}}|END|</div></div>|<div class="mw-collapsible {{#ifeq:{{uc:{{{status|HIDDEN}}}}}|HIDDEN|mw-collapsed|}}" style="{{{style|clear:both; padding: 5px; padding-bottom: 3px; border:1px solid #A7D7F9; background-color:#fbfbfb; width:{{{width|100}}}%;}}};">
 +
{{#if: {{{style-header|}}}|<div style="{{{style-header}}}">}}{{#if: {{{image|}}}|<span style="position: static; overflow: hidden; white-space: nowrap; padding-bottom: 10px;">[[File:{{{image}}}|{{{imagewidth|20}}}px|link=]]</span>}}<span vertical-align="text-bottom" style="margin-left:{{{titleposition|0}}}%;">{{{title}}}</span>{{#if: {{{style-header|}}}|</div>}}<div class="mw-collapsible-content" style="{{{style-content|padding: 5px; padding-top: 10px;}}}">{{#ifeq:{{uc:{{{1|}}}}}|START||{{{content}}}</div></div>}}}}

Revision as of 21:46, 23 March 2013

{{{title}}}
{{{content}}}