Difference between revisions of "Hidden"
From Unofficial Stationeers Wiki
(rewrote as a frontend for hidden begin/hidden end (tested in sandbox); which will help keep two in sync and allow use of toggle here :)) |
(add optional multiline=y for multiline titles) |
||
Line 1: | Line 1: | ||
{{hidden begin|toggle={{{showhide|}}}{{{toggle|}}}|expanded={{{expanded|}}}|class={{{class|}}}|border={{{border|none}}}|style={{{style|{{{css|}}}}}} | {{hidden begin|toggle={{{showhide|}}}{{{toggle|}}}|expanded={{{expanded|}}}|class={{{class|}}}|border={{{border|none}}}|style={{{style|{{{css|}}}}}} | ||
− | |bg1={{{bg1|transparent}}}|ta1={{{ta1|center}}}|titlestyle={{#ifeq:{{{fw1|bold}}}|bold||font-weight:{{{fw1|bold}}};}}{{{headercss|{{{headerstyle|{{{titlestyle|}}}}}}}}} | + | |bg1={{{bg1|transparent}}}|ta1={{{ta1|center}}}|titlestyle={{#ifeq:{{{fw1|bold}}}|bold||font-weight:{{{fw1|bold}}};}}{{#if:{{{multiline|}}}|padding-right:4em;line-height:1.3em;}}{{{headercss|{{{headerstyle|{{{titlestyle|}}}}}}}}} |
|title={{{title|{{{header|{{{1}}}}}}}}} | |title={{{title|{{{header|{{{1}}}}}}}}} | ||
|bg2={{{bg2|transparent}}}|ta2={{{ta2|left}}}|contentstyle={{#ifeq:{{{fw2|normal}}}|normal||font-weight:{{{fw2|normal}}};}}{{{contentcss|{{{contentstyle|}}}}}} }} | |bg2={{{bg2|transparent}}}|ta2={{{ta2|left}}}|contentstyle={{#ifeq:{{{fw2|normal}}}|normal||font-weight:{{{fw2|normal}}};}}{{{contentcss|{{{contentstyle|}}}}}} }} |