Difference between revisions of "Template:Shops/TableHeader"

From MHWiki
m (Typo)
m (Typo 2)
Line 1: Line 1:
 
<noinclude><span style="float: left; margin-right: 0.416em">To use:</span><pre style= "display: contents">{{Shops/TableHeader}}</pre>Optional parameters:
 
<noinclude><span style="float: left; margin-right: 0.416em">To use:</span><pre style= "display: contents">{{Shops/TableHeader}}</pre>Optional parameters:
  <nowiki>{{ShopsTableHeader
+
  <nowiki>{{Shops/TableHeader
 
  | Margin                = Defaults to "1em"        if left blank (1em allaround), otherwise as per editor input
 
  | 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
 
  | HeaderRowColour        = Defaults to "#dddddd"    if left blank                , otherwise as per editor input

Revision as of 00:24, 23 February 2022

To use:

{{Shops/TableHeader}}

Optional parameters:

{{Shops/TableHeader
 | 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
 | ItemAlignCenter        = Defaults to "left"        if left blank                , otherwise input "Yes" for "center"
 | ItemSort               = Defaults to ""            if left blank (sortable)     , otherwise input "No" for "unsortable"
 | ItemHeader             = Defaults to "Item"        if left blank                , otherwise as per editor input
 | NoteColumn             = Defaults to ""            if left blank (no column)    , otherwise input "Yes" for the Note column to appear
 | NoteAlignLeft          = Defaults to "center"      if left blank                , otherwise input "Yes" for "left"
 | NoteSort               = Defaults to ""            if left blank (sortable)     , otherwise input "No" for "unsortable"
 | NoteHeader             = Defaults to "Cost"        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
}}