Ad placeholder

User:Llamageddon/RrtyItem: Difference between revisions

Jump to navigation Jump to search
m
no edit summary
mNo edit summary
mNo edit summary
Line 53: Line 53:
border: 1px solid {{#lvar:cols}};"
border: 1px solid {{#lvar:cols}};"
class="bg3wiki-rarity-gradient-{{#lvar:scol}}
class="bg3wiki-rarity-gradient-{{#lvar:scol}}
">
"> }}{{clear}}{{#lvar:spna}}{{#Ifeq: {{#lvar:link}} | | [[File:{{#lvar:item}}&nbsp; {{#lvar:sufx}} | {{#lvar:pixl}}]]</span>| [[File:{{#lvar:item}}&nbsp; {{#lvar:sufx}} | {{#lvar:pixl}} |{{#Ifeq: {{#lvar:link}} | item | link={{#lvar:item}} | link={{#lvar:link}}}}]]</span>&nbsp;<span>{{#Ifeq: {{#lvar:link}} | item | [[{{#lvar:item}}]] |{{#Ifeq: {{#lvar:text}} | notext | | [[{{#lvar:link}} | {{#lvar:text}}]]}}}}</span>}}}}</includeonly><noinclude>__NOTOC__
}}
{{clear}} {{#lvar:spna}} {{#Ifeq: {{#lvar:link}} | | [[File:{{#lvar:item}}&nbsp; {{#lvar:sufx}} | {{#lvar:pixl}}]]</span>  
| [[File:{{#lvar:item}}&nbsp; {{#lvar:sufx}} | {{#lvar:pixl}} | {{#Ifeq: {{#lvar:link}} | item | link={{#lvar:item}} | link={{#lvar:link}}}}]]</span>&nbsp; <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.

Navigation menu