Tritt unserem Discord bei und informiere dich auf unserem Twitter-Kanal über die aktuellsten Themen rund um Fallout!
nötig für testvorlage infobox (engl.) |
Keine Bearbeitungszusammenfassung |
||
| Zeile 38: | Zeile 38: | ||
-->{{#ifeq:{{#var:ibCurRow}}|0||<!-- | -->{{#ifeq:{{#var:ibCurRow}}|0||<!-- | ||
--></table><!-- | --></table><!-- | ||
-->{{#if:{{#var:ibCurHeaderShow}}|<div class=" | -->{{#if:{{#var:ibCurHeaderShow}}|<div class="fw-infobox-space-v"></div>}}<!-- | ||
-->}}<!-- | -->}}<!-- | ||
--><table class=" | --><table class="fw-infobox-group{{#if:{{#var:ibCurOptionsClps}}| fw-infobox-group-collapsible collapsible{{#ifeq:{{#var:ibCurOptionsClps}}|collapsed| collapsed}}}}" cellspacing="0" cellpadding="0"><!-- | ||
################################# | ################################# | ||
| Zeile 48: | Zeile 48: | ||
-->{{#ifeq:{{#var:ibCurRow}}|0||{{#if:{{#var:ibCurHeaderShow}}|<!-- | -->{{#ifeq:{{#var:ibCurRow}}|0||{{#if:{{#var:ibCurHeaderShow}}|<!-- | ||
--><tr><th class=" | --><tr><th class="fw-infobox-header" colspan="{{#var:ibCurGrpColspan}}" style="{{#replace:{{#var:ibStyle}}{{#if:{{{member style|}}}|{{{member style}}};}}{{#var:ibStyleGroups}}{{#if:{{{cell style|}}}|{{{cell style}}};}}|;;|;}}">{{#switch:{{{cell|}}}||@hide=?|#default={{{cell}}}}}</th></tr><!-- | ||
-->}}}}<!-- | -->}}}}<!-- | ||
| Zeile 56: | Zeile 56: | ||
-->{{#ifexpr:{{#var:ibCurGrpCols}}>0|<!-- | -->{{#ifexpr:{{#var:ibCurGrpCols}}>0|<!-- | ||
--><tr class=" | --><tr class="fw-infobox-columns fw-infobox-columns-{{#var:ibCurGrpCols}}"><td class="fw-infobox-col1 fw-infobox-space-v" style="{{#if:{{#var:ibCurColWidths}}|width: {{#explode:{{#var:ibCurColWidths}}|,|0}}%;}}"></td><!-- | ||
-->{{#ifexpr:{{#var:ibCurGrpCols}}>1|<td class=" | -->{{#ifexpr:{{#var:ibCurGrpCols}}>1|<td class="fw-infobox-space-h"></td><td class="fw-infobox-col2 fw-infobox-space-v" style="{{#if:{{#var:ibCurColWidths}}|width: {{#explode:{{#var:ibCurColWidths}}|,|1}}%;}}"></td><!-- | ||
-->{{#ifexpr:{{#var:ibCurGrpCols}}>2|<td class=" | -->{{#ifexpr:{{#var:ibCurGrpCols}}>2|<td class="fw-infobox-space-h"></td><td class="fw-infobox-col3 fw-infobox-space-v" style="{{#if:{{#var:ibCurColWidths}}|width: {{#explode:{{#var:ibCurColWidths}}|,|2}}%;}}"></td><!-- | ||
-->{{#ifexpr:{{#var:ibCurGrpCols}}>3|<td class=" | -->{{#ifexpr:{{#var:ibCurGrpCols}}>3|<td class="fw-infobox-space-h"></td><td class="fw-infobox-col4 fw-infobox-space-v" style="{{#if:{{#var:ibCurColWidths}}|width: {{#explode:{{#var:ibCurColWidths}}|,|3}}%;}}"></td>}}<!-- | ||
-->}}}}</tr>}}<!-- | -->}}}}</tr>}}<!-- | ||
Version vom 9. März 2014, 10:57 Uhr
Hilfsvorlage für {{Infobox}}. It should not be used directly in articles; use {{Infobox}} instead.
This template generates "group" tables and the accompanying header rows based on the parameters passed by {{Infobox}}.
Benutzung
{{Infobox/aux2
<!-- insert parameters -->
}}
Parameter
cell
Content of the header row.
cell style
CSS to be applied to the header row.
colwidths
Column widths to be applied to the group.
member style
CSS to be applied to all cells of the current group.
options
Tooltip to be displayed for the corresponding cell.
Technical
- Various expected variables are passed from {{Infobox}} to this template via VariablesExtension.