Template:Class Infobox: Difference between revisions

From Tiny Rogues Wiki
No edit summary
No edit summary
 
(29 intermediate revisions by 3 users not shown)
Line 1: Line 1:
<noinclude>
<noinclude>
{{#cargo_declare:_table=Class_Infobox
{{#cargo_declare:_table=Class_Infobox
  |ClassHP = Integer
  |ClassHP = String
  |ClassSP = Integer
  |ClassSoulP = String
  |ClassAP = Integer
  |ClassAP = String
  |ClassMP = Integer
  |ClassMP = String
  |ClassSP = Integer
  |ClassSP = String
  |ClassSTR = Integer
|ClassLuck = String
  |ClassDEX = Integer
|ClassCurse = String
  |ClassINT = Integer
|ClassAlig = String
  |ClassCritChance = Integer
  |ClassSTR = String
  |ClassCritDamage = Integer
  |ClassDEX = String
  |ClassSpeed = Integer
  |ClassINT = String
  |ClassCritChance = String
  |ClassCritDamage = String
  |ClassSpeed = String
  |ClassAbility = Wikitext
  |ClassAbility = Wikitext
  |ClassStartItems = Wikitext
  |ClassStartItems = Wikitext
Line 21: Line 24:
<infobox>
<infobox>
   <title source="name">
   <title source="name">
     <default><center><p style="height:5px;font-size: 0.8em;" >{{PAGENAME}}</p></center></default>
     <default><center><p style="height:5px;font-size: 0.8em;" >{{PAGENAME}}</p>[[File:{{PAGENAME}}.gif]]</center></default>
   </title>
   </title>
<image source="image"><default>{{PAGENAME}}.png</default></image>
   
<data source="ClassAbility"><label>Ability:</label></data>
<data source="ClassAbility"><label>Ability:</label><format><p style="padding-top:5px; padding-bottom:5px">{{{ClassAbility}}}</p></format></data>
<group layout="horizontal" row-items="3">
<group layout="horizontal" row-items="3">
<data source="ClassHP"><label><p style="color:#fa0035">HP [[File:Heart.png]]</p></label><default style="padding-left:32px"></default><format> <span style="padding-left:10px">{{{ClassHP}}}</span></format></data>
<data source="ClassHP"><label><p style="color:#fa0035">HP [[File:Heart.png]]</p></label><default style="padding-left:32px"></default><format> <span style="padding-left:10px">{{{ClassHP}}}</span></format></data>
<data source="ClassSoulP"><label><p style="color:#15C2F1">SP [[File:Soul_Heart.png]]</p></label><format> <span style="padding-left:10px">{{{ClassSoulP}}}</span></format></data>
<data source="ClassSoulP"><label><p style="color:#15C2F1">SH [[File:Soul_Heart.png]]</p></label><format> <span style="padding-left:10px">{{{ClassSoulP}}}</span></format></data>
<data source="ClassAP"><label><p style="color:#0C738C">AP [[File:Armor.png]]</p></label><format> <span style="padding-left:10px">{{{ClassAP}}}</span></format></data>
<data source="ClassAP"><label><p style="color:#0C738C">AP [[File:Armor.png]]</p></label><format> <span style="padding-left:10px">{{{ClassAP}}}</span></format></data>
Line 40: Line 43:
<data source="ClassCritChance"><label><p style="color:#fff">Crit Chance%</p></label><default style="padding-left:60px"></default><format> <span style="padding-left:25px">{{{ClassCritChance}}}%</span></format></data>
<data source="ClassCritChance"><label><p style="color:#fff">Crit Chance%</p></label><default style="padding-left:60px"></default><format> <span style="padding-left:25px">{{{ClassCritChance}}}%</span></format></data>
<data source="ClassCritDamage"><label><p style="color:#fff">Crit DMG%</p></label><default></default><format><span style="padding-left:25px">{{{ClassCritDamage}}}%</span></format></data>
<data source="ClassCritDamage"><label><p style="color:#fff">Crit DMG%</p></label><default></default><format><span style="padding-left:25px">{{{ClassCritDamage}}}%</span></format></data>
 
</group>
<group layout="horizontal" row-items="3">
<data source="ClassLuck"><label><p style="color:#5BD300">Luck</p></label><default style="padding-left:32px"></default><format> <span style="padding-left:10px">{{{ClassLuck}}}</span></format></data>
<data source="ClassCurse"><label><p style="color:#0342D8">Curse</p></label><default></default><format> <span style="padding-left:10px">{{{ClassCurse}}}</span></format></data>
<data source="ClassAlig"><label><p style="color:#7702B1">Alig</p></label><default></default><format> <span style="padding-left:10px">{{{ClassAlig}}}</span></format></data>
</group>
</group>
<group layout="horizontal" row-items="3">
<group layout="horizontal" row-items="3">
Line 50: Line 57:


<group>
<group>
<data source="ClassStartItems"><label>Starting Items:</label></data>
<data source="ClassStartItems"><label>Starting Items:</label><format><p style="padding-top:5px; padding-bottom:5px">{{{ClassStartItems}}}</p></format></data>
<data source="ClassUnlock"><label>Unlock:</label></data>
<data source="ClassUnlock"><label>Unlock:</label><format><p style="padding-top:5px; padding-bottom:5px">{{{ClassUnlock}}}</p></format></data>
</group>
</group>
</infobox>
</infobox>
[[Category:Classes]]
[[Category:Classes]]
</includeonly>
</includeonly>

Latest revision as of 21:22, 2 February 2024

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