Template:Columns-list: Difference between revisions

From Zoophilia Wiki
Jump to navigationJump to search
meta>Jonesey95
add default 30em to match div col
m 1 revision imported
 
(10 intermediate revisions by 5 users not shown)
Line 1: Line 1:
<includeonly>{{#if:{{{2|{{{1|}}}}}}|{{div col
<includeonly>{{#if:{{{1|}}}|{{{{{|safesubst:}}}#invoke:Template wrapper|wrap|_template=div col|_alias-map=1:content|colwidth=30em}}}}</includeonly>{{#invoke:Check for unknown parameters|check|unknown={{main other|[[Category:Pages using columns-list with unknown parameters|_VALUE_{{PAGENAME}}]]}}|preview=Page using [[Template:Columns-list]] with unknown parameter "_VALUE_"|ignoreblank=y| 1 | class | content | colwidth | gap | rules | small | style }}<noinclude>
<!-- Support for previous parameter 1= aka cols= has been removed after being deprecated for months for compatibility reasons, use more portable parameter colwidth= instead. -->
| colwidth = {{{colwidth|30em}}}
| gap = {{{gap|}}}
| rules = {{{rules|}}}
| small = {{{small|}}}
| style = {{{style|}}}
| content = {{{2|{{{1|}}}}}}
}}}}{{main other|{{#if: {{{2|}}}|[[Category: Pages using Columns-list with deprecated parameters]]|}}<!-- Note: This logic may seem counter-intuitive. We are looking for the supported parameter 2= (i.e. the content), because if it is present, that means parameter 1= is present. -->}}</includeonly>{{#invoke:Check for unknown parameters|check|unknown={{main other|[[Category:Pages using columns-list with unknown parameters|_VALUE_{{PAGENAME}}]]}}|preview=Page using [[Template:Columns-list]] with unknown parameter "_VALUE_"|ignoreblank=y| 1 | 2 | colwidth | gap | rules | small | style }}<noinclude>
{{documentation}}
{{documentation}}
</noinclude>
</noinclude>

Latest revision as of 22:54, 19 June 2021