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:Equipment list header"
(add image display option) |
(add html class parameter) |
||
Line 11: | Line 11: | ||
begin table | begin table | ||
− | -->{| class="wikitable sortable" style="font-size: 12px;" | + | -->{| class="wikitable sortable {{{html class|}}}" style="font-size: 12px;" |
! Icon | ! Icon | ||
! Name {{#ifeq:{{#var:show image}}|y|!! Image | ! Name {{#ifeq:{{#var:show image}}|y|!! Image | ||
Line 31: | Line 31: | ||
| show skill bonus = | | show skill bonus = | ||
| show flavor text = | | show flavor text = | ||
+ | | html class = | ||
}}</pre> | }}</pre> | ||
Line 41: | Line 42: | ||
; show skill bonus: Set to ''y'' to show base stats in a separate column, ''n'' to hide, ''other'' to display them in the Other column. Defaults to ''other''. | ; show skill bonus: Set to ''y'' to show base stats in a separate column, ''n'' to hide, ''other'' to display them in the Other column. Defaults to ''other''. | ||
; show flavor text : Set to ''y'' to show flavor text, ''n'' to omit. Defaults to ''y''. | ; show flavor text : Set to ''y'' to show flavor text, ''n'' to omit. Defaults to ''y''. | ||
− | + | ; html class : Class that should be assigned to the list to apply a style. | |
[[Category:Formatting Templates]] | [[Category:Formatting Templates]] | ||
</noinclude> | </noinclude> |
Revision as of 19:37, 26 April 2016
Description
This template creates the header used in weapon lists. Used by Template:Equipment list.
Usage
{{Equipment list header | show type = | show lv = | show base stats = | show skill bonus = | show flavor text = | html class = }}
Parameters
All parameters are optional unless stated otherwise.
- show type
- Set to y to show type, n to hide. Defaults to y.
- show lv
- Set to y to show level requirement, n to hide. Defaults to y.
- show base stats
- Set to y to show base stats in a separate column, n to hide, other to display them in the Other column. Defaults to y.
- show skill bonus
- Set to y to show base stats in a separate column, n to hide, other to display them in the Other column. Defaults to other.
- show flavor text
- Set to y to show flavor text, n to omit. Defaults to y.
- html class
- Class that should be assigned to the list to apply a style.