17,230
edits
(Integrated the edit link and added documentation for it and hide) |
m (left bracket workaround is unnecessary. fixed right bracket within its template.) |
||
(One intermediate revision by the same user not shown) | |||
Line 24: | Line 24: | ||
}}<!-- | }}<!-- | ||
--><div class="{{#var:type}}box {{{class|}}}" style="{{#var:align}} {{#if:{{{width|}}}|width:{{{width}}};}} {{{style|}}}">{{#if:{{{title|}}}|<div class="title" style="text-align:{{{titlealign|center}}}">{{{title}}}{{#if:{{{edit|}}}|<span class{{=}}"edit plainlinks">[{{fullurl:{{{edit}}}|action=edit}} [edit | --><div class="{{#var:type}}box {{{class|}}}" style="{{#var:align}} {{#if:{{{width|}}}|width:{{{width}}};}} {{{style|}}}">{{#if:{{{title|}}}|<div class="title" style="text-align:{{{titlealign|center}}}">{{{title}}}{{#if:{{{edit|}}}|<span class{{=}}"edit plainlinks">[{{fullurl:{{{edit}}}|action=edit}} [edit{{)!}}]</span>}}{{#if:{{{hide|}}}|{{Toggler|default={{{hide}}}}}}}</div>}}<div class="{{#if:{{{hide|}}}|_toggle_init{{{hide}}} _toggle}}">{{#if:{{#var:contents}}|{{#var:contents}}</div></div>}}</includeonly></onlyinclude> | ||
{{Box|title=Example|Default light box with a title.}}{{Box|dark|right|Dark box floated right.}}{{Clear}} | {{Box|title=Example|Default light box with a title.}}{{Box|dark|right|Dark box floated right.}}{{Clear}} | ||