Difference between revisions of "Template:Listbox"
Dinoguy1000 (talk | contribs) (switch to {{Collapse top) |
(Restoring revision 4861571 by User:Dinoguy1000 on 2022-01-14 16:58:39. "TemplateStyles; rm unused parameters") |
||
Line 1: | Line 1: | ||
− | < | + | <templatestyles src="Template:Listbox/styles.css" /> |
+ | {{{templatestyles|}}} | ||
+ | <table class="wikitable listbox {{{class|}}}"> | ||
{{ #if: {{{title<includeonly>|</includeonly>}}} | {{ #if: {{{title<includeonly>|</includeonly>}}} | ||
− | | <caption | + | | <caption>{{{title}}}</caption> |
}} | }} | ||
− | <tr | + | <tr> |
− | {{ #if: {{{list1<includeonly>|</includeonly> | + | {{ #if: {{{list1<includeonly>|</includeonly>}}} |
| <td>{{ | | <td>{{ | ||
#if: {{{list1<includeonly>|</includeonly>}}} | #if: {{{list1<includeonly>|</includeonly>}}} | ||
| {{Collapse top|bg=#ccf|title={{{list1title}}}}} | | {{Collapse top|bg=#ccf|title={{{list1title}}}}} | ||
{{{list1}}} | {{{list1}}} | ||
− | |||
− | |||
− | |||
− | |||
− | |||
{{Collapse bottom}} | {{Collapse bottom}} | ||
}}</td> | }}</td> | ||
− | }}{{ #if: {{{list2|}}} | + | }}{{ #if: {{{list2<includeonly>|</includeonly>}}} |
| <td>{{Collapse top|bg=#ccf|title={{{list2title}}}}} | | <td>{{Collapse top|bg=#ccf|title={{{list2title}}}}} | ||
{{{list2}}} | {{{list2}}} | ||
{{Collapse bottom}}</td> | {{Collapse bottom}}</td> | ||
− | }}{{ #if: {{{list3|}}} | + | }}{{ #if: {{{list3<includeonly>|</includeonly>}}} |
| <td>{{Collapse top|bg=#ccf|title={{{list3title}}}}} | | <td>{{Collapse top|bg=#ccf|title={{{list3title}}}}} | ||
{{{list3}}} | {{{list3}}} | ||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
{{Collapse bottom}}</td> | {{Collapse bottom}}</td> | ||
}} | }} | ||
</tr> | </tr> | ||
</table><noinclude>{{Documentation}}</noinclude> | </table><noinclude>{{Documentation}}</noinclude> |