Mall:Columns-list: Skillnad mellan sidversioner

Från Järnvägsdata
Lok>JohanahoJ
m (+ mallkategori)
 
jarnvagsdata>WOSlinker
(add 2 param back in for viewing previous revisions of articles)
Rad 1: Rad 1:
<includeonly><div class="div-col columns <!--
<includeonly>{{#if:{{{1|}}}|{{div col
-->{{#if: {{{colwidth|{{{2|}}}}}}
<!-- Support for previous parameter 1= aka cols= has been removed after being deprecated for compatibility reasons; use the more accessible parameter colwidth= instead. -->
    | column-width
| colwidth = {{{colwidth|30em}}}
    | column-count column-count-{{{cols|{{{1|2}}}}}} }}" style="<!--
  | gap = {{{gap|}}}
  -->{{#if: {{{colwidth|}}}|{{column-width|{{{colwidth}}}}}
| rules = {{{rules|}}}
      | {{#if: {{{1|}}}|{{column-count|{{{1}}}}}}}  
| small = {{{small|}}}
    }} <!--
| style = {{{style|}}}
  -->{{#if: {{{rules|}}}
  | 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|}}}}}
    | {{#ifeq:{{{rules}}}|yes
}}}}</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>
      | {{column-rule}}
{{documentation}}
      | {{column-rule|{{{rules}}}}} }} }} <!--
-->{{#ifeq: {{{small|}}}|yes
    | font-size:90%; }} <!--
-->{{#if: {{{style|}}}
    | {{{style}}} }}">{{{2|{{{1|}}} }}}</div></includeonly><noinclude>
{{dokumentation}}
[[Kategori:Formaterings- och funktionsmallar]]
</noinclude>
</noinclude>

Versionen från 17 april 2019 kl. 11.52

[skapa] [rensa sidcachen]

Test Template Info-Icon.svg Dokumentation