Difference between revisions of "Template:Listboxformat"
Jump to navigation
Jump to search
imported>Isadora (Created this template for use in making listbox templates; it's shorthand for listbox formatting.) |
imported>Isadora (Added a code snippet to make all listboxes using this template collapsible and collapsed by default, to save some screen real estate while maintaining the box's convenience.) |
||
| Line 1: | Line 1: | ||
<includeonly>class="collapsible collapsed infobox {{{class|}}}" style="background-color: #f9f9f9; border: 1px solid #aaa; font-size: 90%; margin: 1em auto; padding: 2px; text-align: center; width: 60%; {{{1|}}}</includeonly> | <includeonly>class="mw-collapsible mw-collapsed infobox {{{class|}}}" style="background-color: #f9f9f9; border: 1px solid #aaa; font-size: 90%; margin: 1em auto; padding: 2px; text-align: center; width: 60%; {{{1|}}}</includeonly> | ||
<noinclude>This is a template used in the construction of listbox templates. To use it, call <nowiki>{{listboxformat}}</nowiki> at the beginning of the listbox's template; the listbox will then be formatted with the appropriate border, font size, margin, padding, text alignment and width for a standard wiki-style listbox.</noinclude> | <noinclude>This is a template used in the construction of listbox templates. To use it, call <nowiki>{{listboxformat}}</nowiki> at the beginning of the listbox's template; the listbox will then be formatted with the appropriate border, font size, margin, padding, text alignment and width for a standard wiki-style listbox.</noinclude> | ||
Latest revision as of 16:11, 21 July 2019
This is a template used in the construction of listbox templates. To use it, call {{listboxformat}} at the beginning of the listbox's template; the listbox will then be formatted with the appropriate border, font size, margin, padding, text alignment and width for a standard wiki-style listbox.