Template:Weapon Infobox: Difference between revisions

From Tiny Rogues Wiki
No edit summary
No edit summary
Line 6: Line 6:
  <image source="image"><default>{{PAGENAME}}.png</default></image>
  <image source="image"><default>{{PAGENAME}}.png</default></image>
<group>
<group>
<header><center>Stats</center></header>
<data source="Weapon_Type"><label>Weapon Type</label><format>{{#replaceset:{{{Weapon_Type|}}}|/(\w+)/i=[[Category:\1]][[:Category:\1|\1]]}}</format></data>
<data source="Weapon_Type"><label>Weapon Type</label><format>{{#replaceset:{{{Weapon_Type|}}}|/(\w+)/i=[[Category:\1]][[:Category:\1|\1]]}}</format></data>
<data source="Attack_Type"><label>Attack Type</label></data>
<data source="Attack_Type"><label>Attack Type</label></data>
Line 19: Line 18:
</group>
</group>
<group layout="horizontal" row-items="3">
<group layout="horizontal" row-items="3">
<header><center>Parameter Bonus</center></header>
<data source="STR"><label><p style="color:#fa0e83">STR</p></label><default style="padding-left:32px">{{#if:{{{DEX|}}}{{{INT|}}}| - }}</default></data>
<data source="STR"><label><p style="color:#fa0e83">STR</p></label><default style="padding-left:32px">{{#if:{{{DEX|}}}{{{INT|}}}| - }}</default></data>
<data source="DEX"><label><p style="color:#8bdf7e">DEX</p></label><default>{{#if:{{{STR|}}}{{{INT|}}}| - }}</default></data>
<data source="DEX"><label><p style="color:#8bdf7e">DEX</p></label><default>{{#if:{{{STR|}}}{{{INT|}}}| - }}</default></data>

Revision as of 14:18, 4 April 2023