Template:Companion Infobox: Difference between revisions

From Tiny Rogues Wiki
No edit summary
No edit summary
Line 26: Line 26:
   height:5px;font-size: {{#if: {{{HeaderSize|}}} | {{{HeaderSize}}} | 1.1em  }};margin-bottom:40px; margin-top:20px" >{{PAGENAME}}</p></center></default>
   height:5px;font-size: {{#if: {{{HeaderSize|}}} | {{{HeaderSize}}} | 1.1em  }};margin-bottom:40px; margin-top:20px" >{{PAGENAME}}</p></center></default>
   </title>
   </title>
  <image source="image"><default style="padding-bottom:40px">{{PAGENAMEE}}.png</default></image>
  <image source="image"><default>{{PAGENAMEE}}.png</default></image>
<group>
<group>
<header><center>Stats</center></header>
<header><center>Stats</center></header>
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></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="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>

Revision as of 04:54, 22 January 2024

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