4,977
editsAd placeholder
User:Llamageddon/RrtyItem: Difference between revisions
Jump to navigation
Jump to search
m
no edit summary
Llamageddon (talk | contribs) mNo edit summary |
Llamageddon (talk | contribs) mNo edit summary |
||
Line 45: | Line 45: | ||
| inline = 25px | | inline = 25px | ||
| 25px }} }} | | 25px }} }} | ||
{{#lvardef: spna | | {{#lvardef: spna | | ||
class="bg3wiki-icon-gradient-{{#lvar:scol}}" | class="bg3wiki-icon-gradient-{{#lvar:scol}}" | ||
style="display: inline-block; | style="display: inline-block; | ||
Line 54: | Line 53: | ||
overflow: hidden; | overflow: hidden; | ||
border: 1px solid {{#lvar:cols}}; | border: 1px solid {{#lvar:cols}}; | ||
}} | }} | ||
{{#lvar:spna}} {{#Ifeq: {{#lvar:link}} | | [[File:{{#lvar:item}} {{#lvar:sufx}}|{{#lvar:pixl}}]]</span> | [[File:{{#lvar:item}} {{#lvar:sufx}}|{{#lvar:pixl}}|{{#Ifeq: {{#lvar:link}} | item | link={{#lvar:item}} | link={{#lvar:link}}}}]]</span> <span>{{#Ifeq: {{#lvar:link}} | item | [[{{#lvar:item}}]] | {{#Ifeq: {{#lvar:text}} | notext | | [[{{#lvar:link}}|{{#lvar:text}}]]}}}}< | }} | ||
<span {{#lvar:spna}}"> {{#Ifeq: {{#lvar:link}} | | [[File:{{#lvar:item}} {{#lvar:sufx}}|{{#lvar:pixl}}]]</span> | [[File:{{#lvar:item}} {{#lvar:sufx}}|{{#lvar:pixl}}|{{#Ifeq: {{#lvar:link}} | item | link={{#lvar:item}} | link={{#lvar:link}}}}]]</span> <span>{{#Ifeq: {{#lvar:link}} | item | [[{{#lvar:item}}]] | {{#Ifeq: {{#lvar:text}} | notext | | [[{{#lvar:link}}|{{#lvar:text}}]]}}}}<span>}}</includeonly><noinclude>__NOTOC__ | |||
This is a template for colouring icon borders depending on the value of a 'rarity' variable. The icon size is set to the standard {{C|25px}} maximum height for inline use by default. {{C|_Item_Icon.png}} is set as the default image type. | This is a template for colouring icon borders depending on the value of a 'rarity' variable. The icon size is set to the standard {{C|25px}} maximum height for inline use by default. {{C|_Item_Icon.png}} is set as the default image type. | ||
Line 148: | Line 147: | ||
=== Testing === | === Testing === | ||
{{User:Llamageddon/RrtyItem|Armour of Uninhibited Kushigo|s|tt|item}} | {{User:Llamageddon/RrtyItem|Armour of Uninhibited Kushigo|s|tt|item}} Test | ||
{{User:Llamageddon/RrtyItem|Armour of Uninhibited Kushigo|s|tt|item}} | {{User:Llamageddon/RrtyItem|Armour of Uninhibited Kushigo|s|tt|item}}Testytest | ||
{{User:Llamageddon/RrtyItem|Armour of Uninhibited Kushigo|s|tt|item}} | {{User:Llamageddon/RrtyItem|Armour of Uninhibited Kushigo|s|tt|item}} |