Difference between revisions of "Template:Endorsements box"
Jump to navigation
Jump to search
imported>Izno (drp) |
imported>Reywas92 (seems like this should work) |
||
| Line 1: | Line 1: | ||
<templatestyles src="Endorsements box/styles.css"/><div class="endorsements-box" {{#if:{{{width|}}}|style="width: {{{width}}}"}}><!-- | <templatestyles src="Endorsements box/styles.css"/><div class="endorsements-box" {{#if:{{{width|}}}|style="width: {{{width}}}"}}><!-- | ||
| − | --><div class="endorsements-box-title" {{#if:{{{color|}}}|style="color: {{{color}}}"}}>{{{title|List of political endorsements}}}</div><!-- | + | --><div class="endorsements-box-title mw-collapsible" {{#if:{{{color|}}}|style="color: {{{color}}}"}}>{{{title|List of political endorsements}}}</div><!-- |
--><div class="endorsements-box-list {{#if:{{{columns|}}}{{{colwidth|}}}|endorsements-box-list-columns}}" {{#if:{{{colwidth|}}}|style="column-width: {{{colwidth}}};"}}> | --><div class="endorsements-box-list {{#if:{{{columns|}}}{{{colwidth|}}}|endorsements-box-list-columns}}" {{#if:{{{colwidth|}}}|style="column-width: {{{colwidth}}};"}}> | ||
{{{list}}} | {{{list}}} | ||
Revision as of 07:55, 6 January 2021
List of political endorsements
{{{list}}}
File:Test Template Info-Icon - Version (2).svg Template documentation[view] [edit] [history] [purge]
Script error: No such module "Uses TemplateStyles".
{{Endorsements box
| title = Example without columns
| list =
* Item 1
* Item 2
}}
Example without columns
- Item 1
- Item 2
Any value in the |columns= parameter will create a list with column widths of 35em.
{{Endorsements box
| title = Example with columns
| columns = yes
| list =
* Item 1
* Item 2
* Item 3
* Item 4
}}
Example with columns
- Item 1
- Item 2
- Item 3
- Item 4
| The above documentation is transcluded from Template:Endorsements box/doc. (edit | history) Editors can experiment in this template's sandbox (edit | diff) and testcases (edit) pages. Please add categories to the /doc subpage. Subpages of this template. |