Welcome to the DFO World Wiki. With many major updates since the release of DFO, many items are missing. Visit Item Database Project to learn more.
Please remember to click "show preview" before saving the page.
Thanks for the updated logo snafuPop!

Difference between revisions of "Template:Set list header"

From DFO World Wiki
Jump to: navigation, search
 
Line 3: Line 3:
 
     begin table
 
     begin table
  
-->{| class="wikitable sortable"
+
-->{| class="wikitable sortable" style="font-size: 12px;"
 
! Set {{#if: {{#arraymap:1,2,3,4,5,6,7,8,9,10,11|,|@@@|{{#ifeq:{{#var:show @@@}}|y|y}}|}}
 
! Set {{#if: {{#arraymap:1,2,3,4,5,6,7,8,9,10,11|,|@@@|{{#ifeq:{{#var:show @@@}}|y|y}}|}}
 
| <!-- columns set -->{{#arraymap:1,2,3,4,5,6,7,8,9,10,11|,|@@@|{{#ifeq:{{#var:show @@@}}|y|!! [@@@] Effect}}|}}
 
| <!-- columns set -->{{#arraymap:1,2,3,4,5,6,7,8,9,10,11|,|@@@|{{#ifeq:{{#var:show @@@}}|y|!! [@@@] Effect}}|}}

Latest revision as of 17:32, 27 March 2016

Description

This template creates the header used in set lists. Used by Template:Set list.

Usage

{{Shop list header
| show columns = 
| show equipment = 
}}

Parameters

All parameters are optional unless stated otherwise.

show columns 
Specify which set effect columns are shown. E.g. 3, 6, 9 to show the set effect for 3 pieces, 6 pieces and 9 pieces in a separate column. If nothing is set, all effects will be shown in a single column.
show equipment 
Set to y to display all equipment that is part of the set, n to hide. Defaults to n.