Template:List

From Istaria Lexica

List is empty.
Template documentation (for the template shown above, sometimes hidden or invisible)

Description[edit]

Enlists something in a fancy box.

  • Try out this template in your sandbox
  • Find pages using this template
  • Note: If you want to use Template:InfoboxMultiproperty you are not allowed to nest it with each other. This results in a messed up SMW property list.
  • Duplicate list entries will be removed automatically.

Syntax[edit]

{{List|headline=|columncount=|style=|items=item1, item2, ...}}

Parameters[edit]

{{List
|headline    = Headline ontop of the table. Defaults to an empty string.
|columncount = How much columns to generate. Defaults to 2.
|style       = (Optional) style parameters for the table layout
|items       = Items to be shown. Must be encapsulated with preceding ', ', which
               signals the template to create a new entry into the list.
}}

Examples[edit]

  • 1st entry of items: A simple article name
  • 2nd entry of items: Preceding new list entry, triggered with ', ' (A comma followed by a coded white space)
  • 3rd entry of items: Add an SMW property (portsTo) to the article link
  • 4th entry if items: use Template:InfoboxMultiproperty for multiple SMW entries
{{List
|headline    = The most funny creatures in istaria
|columncount = 
|items       = [[Arbotus]]
, [[Steel Chest Mimic]]
, [[portsTo::Genevia]]
, {{InfoboxMultiproperty|property=portsTo|Genevia|Bristugo|Dalimond}}
}}
  • Using the style feature
{{List
|headline    = The most funny creatures in istaria
|columncount = 
|style       = width: 200px; border: 1px solid white;
|items       = [[Arbotus]]
, [[Steel Chest Mimic]]
, [[portsTo::Genevia]]
, {{InfoboxMultiproperty|property=portsTo|Genevia|Bristugo|Dalimond}}
}}

Visit List/doc to edit this text. (How to: document correctly)