Vorlage:Multi-column list/Dokumentation

Aus Terraria Wiki
Wechseln zu: Navigation, Suche
Important.svg Diese Seite ist nicht oder unvollständig übersetzt.
Hilf mit, indem du den Text übersetzt und anschließend diesen Hinweis entfernst. Dies entfernt diese Seite auch aus der Liste von Seiten mit unzureichender Übersetzung.

Create a responsive multi-column list. Acceptable shortcut: {{mclist}}.

You can use {{mclist/options}} to change default value for option parameters.

Usage[Quelltext bearbeiten]

Parameters:

  • All Unamed parameters: contents of every list item.
  • optional width: item width, accept any css width, default is 10em.
  • optional columns: Can be width value (will override width parameter) or column count.
  • optional gap: value for css column-gap attribute.
  • optional rule: value for css column-rule attribute.
  • optional class: css class(es).
  • optional id: id attribute.
  • optional css or style: custom css rules applied to list items.
  • optional boxcss or boxstyle: custom css rules applied to wrapper box.

Example[Quelltext bearbeiten]

{{mclist
|{{item|Handgun}}
|{{item|bunny}}
|{{item|butterfly}}
|{{item|Flamarang}}
|{{item|Handgun}}
|{{item|Hellstone Bar}}
|{{item|Fiery Greatsword}}
|{{item|Handgun}}
|{{item|bunny}}
|{{item|butterfly}}
|{{item|Flamarang}}
|{{item|Handgun}}
|{{item|Hellstone Bar}}
|{{item|Fiery Greatsword}}
|{{item|Handgun}}
|{{item|bunny}}
|{{item|butterfly}}
|{{item|Flamarang}}
|{{item|Handgun}}
|{{item|Hellstone Bar}}
|{{item|Fiery Greatsword}}
|{{item|Handgun}}
|{{item|bunny}}
|{{item|butterfly}}
|{{item|Flamarang}}
|{{item|Handgun}}
|{{item|Hellstone Bar}}
|{{item|Fiery Greatsword}}
|{{item|Handgun}}
|{{item|bunny}}
|{{item|butterfly}}
|{{item|Flamarang}}
|{{item|Handgun}}
|{{item|Hellstone Bar}}
|{{item|Fiery Greatsword}}
|{{item|Handgun}}
|{{item|bunny}}
|{{item|butterfly}}
|{{item|Flamarang}}
|{{item|Handgun}}
|{{item|Hellstone Bar}}
|{{item|Fiery Greatsword}}
|{{item|Handgun}}
|{{item|bunny}}
|{{item|butterfly}}
|{{item|Flamarang}}
|{{item|Handgun}}
|{{item|Hellstone Bar}}
|{{item|Fiery Greatsword}}
}}

will result:

{{mclist|width=30em
|{{item|Handgun}}
|{{item|bunny}}
|{{item|butterfly}}
|{{item|Flamarang}}
|{{item|Handgun}}
|{{item|Hellstone Bar}}
|{{item|Fiery Greatsword}}
|{{item|Handgun}}
|{{item|bunny}}
|{{item|butterfly}}
|{{item|Flamarang}}
|{{item|Handgun}}
|{{item|Hellstone Bar}}
|{{item|Fiery Greatsword}}
|{{item|Handgun}}
|{{item|bunny}}
|{{item|butterfly}}
|{{item|Flamarang}}
|{{item|Handgun}}
|{{item|Hellstone Bar}}
|{{item|Fiery Greatsword}}
|{{item|Handgun}}
|{{item|bunny}}
|{{item|butterfly}}
|{{item|Flamarang}}
|{{item|Handgun}}
|{{item|Hellstone Bar}}
|{{item|Fiery Greatsword}}
|{{item|Handgun}}
|{{item|bunny}}
|{{item|butterfly}}
|{{item|Flamarang}}
|{{item|Handgun}}
|{{item|Hellstone Bar}}
|{{item|Fiery Greatsword}}
|{{item|Handgun}}
|{{item|bunny}}
|{{item|butterfly}}
|{{item|Flamarang}}
|{{item|Handgun}}
|{{item|Hellstone Bar}}
|{{item|Fiery Greatsword}}
|{{item|Handgun}}
|{{item|bunny}}
|{{item|butterfly}}
|{{item|Flamarang}}
|{{item|Handgun}}
|{{item|Hellstone Bar}}
|{{item|Fiery Greatsword}}
}}

