Difference between revisions of "User:B.Tay"
From MHWiki
m (Blanked - transferred to user talk page) (Tag: Blanking) |
m (Demo) |
||
Line 1: | Line 1: | ||
+ | <nowiki>{{ShopsHeader4Columns}}</nowiki> | ||
+ | <pre>{| style="margin: {{{Margin|1em}}}" class="sortable b_and_p" | ||
+ | |- style="background-color: {{{HeaderRowColour|#dddddd}}}" class="sticky_table_row" | ||
+ | ! style="text-align: {{ifeq|{{{ItemAlignLeft|}}}|Yes|left|center}}" class="{{ifeq|{{{ItemSort|}}}|No|unsortable|}}" | {{{ItemHeader|Item}}} | ||
+ | ! style="text-align: {{ifeq|{{{CostAlignLeft|}}}|Yes|left|center}}" class="{{ifeq|{{{CostSort|}}}|No|unsortable|}}" | {{{CostHeader|Cost}}} | ||
+ | ! style="text-align: {{ifeq|{{{RequirementAlignLeft|}}}|Yes|left|center}}" class="{{ifeq|{{{RequirementSort|}}}|No|unsortable|}}" | {{{RequirementHeader|Requirement}}} | ||
+ | ! style="text-align: {{ifeq|{{{RefundAlignLeft|}}}|Yes|left|center}}" class="{{ifeq|{{{RefundSort|}}}|No|unsortable|}}" | {{{RefundHeader|Refund}}}</pre> | ||
+ | |||
+ | To use: | ||
+ | <pre>{{ShopsHeader4Columns}}</pre> | ||
+ | |||
+ | FOR BT | ||
+ | <pre>{{ShopsHeader4Columns | ||
+ | | Margin = Defaults to "1em" if left blank (1em allaround), otherwise as per editor input | ||
+ | | HeaderRowColour = Defaults to "#dddddd" if left blank , otherwise as per editor input | ||
+ | | ItemAlignLeft = Defaults to "center" if left blank , otherwise input "Yes" for "left" | ||
+ | | ItemSort = Defaults to "" if left blank (sortable) , otherwise input "No" for "unsortable" | ||
+ | | ItemHeader = Defaults to "Item" if left blank , otherwise as per editor input | ||
+ | | CostAlignLeft = Defaults to "center" if left blank , otherwise input "Yes" for "left" | ||
+ | | CostSort = Defaults to "" if left blank (sortable) , otherwise input "No" for "unsortable" | ||
+ | | CostHeader = Defaults to "Cost" if left blank , otherwise as per editor input | ||
+ | | RequirementAlignLeft = Defaults to "center" if left blank , otherwise input "Yes" for "left" | ||
+ | | RequirementSort = Defaults to "" if left blank (sortable) , otherwise input "No" for "unsortable" | ||
+ | | RequirementHeader = Defaults to "Requirement" if left blank , otherwise as per editor input | ||
+ | | RefundAlignLeft = Defaults to "center" if left blank , otherwise input "Yes" for "left" | ||
+ | | RefundSort = Defaults to "" if left blank (sortable) , otherwise input "No" for "unsortable" | ||
+ | | RefundHeader = Defaults to "Refund" if left blank , otherwise as per editor input | ||
+ | }}</pre> |
Revision as of 18:11, 16 February 2022
{{ShopsHeader4Columns}}
{| style="margin: {{{Margin|1em}}}" class="sortable b_and_p" |- style="background-color: {{{HeaderRowColour|#dddddd}}}" class="sticky_table_row" ! style="text-align: {{ifeq|{{{ItemAlignLeft|}}}|Yes|left|center}}" class="{{ifeq|{{{ItemSort|}}}|No|unsortable|}}" | {{{ItemHeader|Item}}} ! style="text-align: {{ifeq|{{{CostAlignLeft|}}}|Yes|left|center}}" class="{{ifeq|{{{CostSort|}}}|No|unsortable|}}" | {{{CostHeader|Cost}}} ! style="text-align: {{ifeq|{{{RequirementAlignLeft|}}}|Yes|left|center}}" class="{{ifeq|{{{RequirementSort|}}}|No|unsortable|}}" | {{{RequirementHeader|Requirement}}} ! style="text-align: {{ifeq|{{{RefundAlignLeft|}}}|Yes|left|center}}" class="{{ifeq|{{{RefundSort|}}}|No|unsortable|}}" | {{{RefundHeader|Refund}}}
To use:
{{ShopsHeader4Columns}}
FOR BT
{{ShopsHeader4Columns | Margin = Defaults to "1em" if left blank (1em allaround), otherwise as per editor input | HeaderRowColour = Defaults to "#dddddd" if left blank , otherwise as per editor input | ItemAlignLeft = Defaults to "center" if left blank , otherwise input "Yes" for "left" | ItemSort = Defaults to "" if left blank (sortable) , otherwise input "No" for "unsortable" | ItemHeader = Defaults to "Item" if left blank , otherwise as per editor input | CostAlignLeft = Defaults to "center" if left blank , otherwise input "Yes" for "left" | CostSort = Defaults to "" if left blank (sortable) , otherwise input "No" for "unsortable" | CostHeader = Defaults to "Cost" if left blank , otherwise as per editor input | RequirementAlignLeft = Defaults to "center" if left blank , otherwise input "Yes" for "left" | RequirementSort = Defaults to "" if left blank (sortable) , otherwise input "No" for "unsortable" | RequirementHeader = Defaults to "Requirement" if left blank , otherwise as per editor input | RefundAlignLeft = Defaults to "center" if left blank , otherwise input "Yes" for "left" | RefundSort = Defaults to "" if left blank (sortable) , otherwise input "No" for "unsortable" | RefundHeader = Defaults to "Refund" if left blank , otherwise as per editor input }}