Template:Columns-list: Difference between revisions

From IxWiki
Jump to navigation Jump to search
m 1 revision imported
>Ahecht
If we're making the meat of the template substable, the rest should be too
 
(2 intermediate revisions by 2 users not shown)
Line 1: Line 1:
<includeonly>{{#if:{{{1|}}}|{{div col
{{<includeonly>safesubst:</includeonly>#if:{{{1|}}}|{{<includeonly>safesubst:</includeonly>#invoke:Template wrapper|wrap|_template=div col|_alias-map=1:content|colwidth=30em}}}}{{<includeonly>safesubst:</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 compatibility reasons; use the more accessible parameter colwidth= instead. -->
| colwidth = {{{colwidth|30em}}}
| gap = {{{gap|}}}
| rules = {{{rules|}}}
| small = {{{small|}}}
| style = {{{style|}}}
| content = {{{1|}}}{{#if:{{{2|}}}|<div class="hatnote" style="color:red">The unnamed parameter 2= is no longer supported. Please see the documentation for {{tl|columns-list}}.</div>{{{2|}}}}}
}}}}</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 | colwidth | gap | rules | small | style }}<noinclude>
{{documentation}}
{{documentation}}
</noinclude>
</noinclude>

Latest revision as of 22:07, 21 December 2023