User:Llamageddon/RrtyIcon

From Baldur's Gate 3 Wiki
Jump to navigation Jump to search

Examples

{{Icon|{{#var:exlk}} Icon.png}}

File:Icon.png


{{User:Llamageddon/RrtyIcon|Club|Mace|uncommon}}

 Club Icon.png Mace


{{User:Llamageddon/RrtyIcon|Club|{{blank}}|rare}}

 Club Icon.png [[]]


{{User:Llamageddon/RrtyIcon|Club|Mace|very rare}} {{Rarity|{{#var:void}}}} (Having trouble converting 'very rare' to 'veryrare')

 Club Icon.png Mace Rarity: Very Rare


{{User:Llamageddon/RrtyIcon|Club|rare}}

 Club Icon.png rare


{{User:Llamageddon/RrtyIcon|Wrong|Mace|legendary}}

 File:Wrong Icon.png Mace


{{User:Llamageddon/RrtyIcon|Club|Mace|wrong}}

 Club Icon.png Mace


{{User:Llamageddon/RrtyIcon|||}}

 File:Icon.png [[]]


{{User:Llamageddon/RrtyIcon|{{blank}}|{{blank}}|{{blank}}}}

 [[File: Icon.png|25px]] [[]]

CSS Code Snippet

/* Imitating in-game rarity icon borders */

body.theme-dark-grey .bg3wiki-div-border { background: #1B1A19; box-shadow: rgba(0, 0, 0, 0.14) 3px 3px 6px 0px inset, rgba(0, 0, 0, 0.14) -3px -3px 6px 1px inset; border: 2px solid #1B1A1999; padding: 4px 0px 6px 0px;

   max-width: 25px;

}

body.theme-dark-grey .bg3wiki-icon-colour-common { border: 2px solid #1B1A1999;

   max-width: 25px;

}

body.theme-dark-grey .bg3wiki-icon-colour-uncommon { border: 2px solid #00491599;

   max-width: 25px;

}

body.theme-dark-grey .bg3wiki-icon-colour-rare { border: 2px solid #00374999;

   max-width: 25px;

}

body.theme-dark-grey .bg3wiki-icon-colour-very_rare { border: 2px solid #54003299;

   max-width: 25px;

}

body.theme-dark-grey .bg3wiki-icon-colour-legendary { border: 2px solid #563E0D99;

   max-width: 25px;

}

body.theme-dark-grey .bg3wiki-icon-colour-story { border: 2px solid #561D0099;

   max-width: 25px;

}