Template:Companion Infobox: Difference between revisions

From Tiny Rogues Wiki
No edit summary
No edit summary
Line 32: Line 32:
   </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}}|}}</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}}|}}</format></data>
<data source="Effect"><label><span style="color:#82838e; font-weight:bold">Effect:</span></label><format><span style="padding-top:10px; padding-bottom:10px">{{{Effect}}}</span></format></data>
<data source="Effect"><label><span style="color:#82838e; font-weight:bold">Effect:</span></label><format><p style="padding-top:10px; padding-bottom:10px">{{{Effect}}}</p></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:</span></label></data>
<data source="CompanionAPS"><label> <span style="color:#82838e; font-weight:bold">APS:</span></label> <format><span style="color:#63a303; font-weight:bold">{{{CompanionAPS}}}</span></format></data>
<data source="CompanionAPS"><label> <span style="color:#82838e; font-weight:bold">APS:</span></label> <format><span style="color:#63a303; font-weight:bold">{{{CompanionAPS}}}</span></format></data>
<data source="CompanionDMG"><label><span style="color:#82838e; font-weight:bold">DMG:</span></label></data>
<data source="CompanionDMG"><label><span style="color:#82838e; font-weight:bold">DMG:</span></label></data>
<data source="CompanionInflict"><label><span style="color:#82838e; font-weight:bold">Inflicts:</span></label></data>
<data source="CompanionInflict"><label><span style="color:#82838e; font-weight:bold">Inflicts:</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><format><p style="padding-top:10px; padding-bottom:10px">{{{CompanionBonus}}}</p></format></data>
</group>
</group>
  <image source="Image" class="gifresize"><default>{{Image}}</default></image>
  <image source="Image" class="gifresize"><default>{{Image}}</default></image>

Revision as of 04:55, 22 January 2024

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