will result:

{{mclist|width=15em|boxcss=line-height: 3
|{{item|Handgun}}
|{{item|bunny}}
|{{item|butterfly}}
|{{item|Flamarang}}
|{{item|Handgun}}
|{{item|Hellstone Bar}}
|{{item|Fiery Greatsword}}
|{{item|Handgun}}
|{{item|bunny}}
|{{item|butterfly}}
|{{item|Flamarang}}
|{{item|Handgun}}
|{{item|Hellstone Bar}}
|{{item|Fiery Greatsword}}
|{{item|Handgun}}
|{{item|bunny}}
|{{item|butterfly}}
|{{item|Flamarang}}
|{{item|Handgun}}
|{{item|Hellstone Bar}}
|{{item|Fiery Greatsword}}
|{{item|Handgun}}
|{{item|bunny}}
|{{item|butterfly}}
|{{item|Flamarang}}
|{{item|Handgun}}
|{{item|Hellstone Bar}}
|{{item|Fiery Greatsword}}
|{{item|Handgun}}
|{{item|bunny}}
|{{item|butterfly}}
|{{item|Flamarang}}
|{{item|Handgun}}
|{{item|Hellstone Bar}}
|{{item|Fiery Greatsword}}
|{{item|Handgun}}
|{{item|bunny}}
|{{item|butterfly}}
|{{item|Flamarang}}
|{{item|Handgun}}
|{{item|Hellstone Bar}}
|{{item|Fiery Greatsword}}
|{{item|Handgun}}
|{{item|bunny}}
|{{item|butterfly}}
|{{item|Flamarang}}
|{{item|Handgun}}
|{{item|Hellstone Bar}}
|{{item|Fiery Greatsword}}
}}

will result:

{{mclist|width=15em|css=border-bottom: 1px solid #808080;|boxcss=border: 2px solid green; padding: 1em;
|{{item|Handgun}}
|{{item|bunny}}
|{{item|butterfly}}
|{{item|Flamarang}}
|{{item|Handgun}}
|{{item|Hellstone Bar}}
|{{item|Fiery Greatsword}}
|{{item|Handgun}}
|{{item|bunny}}
|{{item|butterfly}}
|{{item|Flamarang}}
|{{item|Handgun}}
|{{item|Hellstone Bar}}
|{{item|Fiery Greatsword}}
|{{item|Handgun}}
|{{item|bunny}}
|{{item|butterfly}}
|{{item|Flamarang}}
|{{item|Handgun}}
|{{item|Hellstone Bar}}
|{{item|Fiery Greatsword}}
|{{item|Handgun}}
|{{item|bunny}}
|{{item|butterfly}}
|{{item|Flamarang}}
|{{item|Handgun}}
|{{item|Hellstone Bar}}
|{{item|Fiery Greatsword}}
|{{item|Handgun}}
|{{item|bunny}}
|{{item|butterfly}}
|{{item|Flamarang}}
|{{item|Handgun}}
|{{item|Hellstone Bar}}
|{{item|Fiery Greatsword}}
|{{item|Handgun}}
|{{item|bunny}}
|{{item|butterfly}}
|{{item|Flamarang}}
|{{item|Handgun}}
|{{item|Hellstone Bar}}
|{{item|Fiery Greatsword}}
|{{item|Handgun}}
|{{item|bunny}}
|{{item|butterfly}}
|{{item|Flamarang}}
|{{item|Handgun}}
|{{item|Hellstone Bar}}
|{{item|Fiery Greatsword}}
}}

will result:

See also[Quelltext bearbeiten]