Difference between revisions of "Template:FlipBox"
From Kerbal Space Program Wiki
(+cat; +documentation;) |
m (*replace 'Parameter Row' and 'ParameterRow' by 'Parameter row';) |
||
Line 3: | Line 3: | ||
{{Parameter Table|name=both|parameters= | {{Parameter Table|name=both|parameters= | ||
− | {{ | + | {{Parameter row|title|Title}} |
− | {{ | + | {{Parameter row|content|Content of the box. Isn't visible if {{{1}}} is set to start.}} |
− | {{ | + | {{Parameter row|1|Closes the box if <tt>end</tt> and only opens it with <tt>start</tt>. If not set it is closed.|Not set/Closed}} |
− | {{ | + | {{Parameter row|status|Is collapsed by default when <tt>hidden</tt>.|<tt>Hidden</tt>}} |
− | {{ | + | {{Parameter row|style|Style of surrounding box.|3=<tt style="white-space:nowrap;">clear:both; padding: 5px; padding-bottom: 3px; border:1px solid #A7D7F9; background-color:#fbfbfb; width:{{{width}}}%;</tt>}} |
− | {{ | + | {{Parameter row|width|Width in percent.|100}} |
− | {{ | + | {{Parameter row|style-header|Separate style of header.|Not set}} |
− | {{ | + | {{Parameter row|image|Image left to the title.|Not set}} |
− | {{ | + | {{Parameter row|titleposition|Margin from the left of the title position in percent.|0}} |
− | {{ | + | {{Parameter row|style-content|Separate style of the content box.|3=<tt style="white-space:nowrap;">padding: 5px; padding-top: 10px;</tt>}} |
}} | }} | ||
[[Category:Templates]]</noinclude> | [[Category:Templates]]</noinclude> |
Revision as of 20:49, 26 November 2014
{{{title}}}
Creates a box which could be expanded or retracted.
{{{content}}}