Template:Class Infobox: Difference between revisions
From Tiny Rogues Wiki
No edit summary |
No edit summary |
||
(34 intermediate revisions by 3 users not shown) | |||
Line 1: | Line 1: | ||
<noinclude> | |||
{{#cargo_declare:_table=Class_Infobox | |||
|ClassHP = String | |||
|ClassSoulP = String | |||
|ClassAP = String | |||
|ClassMP = String | |||
|ClassSP = String | |||
|ClassLuck = String | |||
|ClassCurse = String | |||
|ClassAlig = String | |||
|ClassSTR = String | |||
|ClassDEX = String | |||
|ClassINT = String | |||
|ClassCritChance = String | |||
|ClassCritDamage = String | |||
|ClassSpeed = String | |||
|ClassAbility = Wikitext | |||
|ClassStartItems = Wikitext | |||
|ClassUnlock = Wikitext | |||
}} | |||
</noinclude> | |||
<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> | ||
< | <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></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"> | <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>< | <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"> | ||
<data source="ClassMP"><label><p style="color:#15C2F1">MP [[File:Mana_Star.png]]</p></label><default style="padding-left:32px"></default></data> | <data source="ClassMP"><label><p style="color:#15C2F1">MP [[File:Mana_Star.png]]</p></label><default style="padding-left:32px"></default><format> <span style="padding-left:10px">{{{ClassMP}}}</span></format></data> | ||
<data source="ClassSP"><label><p style="color:#82C400">SP [[File:Stamina.png]]</p></label><default></default></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></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: | <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>{{{ClassCritDamage}}}%</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"> | ||
<data source="ClassSTR"><label><p style="color:#fa0e83">STR</p></label><default style="padding-left:32px"></default></data> | <data source="ClassSTR"><label><p style="color:#fa0e83">STR</p></label><default style="padding-left:32px"></default><format> <span style="padding-left:10px">{{{ClassSTR}}}</span></format></data> | ||
<data source="ClassDEX"><label><p style="color:#8bdf7e">DEX</p></label><default></default></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></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> | |||
<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><format><p style="padding-top:5px; padding-bottom:5px">{{{ClassUnlock}}}</p></format></data> | |||
</group> | </group> | ||
</infobox> | </infobox> | ||
[[Category:Classes]] | |||
</includeonly> |
Latest revision as of 21:22, 2 February 2024
This template defines the table "Class_Infobox". View table.