Ad placeholder

User:Llamageddon/RrtyItem: Difference between revisions

Jump to navigation Jump to search
m
no edit summary
mNo edit summary
Line 32: Line 32:
| inline = 25px  
| inline = 25px  
| 25px }} }}
| 25px }} }}
{{#lvardef: spna | <span style="display: inline-block; box-shadow: rgba(0, 0, 0, 0.14) 3px 3px 6px 0px inset, rgba(0, 0, 0, 0.14) -3px -3px 6px 1px inset; background: #1B1A19; vertical-align: middle; height: {{#lvar:pixl}}; width: {{#lvar:pixl}}; overflow: hidden; border-radius: 5px; border: 2px solid {{#lvar:cols}};">}} }}{{#lvar:spna}}{{#Ifeq: {{#lvar:link}} | | [[File:{{#lvar:item}}&nbsp;{{#lvar:sufx}}|{{#lvar:pixl}}]] | [[File:{{#lvar:item}}&nbsp;{{#lvar:sufx}}|{{#lvar:pixl}}|{{#Ifeq: {{#lvar:link}} | item | link={{#lvar:item}} | link={{#lvar:link}}}}]]</span>&nbsp;{{#Ifeq: {{#lvar:link}} | item | [[{{#lvar:item}}]] | {{#Ifeq: {{#lvar:text}} | notext | | [[{{#lvar:link}}|{{#lvar:text}}]]}}}}}}&nbsp;</includeonly><noinclude>__NOTOC__
{{#lvardef: spna | <span style="display: inline-block; box-shadow: rgba(0, 0, 0, 0.14) 3px 3px 6px 0px inset, rgba(0, 0, 0, 0.14) -3px -3px 6px 1px inset; background: #1B1A19; vertical-align: middle; height: {{#lvar:pixl}}; width: {{#lvar:pixl}}; overflow: hidden; border-radius: 5px; border: 2px solid {{#lvar:cols}};">}}}}{{#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, and {{C|common}} is the default rarity setting.
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, and {{C|common}} is the default rarity setting.
Line 79: Line 79:
Only first parameter defined.
Only first parameter defined.


{{User:Llamageddon/RrtyItem|Mace}}
{{User:Llamageddon/RrtyItem|Mace}}asdfghjkl




Line 86: Line 86:
Using shortcuts for rarity and image type, and {{User:Llamageddon/Highlight|item}} keyword in 4th to copy item name as text link.
Using shortcuts for rarity and image type, and {{User:Llamageddon/Highlight|item}} keyword in 4th to copy item name as text link.


{{User:Llamageddon/RrtyItem|Armour of Uninhibited Kushigo|s|tt|item}}
{{User:Llamageddon/RrtyItem|Armour of Uninhibited Kushigo|s|tt|item}}qwertyuiop




Line 125: Line 125:


=== List Layout ===
=== List Layout ===
Sometimes spacing can change depending on bullet list types, whitespace and transitions. Rarely noticeable, but the following is included for reference.
Sometimes spacing can change depending on bullet list types, whitespace and transitions. Rarely noticeable or significant, but the following is included for reference.


{{User:Llamageddon/RrtyItem|Stuffed Bear B|c|tooltip}} a
{{User:Llamageddon/RrtyItem|Stuffed Bear B|c|tooltip}}a
{{User:Llamageddon/RrtyItem|Warhammer|legendary}}b
{{User:Llamageddon/RrtyItem|Club|veryrare}}c


{{User:Llamageddon/RrtyItem|Warhammer|legendary}} b
{{User:Llamageddon/RrtyItem|Mace|rare}}d


{{User:Llamageddon/RrtyItem|Club|veryrare}} c
{{User:Llamageddon/RrtyItem|Stuffed Bear B|c|tooltip}}a
*{{User:Llamageddon/RrtyItem|Mace|rare}} d


*{{User:Llamageddon/RrtyItem|Stuffed Bear B|c|tooltip}} a
{{User:Llamageddon/RrtyItem|Warhammer|legendary}}b
*{{User:Llamageddon/RrtyItem|Warhammer|legendary}} b
:{{User:Llamageddon/RrtyItem|Club|veryrare}} c


:{{User:Llamageddon/RrtyItem|Mace|rare}} d
*{{User:Llamageddon/RrtyItem|Club|veryrare}}c
:{{User:Llamageddon/RrtyItem|Stuffed Bear B|c|tooltip}} a
*{{User:Llamageddon/RrtyItem|Mace|rare}}d
#{{User:Llamageddon/RrtyItem|Warhammer|legendary}} b
*{{User:Llamageddon/RrtyItem|Stuffed Bear B|c|tooltip}}a
:{{User:Llamageddon/RrtyItem|Warhammer|legendary}}b
:{{User:Llamageddon/RrtyItem|Club|veryrare}}c
:{{User:Llamageddon/RrtyItem|Mace|rare}}d
#{{User:Llamageddon/RrtyItem|Stuffed Bear B|c|tooltip}}a
#{{User:Llamageddon/RrtyItem|Warhammer|legendary}}b
#{{User:Llamageddon/RrtyItem|Club|veryrare}}c


#{{User:Llamageddon/RrtyItem|Club|veryrare}} c
#{{User:Llamageddon/RrtyItem|Mace|rare}}d
#{{User:Llamageddon/RrtyItem|Mace|rare}} d
</noinclude>
</noinclude>

Navigation menu