Template:Columns-list: Difference between revisions

From Zoophilia Wiki
Jump to navigationJump to search
meta>Jonesey95
All deprecated parameters have been removed in article space. Removing support for the unnamed first parameter (all 2= have been shifted to 1=).
meta>Gonzo fan2007
Undid revision 851196936 by Jonesey95 (talk) Undo for now, breaking WP:RECOG template. See talk page
Line 1: Line 1:
<includeonly>{{#if:{{{1|}}}|{{div col
<includeonly>{{#if:{{{2|{{{1|}}}}}}|{{div col
  <!-- Support for previous parameter 1= aka cols= has been removed after being deprecated for months for compatibility reasons, use more portable parameter colwidth= instead. -->
  <!-- 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}}}
  | colwidth = {{{colwidth|30em}}}
Line 6: Line 6:
  | small = {{{small|}}}
  | small = {{{small|}}}
  | style = {{{style|}}}
  | style = {{{style|}}}
  | content = {{{1|}}}
  | content = {{{2|{{{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>
}}}}{{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>

Revision as of 21:45, 20 July 2018