Difference between revisions of "Template:Vendor recipe row"

From Project: Gorgon Wiki
Jump to: navigation, search
(Add optional link parameter.)
m
 
(One intermediate revision by one other user not shown)
Line 1: Line 1:
 
<includeonly>|-
 
<includeonly>|-
| style="text-align:left;" | <div style="display:inline-block; vertical-align:middle"><div style="display:table-row;"><div class="extimage32px" style="display:table-cell; vertical-align:middle;">{{Item icon|Recipe:}}</div><div style="display:table-cell">&nbsp;</div><div style="display:table-cell; vertical-align:middle">[[{{{link|{{{item|}}}}}}|{{{item|Recipe name}}}]]</div></div></div>
+
| style="text-align:left;" | <div style="display:inline-block; vertical-align:middle"><div style="display:table-row;"><div class="extimage32px" style="display:table-cell; vertical-align:middle;">http://cdn.projectgorgon.com/v329/icons/icon_4003.png</div><div style="display:table-cell">&nbsp;</div><div style="display:table-cell; vertical-align:middle">[[{{{link|{{{item|}}}}}}|{{{item|Recipe name}}}]]</div></div></div>
 
| style="text-align:right;white-space:nowrap;" | &nbsp;{{{cost}}} councils&nbsp;
 
| style="text-align:right;white-space:nowrap;" | &nbsp;{{{cost}}} councils&nbsp;
 
| style="text-align:center;white-space:nowrap;" | &nbsp;{{Favor|{{{favor}}}}}&nbsp;</includeonly><noinclude>
 
| style="text-align:center;white-space:nowrap;" | &nbsp;{{Favor|{{{favor}}}}}&nbsp;</includeonly><noinclude>
 
{{documentation}}
 
{{documentation}}
 
</noinclude>
 
</noinclude>

Latest revision as of 00:44, 20 December 2019

Template documentation (for the above template, sometimes hidden or invisible) [view] [edit] [history] [refresh]

Description

Deprecated. Use Template:NPC training row instead.
Use this template to create a row in the table of recipes sold by a vendor, if all required parameters are known. This template functions identically to Template:Vendor item row except that it will always use a recipe icon. If not all required parameters are known, use Template:Vendor item row instead.

Syntax

{{vendor recipe row
 | item =
 | link =
 | cost =
 | favor =
}}

Parameters

item
The recipe name.
cost
The numerical cost eg. "15". If not provided, an empty column is shown.
favor
The favor level at which the item is available.
link
Optional. If a link different than the recipe name is desired (see examples).

Sample output

{|

{{vendor recipe row
 | item = Shield: Infuriating Bash
 | link = Shield
 | cost = 336
 | favor = Neutral
}}

|}
 336 councils   [Neutral] 

Note

  • The primary intent is to improve the transcribing performance so that pages with many recipes can be added.
The above text is transcluded from Template:Vendor recipe row/doc; you can change it or view its history.
If you're done making changes, please refresh the text.
Please add categories and interwikis to Template:Vendor recipe row/doc. (View all subpages of this page.)