Template:Columns-list: Difference between revisions

From Zoophilia Wiki
Jump to navigationJump to search
meta>Jonesey95
(removing "main other" for deprecated parameter check, since there is significant usage in the Wikipedia namespace)
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.)
Line 7: Line 7:
  | style = {{{style|}}}
  | style = {{{style|}}}
  | content = {{{2|{{{1|}}}}}}
  | content = {{{2|{{{1|}}}}}}
}}}}{{#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>
}}}}{{#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 | colwidth | gap | rules | small | style }}<noinclude>
{{documentation}}
{{documentation}}
</noinclude>
</noinclude>

Revision as of 03:30, 24 July 2018