Template:VendorRow: Difference between revisions

From Koada`Dal Wiki
Jump to navigation Jump to search
Created page with "|- | {{{1|}}} || {{{2|}}} || {{{3|}}} <noinclude> == Usage == Used inside the {{Spell}} template to add vendor rows to the Where to Buy table. <pre> {{VendorRow|Vendor Name|Location|Cost}} </pre> </noinclude>"
 
No edit summary
 
(2 intermediate revisions by the same user not shown)
Line 1: Line 1:
|-
<includeonly>|-
| {{{1|}}} || {{{2|}}} || {{{3|}}}
| style="background-color:var(--spell-value-bg); color:var(--spell-value-color);" | {{{1|}}}
| style="background-color:var(--spell-value-bg); color:var(--spell-value-color);" | {{{2|}}}
| style="background-color:var(--spell-value-bg); color:var(--spell-value-color);" | {{{3|}}}
</includeonly>
<noinclude>
<noinclude>
This is a helper template used inside {{[[Template:Spell|Spell]]}} to add rows to the Where to Buy table. It is not meant to be used on its own.
== Usage ==
== Usage ==
Used inside the {{[[Template:Spell|Spell]]}} template to add vendor rows to the Where to Buy table.
Add vendor entries to a spell page like this:


<pre>
<pre>
{{VendorRow|[[Vendor Name]]|[[Location]]|Cost}}
{{VendorRow|[[Vendor Name]]|[[Location]]|Cost}}
</pre>
</pre>
Each parameter:
* '''1''' — Vendor name, use double brackets to link to the vendor page
* '''2''' — Location, use double brackets to link to the zone page
* '''3''' — Cost of the spell scroll
</noinclude>
</noinclude>

Latest revision as of 22:33, 15 March 2026


This is a helper template used inside {{Spell}} to add rows to the Where to Buy table. It is not meant to be used on its own.

Usage

Add vendor entries to a spell page like this:

{{VendorRow|[[Vendor Name]]|[[Location]]|Cost}}

Each parameter:

  • 1 — Vendor name, use double brackets to link to the vendor page
  • 2 — Location, use double brackets to link to the zone page
  • 3 — Cost of the spell scroll