Jump to content
Toggle menu
  • 8 articles
  • 75 files
  • 7 users
  • 37.8K edits
Neodyland Wiki
Toggle preferences menu
Toggle personal menu
Not logged in
Your IP address will be publicly visible if you make any edits.

Template:Collapse: Difference between revisions

Template page
m
remove navbox class to paramatize more of the styling
Line 1: Line 1:
{| class="collapsible collapsed navbox" style="border:{{{border-w|1px}}} {{{border-s|solid}}} {{{border-c|#aaa}}}; background-color:{{{background-c|#fff}}}"
{| class="collapsible collapsed" style="width:{{{width|100%}}}; margin:{{{margin|auto}}}; clear:{{{clear|both}}}; padding:1px; border:{{{border-w|1px}}} {{{border-s|solid}}} {{{border-c|#aaa}}}; background:{{{background-c|#fff}}}; font-size:{{{header-fs|{{{font-size|88%}}}}}};"
!colspan="0" style="{{#ifeq:{{{header-align}}}|center|padding-left:6.4em;}} padding-right:.4em; text-align:{{{header-align|center}}}; background-color:{{{header-c|#e0e0e0}}}"|{{{title}}}
!colspan="0" style="padding-left:{{#ifeq:{{{header-align}}}|center|6.4|1}}em; padding-right:.4em; text-align:{{{header-align|center}}}; background-color:{{{header-c|#e0e0e0}}}"|{{{title}}}
|-
|-
|style="text-align:{{{align|left}}}"|
|style="text-align:{{{align|left}}}; font-size:{{{font-size|88%}}};"|
{{{1}}}
{{{1}}}
|}<noinclude>
|}<noinclude>
Line 16: Line 16:
* <code>border-s</code> = border style {{grey|(default: solid)}}
* <code>border-s</code> = border style {{grey|(default: solid)}}
* <code>header-c</code> = header color {{grey|(default: #e0e0e0)}}
* <code>header-c</code> = header color {{grey|(default: #e0e0e0)}}
* <code>header-align</code> = header alignment {{grey|(default: center)}}
* <code>font-size</code> = size of header and body text {{grey|(default: 88%)}}
* <code>align</code> = content alignment {{grey|(default: left)}}
* <code>header-fs</code> = size of header text {{grey|(default: 88% or '<tt>font-size</tt>' if set)}}
View source for additional parameters.
<!--
<!--
The title is shifted slightly to the left due to the show/hide button. This can be corrected by declaring '<tt>header-align</tt>' equal to '<tt>center</tt>' (even though that's already the default).
The title is shifted slightly to the left due to the show/hide button. This can be corrected by declaring '<tt>header-align</tt>' equal to '<tt>center</tt>' (even though that's already the default).

Revision as of 20:12, 23 August 2008



⧼usage⧽: {{collapsed|title=title|content}}

Optional parameters:

View source for additional parameters.

Cookies help us deliver our services. By using our services, you agree to our use of cookies.