4,977
editsMore actions
m
no edit summary
Llamageddon (talk | contribs) mNo edit summary |
Llamageddon (talk | contribs) 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}} {{#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__ | ||
}} | |||
{{clear}} {{#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. |