Template:Rarity: Difference between revisions

Jump to navigation Jump to search
m
Added space between icon and "Rarity:" to align on item and equipment pages
No edit summary
m (Added space between icon and "Rarity:" to align on item and equipment pages)
 
(10 intermediate revisions by 3 users not shown)
Line 1: Line 1:
<includeonly>{{SmallIcon|Rarity Icon.png}} Rarity: {{#switch:{{{1|common}}}
<includeonly>{{SmallIcon|Rarity Icon.png|class=bg3wiki-lightmode-drop-shadow}} Rarity: {{#switch: {{{1|}}}
| <!-- accept empty value for "common", for ease of use from other templates -->
| <!-- accept empty value for "common", for ease of use from other templates -->
| common = Common
| common = Common
| uncommon = {{Uncommon}}
| uncommon = {{Uncommon}}
| rare = {{Rare}}
| rare = {{Rare}}
| very rare = {{VeryRare}}
| very rare = {{very rare}}
}}</includeonly><noinclude>
| legendary = {{Legendary}}
| story = {{Story}}
}} {{#if: {{{2|}}}
| / {{#switch: {{{2}}}
| common = Common
| uncommon = {{Uncommon}}
| rare = {{Rare}}
| very rare = {{very rare}}
| legendary = {{Legendary}}
| story = {{Story}}
}}{{Honour}}}}</includeonly><noinclude>
Usage: {{code|<nowiki>{{rarity|}}</nowiki>}}
Usage: {{code|<nowiki>{{rarity|}}</nowiki>}}


Line 25: Line 35:


Result: {{rarity|very rare}}
Result: {{rarity|very rare}}
Usage: {{code|<nowiki>{{rarity|legendary}}</nowiki>}}
Result: {{rarity|legendary}}
Usage: {{code|<nowiki>{{rarity|story}}</nowiki>}}
Result: {{rarity|story}}
Usage: {{code|<nowiki>{{rarity|uncommon|rare}}</nowiki>}}
Result: {{rarity|uncommon|rare}}
[[Category:Weapon Property Templates]]
</noinclude>
</noinclude>

Navigation menu