Changes

Jump to: navigation, search

Template:ItemRarity/doc

363 bytes added, 09:01, 5 December 2020
Examples
== Examples ==
=== Example 1: Directly on the page ===
====Example Code 1====
<pre>{{ItemRarity|Legendary}}</pre>
====Example Output 1====
{{ItemRarity|Legendary}}
===Example 2: Wikitable===
====Example Code 2====
<pre>{| class="wikitable"
!Header
|-
| {{ItemRarity|2|Light}}
|}</pre>
====Example Output 2====
{| class="wikitable"
! Code! Result|- | <pre>{{ItemRarity|epic}}</pre> | {{ItemRarity|epic}}|- | <pre>{{ItemRarity|2}}</pre> | {{ItemRarity|2}}Header
|-
| <pre>{{ItemRarity|x}}</pre> 2| {{ItemRarity|xLight}}
|}
===Example 3: Dark background===
====Example Code 3====
<pre><span style="background-color:#000000>{{ItemRarity|x}}</span></pre>
====Example Output 3====
<span style="background-color:#000000>{{ItemRarity|x}}</span>
5,698
edits

Navigation menu