Template:Weapon Infobox: Difference between revisions

From Tiny Rogues Wiki
No edit summary
No edit summary
Line 2: Line 2:
<infobox>
<infobox>
   <title source="name">
   <title source="name">
     <default><center><p style="color:#fa0e83;height:5px" >{{PAGENAME}}</p></center></default>
     <default><center><p style="color:{{#switch: {{{Rarity}}} | {{Common}} = white | {{Uncommon}}  = green | {{Rare}}  = Pink | {{Epic}}  = Gold |  Grey }};height:5px" >{{PAGENAME}}</p></center></default>
   </title>
   </title>
   <image source="image" />
   <image source="image" />
Line 24: Line 24:
</group>
</group>
</infobox>
</infobox>
{{#switch: {{{Rarity}}} | {{Common}} = white | {{Uncommon}}  = green | {{Rare}}  = Pink | {{Epic}}  = Gold |  Grey }}

Revision as of 05:46, 29 December 2022