Vorlage:Div col

Aus ABV-Essingen
Version vom 13. Januar 2014, 21:01 Uhr von Christoph.Rehers (Diskussion | Beiträge) (Die Seite wurde neu angelegt: „<includeonly><div class="div-col columns <!-- -->{{#if: {{{colwidth|{{{2|}}}}}} | column-width | column-count column-count-{{{cols|{{{1|2}}}}}} }}" st…“)
(Unterschied) ← Nächstältere Version | Aktuelle Version (Unterschied) | Nächstjüngere Version → (Unterschied)
Wechseln zu: Navigation, Suche

Vorlage:Documentation

TemplateData

Vorlage:TemplateDataHeader

<templatedata> {

   "description": "Breaks a list into columns. It automatically breaks each column to an equal space, so you do not manually have to find the half way point on two columns. The list is closed with Vorlage:Div col end.",
   "params": {
       "cols": {
           "label": "cols",
           "description": "Specifies the number of columns.",
           "type": "string",
           "default": "2",
           "aliases": ["1"],
           "required": false
       },
       "colwidth": {
           "label": "colwidth",
           "description": "Specifies the width of columns, and determines dynamically the number of columns based on screen width; more columns will be shown on wider displays. This overrides the 'cols' setting.",
           "type": "string",
           "aliases": ["2"],
           "required": false
       },
       "rules": {
           "label": "rules",
           "description": "Produces vertical rules between the columns if set to yes.",
           "type": "string",
           "required": false
       },
       "small": {
           "label": "small",
           "description": "Specifies small font size (90%) if set to yes.",
           "type": "string",
           "required": false
       },
       "style": {
           "label": "style",
           "description": "Specify any custom styling.",
           "type": "string",
           "required": false
       }
   }

} </templatedata>