Template:Regional Goods: Difference between revisions
From HorizonXI Wiki
mNo edit summary |
mNo edit summary |
||
| Line 6: | Line 6: | ||
}} | }} | ||
</onlyinclude></includeonly> | </onlyinclude></includeonly> | ||
[[Category:Templates|{{PAGENAME}}]] | |||
== Usage == | == Usage == | ||
Template that allows to display the goods from [[:Category:Regional Merchants]]. | Template that allows to display the goods from [[:Category:Regional Merchants]]. | ||
Revision as of 11:22, 22 August 2024
Usage
Template that allows to display the goods from Category:Regional Merchants.
For details on the row formatting, look into the dpl phantom template Template:Regional Goods.dpl
- First parameter is mandatory and is the Region
- Optional parameter insert can be specified to format the table without headings and a surrounding box so it can fit into a table cell.
- Optional parameter cssclasses can be used to specify further css classes to format the table.
Examples
Usage as ordinary table
{{Regional Goods|Elshimo Uplands}}
| Item | Price |
|---|---|
| Cattleya | 291~306 gil |
| Cinnamon | 51~53 gil |
| Pamamas | ~20 gil |
| Rattan Lumber | 40~41 gil |
Usage as inserted table into a surrounding table
{| class="horizon-table npc-table table-sm"
! Goods
|-
| {{Regional Goods|Elshimo Uplands|insert=true}}
|}
| Goods | ||||||||
|---|---|---|---|---|---|---|---|---|
|
