Template:Item Infobox: Difference between revisions
From Tiny Rogues Wiki
No edit summary Tag: Reverted |
(finally) Tag: Manual revert |
||
(9 intermediate revisions by the same user not shown) | |||
Line 4: | Line 4: | ||
|Effect = Wikitext | |Effect = Wikitext | ||
}} | }} | ||
</noinclude> | </noinclude><includeonly>{{#cargo_store:_table=Item_Infobox}} | ||
<includeonly> | <infobox> | ||
{{#cargo_store:_table=Item_Infobox}} | <title source="name"> | ||
<infobox><title source="name"> | |||
<default><center><p style="color:{{#switch: {{{Rarity}}} | <default><center><p style="color:{{#switch: {{{Rarity}}} | ||
| 1 = #7b7c85 | | 1 = #7b7c85 | ||
Line 16: | Line 15: | ||
| 6 = #00af00 | | 6 = #00af00 | ||
| Grey }}; | | Grey }}; | ||
height:5px;font-size: {{#if: {{{HeaderSize|}}} | {{{HeaderSize}}} | 1.1em }};margin-bottom:40px; margin-top:20px">{{PAGENAME}}</p></center></default> | height:5px;font-size: {{#if: {{{HeaderSize|}}} | {{{HeaderSize}}} | 1.1em }};margin-bottom:40px; margin-top:20px" >{{PAGENAME}}</p></center></default> | ||
</title> | </title> | ||
<image source="image"><default>{{PAGENAMEE}}.png</default></image> | <image source="image"><default>{{PAGENAMEE}}.png</default></image> | ||
Line 23: | Line 22: | ||
<data source="Rarity"><label><span style="color:#82838e; font-weight:bold">Rarity:</span></label><format>{{#ifeq: {{{Rarity}}} | 1 | {{Common}} |}} {{#ifeq: {{{Rarity}}} | 2 | {{Uncommon}} |}}{{#ifeq: {{{Rarity}}} | 3 | {{Rare}} |}}{{#ifeq: {{{Rarity}}} | 4 | {{Epic}} |}}{{#ifeq: {{{Rarity}}} | 5 | {{Legendary}}|}}</format></data> | <data source="Rarity"><label><span style="color:#82838e; font-weight:bold">Rarity:</span></label><format>{{#ifeq: {{{Rarity}}} | 1 | {{Common}} |}} {{#ifeq: {{{Rarity}}} | 2 | {{Uncommon}} |}}{{#ifeq: {{{Rarity}}} | 3 | {{Rare}} |}}{{#ifeq: {{{Rarity}}} | 4 | {{Epic}} |}}{{#ifeq: {{{Rarity}}} | 5 | {{Legendary}}|}}</format></data> | ||
<data source="Effect"><label><span style="color:#82838e; font-weight:bold">Effect:</span></label><format><p style="padding-top:10px; padding-bottom:10px">{{{Effect}}}</p></format></data> | <data source="Effect"><label><span style="color:#82838e; font-weight:bold">Effect:</span></label><format><p style="padding-top:10px; padding-bottom:10px">{{{Effect}}}</p></format></data> | ||
</group></infobox></includeonly> | </group> | ||
</infobox></includeonly> |
Latest revision as of 04:04, 1 December 2024
This template defines the table "Item_Infobox". View table.