Actions

Template

Difference between revisions of "Hidden"

From Unofficial Stationeers Wiki

m (restore centering using same method as template:navbox)
m (52 revisions imported)
 
(12 intermediate revisions by 2 users not shown)
Line 1: Line 1:
<div class="NavFrame {{#if:{{{expanded|}}}||collapsed}} {{{class|}}}" style="border:{{{border|none}}}; {{{style|{{{css|}}}}}}"><div class="NavHead"
+
{{hidden begin|toggle={{{showhide|}}}{{{toggle|}}}|expanded={{{expand|{{{expanded|}}}}}}|class={{{class|}}}|border={{{border|none}}}|style={{{style|{{{css|}}}}}}
style="font-weight:{{{fw1|bold}}}; background:{{{bg1|transparent}}}; text-align:{{{ta1|center}}}; height:auto; {{{headercss|{{{headerstyle|{{{titlestyle|}}}}}}}}}"><div style="margin-right:4em; height:auto"><span style="float:left;width:4em;">&nbsp;</span>{{{title|{{{header|{{{1}}}}}}}}}</div></div>
+
|bg1={{{bg1|transparent}}}|ta1={{{ta1|center}}}|titlestyle={{#if:{{{multiline|{{{multi-line|}}}}}}|height:auto;}}{{#ifeq:{{{fw1|bold}}}|bold||font-weight:{{{fw1|bold}}};}}{{{headercss|{{{headerstyle|{{{titlestyle|}}}}}}}}}
<div class="NavContent" style="font-weight:{{{fw2|normal}}};
+
|title={{#if:{{{multiline|{{{multi-line|}}}}}}|<div style="margin-right:4em;line-height:125%;height:auto;">{{{title|{{{header|{{{1}}}}}}}}}</div>|{{{title|{{{header|{{{1}}}}}}}}}}}
background-color:{{{bg2|transparent}}}; text-align:{{{ta2|left}}};  
+
|bg2={{{bg2|transparent}}}|ta2={{{ta2|left}}}|contentstyle={{#ifeq:{{{fw2|normal}}}|normal||font-weight:{{{fw2|normal}}};}}{{{contentcss|{{{contentstyle|}}}}}} }}
{{{contentcss|{{{contentstyle|}}}}}}">
+
{{{content|{{{contents|{{{text|{{{2}}}}}}}}}}}}{{hidden end}}{{#if:{{{bg1|}}}{{{bg2|}}}{{{ta1|}}}{{{ta2|}}}{{{fw1|}}}{{{fw2|}}}|[[Category:Hidden templates using styles|{{NAMESPACE}}{{PAGENAME}}]]}}<noinclude>
{{{content|{{{contents|{{{2}}}}}}}}}
 
</div></div>{{#if:{{{bg1|}}}{{{bg2|}}}{{{ta1|}}}{{{ta2|}}}{{{fw1|}}}{{{fw2|}}}|[[Category:Hidden templates using styles|{{NAMESPACE}}{{PAGENAME}}]]}}<noinclude>
 
 
{{documentation}}
 
{{documentation}}
 
</noinclude>
 
</noinclude>

Latest revision as of 14:04, 14 July 2018

{{{1}}}
{{{2}}}
Template documentation[create]