| Diese Seite enthält Informationen zur Verwendung für Vorlage:Stats Kreatur. |
Metavorlage zur Erstellung standardisierter Kreatur und Roboter Statistik-Tabellen Supports up 5 columns per row, 4 of which can contain 12 icon/data pairs in a 4x3 grid setup.
Benutzung
{{Stats Kreatur
|1 ={{{1|}}}
|headerA =Example header
|iconB1-1 =exampleicon
|dataB1-1 =Example value
}}
This template creates a table with up to 5 columns ("A" up to "E"). The first column ("A") always contains the name of the creature. Each of the 4 "non-name" columns ("B" up to "E") supports up to 4 nested columns with up to 3 rows of icon/data pairs (or custom text/HTML).
Templates based on this meta-template need to be called (at least) 3 times in order to produce a valid table:
- Once with
<unnamed 1>set to "start". - Once (at least) with
<unnamed 1>set to "row". - Once with
<unnamed 1>set to "end".
Parameter
All parameters are formatted according to the following scheme: A capital letter denotes the table cell, the first number stands for the column within that cell and the second number (after the "-") denotes a row within that column. For example, iconD2-3 is the icon located the fourth table cell ("D"), second column, third row.
Verfügbare Optionen (when called from a template contructed with this one):
- end: Returns end of creature table (closes table).
- row: Returns normal table row with icons/text according to parameters.
- start: Returns start of creature table (starts table, inserts header row).
icon/data pair. If the condition evaluates to an empty string, the pair is not displayed; if it evaluates to anything else, the pair is displayed.
By default, a pair is displayed if the pair's icon parameter has been specified.icon; usually the actual value of the stat.
Each of the 4 "non-name" table cells ("B" up to "E") supports up to 4 columns with up to 3 rows of icon/data pairs.icon/data pairs.icon should link to. The tooltip displayed when hovering over the icon is automatically changed accordingly unless overridden by the corresponding icon tooltip parameter.icon. Only needed if this text should be different from the icon's default tooltip or the corresponding icon link.name; usually the Base ID or something equivalent.Available choices:
- nocolumns: All
icon/datapairs are displayed below each other rather than being organized in columns.
icon/data pairs will be displayed for this cell.Beispiel
{{Stats Kreatur
|1 ={{{1|}}}
|headerA =Name
|headerB =Stats
|headerC =Notes
|name ={{{name|}}}
|iconB1-1 =hp
|dataB1-1 =60
|iconB2-1 =dt
|iconB2-1 link =Damage Threshold
|dataB2-1 =5
|iconB2-2 =dr
|iconB2-2 link =Damage Resistance
|iconB2-2 tooltip =Damage reduction
|dataB2-2 =10%
|plainC =Example text
}}
could be called with:
{{Stats Kreatur|start}}
{{Stats Kreatur|row
|name =Example creature
}}
{{Stats Kreatur|end}}
which would result in:
| Name (base ID) | Statistik | Verhalten | Fähigkeiten | Gegenstände | |||
|---|---|---|---|---|---|---|---|
| Raufbold (Nahkampf) (xx0107ba) |
| Nahkampf (5 ) | |||||
| Raufbold (Schusswaffe) (xx00e771) |
| Nahkampf (5 ) |
Technisches
- Hilfsvorlage: {{Icon}}