Jump to content

Template:Item NPC Table: Difference between revisions

From ZenithXI
m 1 revision imported
Batch 1: add zx-table class + remove hardcoded #3c6a95/#4696cf table colors
 
Line 58: Line 58:
</noinclude>
</noinclude>
<includeonly>
<includeonly>
{|style="border-collapse: collapse; border-width: 1px; border-style: solid; border-color: #3c6a95; width: 100%; max-width: 788px" class="sortable" cellpadding="3"
{| class="sortable zx-table" style="border-collapse: collapse; width: 100%; max-width: 788px" cellpadding="3"
!style="border-width: 2px border-color: #3c6a95; background-color: #4696cf; color: #FFFFFF;" align="center" colspan="3" valign="middle"| {{#switch: {{lc: {{{Type}}}}} | redeem = Redeemed From... |#default = Purchased From...}}  
!align="center" colspan="3" valign="middle"| {{#switch: {{lc: {{{Type}}}}} | redeem = Redeemed From... |#default = Purchased From...}}  
|-  
|-  
! class="item-info-header" style="border-style: solid; border-width: 1px; border-color: #3c6a95; text-align: center; width: 23%;" | NPC Name
! class="item-info-header" style="text-align: center; width: 23%;" | NPC Name
! class="item-info-header" style="border-style: solid; border-width: 1px; border-color: #3c6a95; text-align: center; width: 27%;" | Zone
! class="item-info-header" style="text-align: center; width: 27%;" | Zone
! class="item-info-header" style="border-style: solid; border-width: 1px; border-color: #3c6a95; text-align: center; width: 50%;" | Notes
! class="item-info-header" style="text-align: center; width: 50%;" | Notes
|-
|-
{{{Insert NPC List Template}}}
{{{Insert NPC List Template}}}
|}
|}
</includeonly>
</includeonly>

Latest revision as of 00:35, 5 July 2026


Template:Item - Obtained From NPCs

  • Please use this series of Item templates as needed on Item pages
  • Copy and paste the following set of codes and fill in the fields, do not worry about formatting
  • Certain fields will allow for advanced formatting, these will be demonstrated below.
    • Type can be either NULL = "Purchased From..." or:
      • redeem : "Redeemed From..."
{{Item NPC Table
|Type=
|Insert NPC List Template=
{{Item NPC
|NPC Name=
|Zone=
|position=
|Notes=
}}
}}
  • You may insert as many rows into the table as you need, simply repeat the following codes:
{{Item NPC
|NPC Name=
|Zone=
|position=
|Notes=
}}
  • You may also enter any type of additional formatting to the following field:
|Notes=
  • Example of a completed entry, including different styles of formatting for the |Notes= field:
{{Item NPC Table
|Type=
|Insert NPC List Template=
{{Item NPC
|NPC Name=Abquhbah
|Zone=Aht Urhgan Whitegate
|position=?-?
|Notes=50,000gil
}}
{{Item NPC
|NPC Name=Abquhbah
|Zone=Aht Urhgan Whitegate
|position=?-?
|Notes=50,000gil
*[[:Category:BCNM|BCNM]]
}}
}}
  • The set of codes above will display the following: Sample