Template:Columns-list: Difference between revisions
From Zoophilia Wiki
Jump to navigationJump to search
meta>Jonesey95 rm parameter 2 from the unknown parameter check so that an error message will display in preview. Easier to find errors in long pages that way. |
meta>Jonesey95 Update from sandbox; see talk page. |
||
Line 1: | Line 1: | ||
<includeonly>{{#if: | <includeonly>{{#if:{{{1|}}}|{{div col | ||
<!-- Support for previous parameter 1= aka cols= has been removed after being deprecated | <!-- 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}}} | | colwidth = {{{colwidth|30em}}} | ||
| gap = {{{gap|}}} | | gap = {{{gap|}}} | ||
Line 6: | Line 6: | ||
| small = {{{small|}}} | | small = {{{small|}}} | ||
| style = {{{style|}}} | | style = {{{style|}}} | ||
| content = | | content = {{#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>}}{{{1|}}} | ||
}}}}</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> |