User:Sky/DropTableRow: Difference between revisions

From bg3.wiki
Jump to navigation Jump to search
(Created page with "<onlyinclude><includeonly>{{!}}- {{!}}{{{1}}}{{!}}{{!}}{{{2}}}{{!}}{{!}}{{{3}}}</includeonly></onlyinclude><noinclude> Usage: <pre>{{User:Sky/DropTableRow|SomeIconLink|Quantity|Weight}}</pre> Displays an item row to display in a drop table. Result: {{User:Sky/DropTableRow|{{IconLink|Potion of Healing Icon.png|Potion of Healing}}|1|1}} Result in a table: {| class="wikitable" {{User:Sky/DropTableRow|{{IconLink|Potion of Healing Icon.png|Potion of Healing}}|1;3;5|1}} {...")
 
())
 
(19 intermediate revisions by the same user not shown)
Line 1: Line 1:
<onlyinclude><includeonly>{{!}}-
<onlyinclude><includeonly><tr>
{{!}}{{{1}}}{{!}}{{!}}{{{2}}}{{!}}{{!}}{{{3}}}</includeonly></onlyinclude><noinclude>
<th style="background-color: var(--bg3wiki-itemicon-{{{itemrarity|}}}-bg);">{{#if: {{{icon}}}|{{#if: {{{icon|}}}|{{Icon|{{{icon}}} }} }} }}{{{icon_override|}}}</th>
Usage: <pre>{{User:Sky/DropTableRow|SomeIconLink|Quantity|Weight}}</pre>
<th style="text-align:start; background-color: var(--bg3wiki-itemicon-{{{itemrarity|}}}-bg);">[[{{{item}}}]] {{#if: {{{note|}}}|{{{note}}} }}</th>
 
<td style="text-align:center; background-color: var(--bg3wiki-itemicon-{{{itemrarity|}}}-bg);">{{{quantity}}}</td>
 
<td style="text-align:center; background-color: var(--bg3wiki-itemicon-{{{itemrarity|}}}-bg);">{{{rarity}}}</td></tr></includeonly></onlyinclude><noinclude>
Displays an item row to display in a drop table.
{{User:Sky/DropTable}}
 
Result: {{User:Sky/DropTableRow|{{IconLink|Potion of Healing Icon.png|Potion of Healing}}|1|1}}
 
Result in a table:
 
{| class="wikitable"
{{User:Sky/DropTableRow|{{IconLink|Potion of Healing Icon.png|Potion of Healing}}|1;3;5|1}}
{{User:Sky/DropTableRow|{{IconLink|Gold Pile Medium Icon.png|Gold}}|12-394|1}}
{{User:Sky/DropTableRow|{{IconLink|Potion of Healing Icon.png|Potion of Healing}}|1|1}}
|}
</noinclude>
</noinclude>

Latest revision as of 08:53, 9 September 2023