Template:Companion Infobox: Difference between revisions

From Tiny Rogues Wiki
(created companion infobox)
 
No edit summary
Line 31: Line 31:
   </format></data>
   </format></data>
   <data source="Rarity"><label><span style="color:#82838e; font-weight:bold">Rarity:</span></label><format>{{#ifeq: {{{Rarity}}} | 1 | {{Common}} |}} {{#ifeq: {{{Rarity}}} | 2 | {{Uncommon}} |}}{{#ifeq: {{{Rarity}}} | 3 | {{Rare}} |}}{{#ifeq: {{{Rarity}}} | 4 | {{Epic}} |}}{{#ifeq: {{{Rarity}}} | 5 | {{Legendary}} |}}{{#ifeq: {{{Rarity}}} | 6 | {{Set}} |}}</format></data>
   <data source="Rarity"><label><span style="color:#82838e; font-weight:bold">Rarity:</span></label><format>{{#ifeq: {{{Rarity}}} | 1 | {{Common}} |}} {{#ifeq: {{{Rarity}}} | 2 | {{Uncommon}} |}}{{#ifeq: {{{Rarity}}} | 3 | {{Rare}} |}}{{#ifeq: {{{Rarity}}} | 4 | {{Epic}} |}}{{#ifeq: {{{Rarity}}} | 5 | {{Legendary}} |}}{{#ifeq: {{{Rarity}}} | 6 | {{Set}} |}}</format></data>
<data source="CompanionWeight"><label><span style="color:#82838e; font-weight:bold">Weight</span></label></data>
<data source="CompanionWeight"><label><span style="color:#82838e; font-weight:bold">Weight [[File:IconComp.png|20px|link=]]</span></label></data>
<data source="CompanionAPS"><label><span style="color:#82838e; font-weight:bold">APS</span></label></data>
<data source="CompanionAPS"><label><span style="color:#82838e; font-weight:bold">APS</span></label></data>
<data source="CompanionDPS"><label><span style="color:#82838e; font-weight:bold">DPS</span></label></data>
<data source="CompanionDMG"><label><span style="color:#82838e; font-weight:bold">DMG</span></label></data>
<data source="CompanionBonus"><label><span style="color:#82838e; font-weight:bold">Grants</span></label></data>
<data source="CompanionBonus"><label><span style="color:#82838e; font-weight:bold">Grants</span></label></data>
</group>
</group>
  <image source="Image" class="gifresize"><default>{{Image}}</default></image>
  <image source="Image" class="gifresize"><default>{{Image}}</default></image>
</infobox>
</infobox>

Revision as of 16:20, 20 January 2024

This template defines the table "Companion_Infobox". View table.