Template:Class Infobox: Difference between revisions

From Tiny Rogues Wiki
No edit summary
No edit summary
 
(31 intermediate revisions by 4 users not shown)
Line 1: Line 1:
<noinclude>
<noinclude>
{{#cargo_declare:_table=Class_Infobox
{{#cargo_declare:_table=Class_Infobox
  |ClassHP = Integer
  |ClassHP = String
  |ClassSoulP = 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
  |ClassUnlock = Wikitext
  |ClassUnlock = Wikitext
}}
}}
</noinclude>
</noinclude><includeonly>{{#cargo_store:_table=Class_Infobox}}
<includeonly>
{{#cargo_store:_table=Class_Infobox}}
<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><format><p style="padding-top:5px; padding-bottom:5px">{{{ClassAbility}}}</p></format></data>
<data source="ClassAbility"><label>Ability:</label></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>
</group>
</group>
<group layout="horizontal" row-items="3">
<group layout="horizontal" row-items="3">
Line 35: Line 34:
<data source="ClassSP"><label><p style="color:#82C400">SP [[File:Stamina.png]]</p></label><default></default><format> <span style="padding-left:10px">{{{ClassSP}}}</span></format></data>
<data source="ClassSP"><label><p style="color:#82C400">SP [[File:Stamina.png]]</p></label><default></default><format> <span style="padding-left:10px">{{{ClassSP}}}</span></format></data>
<data source="ClassSpeed"><label><p style="color:#82C400">Speed</p></label><default></default><format> <span style="padding-left:10px">{{{ClassSpeed}}}</span></format></data>
<data source="ClassSpeed"><label><p style="color:#82C400">Speed</p></label><default></default><format> <span style="padding-left:10px">{{{ClassSpeed}}}</span></format></data>
</group>
</group>
<group layout="horizontal" row-items="2">
<group layout="horizontal" row-items="2">
<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 45: Line 48:
<data source="ClassDEX"><label><p style="color:#8bdf7e">DEX</p></label><default></default><format> <span style="padding-left:10px">{{{ClassDEX}}}</span></format></data>
<data source="ClassDEX"><label><p style="color:#8bdf7e">DEX</p></label><default></default><format> <span style="padding-left:10px">{{{ClassDEX}}}</span></format></data>
<data source="ClassINT"><label><p style="color:#1bc4f0">INT</p></label><default></default><format> <span style="padding-left:10px">{{{ClassINT}}}</span></format></data>
<data source="ClassINT"><label><p style="color:#1bc4f0">INT</p></label><default></default><format> <span style="padding-left:10px">{{{ClassINT}}}</span></format></data>
</group>
</group>
 
<group>
<group>
<data source="ClassStartItems"><label>Starting Items:</label><format><p style="padding-top:5px; padding-bottom:5px">{{{ClassStartItems}}}</p></format></data>
<data source="ClassStartItems"><label>Starting Items:</label></data>
<data source="ClassUnlock"><label>Unlock:</label><format><p style="padding-top:5px; padding-bottom:5px">{{{ClassUnlock}}}</p></format></data>
<data source="ClassUnlock"><label>Unlock:</label></data>
</group>
</group>
</infobox>
</infobox>[[Category:Classes]]</includeonly>
[[Category:Classes]]
</includeonly>

Latest revision as of 04:05, 1 December 2024

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