Template:Weapon Infobox: Difference between revisions

From Tiny Rogues Wiki
No edit summary
No edit summary
Line 16: Line 16:
     <default><center><p style="color:{{#switch: {{{Rarity}}} | C = #7b7c85 | U  = #61ceee | R  = #e1c969 | E  = #b100fc | L = #f64e00 |  Grey }};height:5px;font-size: {{#if: {{{HeaderSize|}}} | {{{HeaderSize}}} | 1.1em  }};margin-bottom:20px; margin-top:20px" >{{PAGENAME}}</p></center></default>
     <default><center><p style="color:{{#switch: {{{Rarity}}} | C = #7b7c85 | U  = #61ceee | R  = #e1c969 | E  = #b100fc | L = #f64e00 |  Grey }};height:5px;font-size: {{#if: {{{HeaderSize|}}} | {{{HeaderSize}}} | 1.1em  }};margin-bottom:20px; margin-top:20px" >{{PAGENAME}}</p></center></default>
   </title>
   </title>
  <image source="image"><default>{{PAGENAME}}.gif</default></image>
  <image source="image"><default>{{PAGENAME}}.png</default></image>
<group>
<group>
<data source="Weapon_Type"><label><span style="color:#82838e; font-weight:bold">Type / Class:</span></label></data>
<data source="Weapon_Type"><label><span style="color:#82838e; font-weight:bold">Type / Class:</span></label></data>
Line 31: Line 31:
<data source="ProfDEX"><label><p style="color:#8bdf7e">DEX</p></label><default>{{#if:{{{ProfSTR|}}}{{{ProfINT|}}}| - }}</default><format><span style="color:#8bdf7e; font-weight:bold; font-size: 15px">{{{ProfDEX}}}</span></format></data>
<data source="ProfDEX"><label><p style="color:#8bdf7e">DEX</p></label><default>{{#if:{{{ProfSTR|}}}{{{ProfINT|}}}| - }}</default><format><span style="color:#8bdf7e; font-weight:bold; font-size: 15px">{{{ProfDEX}}}</span></format></data>
<data source="ProfINT"><label><p style="color:#1bc4f0">INT</p></label><default>{{#if:{{{ProfSTR|}}}{{{ProfDEX|}}}| - }}</default><format><span style="color:#1bc4f0; font-weight:bold; font-size: 15px">{{{ProfINT}}}</span></format></data>
<data source="ProfINT"><label><p style="color:#1bc4f0">INT</p></label><default>{{#if:{{{ProfSTR|}}}{{{ProfDEX|}}}| - }}</default><format><span style="color:#1bc4f0; font-weight:bold; font-size: 15px">{{{ProfINT}}}</span></format></data>
<image source="Image"><default></default></image>
<image source="image"><default>[[File:{{PAGENAME}}.gif|330px]]</default></image>
</group>
</group>
</infobox>
</infobox>
</includeonly>
</includeonly>
<includeonly>[[Category: Weapon]]</includeonly>
<includeonly>[[Category: Weapon]]</includeonly>

Revision as of 06:44, 3 January 2024

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