Difference between revisions of "Template:Icon"
From Dungeon Defenders 2 Wiki
Palo Frogger (talk | contribs) m (Test) |
Palo Frogger (talk | contribs) (Added Documentation) |
||
| Line 14: | Line 14: | ||
|ancient = Ancient Icon | |ancient = Ancient Icon | ||
}}.png|{{{2|18px}}}]] </includeonly> | }}.png|{{{2|18px}}}]] </includeonly> | ||
| + | |||
| + | <noinclude> | ||
| + | {| style="text-align: center; width:50%;" | ||
| + | |- | ||
| + | | | ||
| + | '''Usage:''' <br> <code><nowiki>{{</nowiki>Icon|''input''|''size''<nowiki>}}</nowiki></code> | ||
| + | || | ||
| + | '''Example:''' <br> <code><nowiki>{{</nowiki>Icon|Powerful|30px<nowiki>}}</nowiki></code> | ||
| + | |} | ||
| + | |||
| + | * Size is optional. The default will always be '''18px'''. | ||
| + | * Accepted inputs are not case-sensitive. But for consistency, probably best to stick to having the first letter of each input in upper-case. | ||
| + | |||
| + | === Available Inputs === | ||
| + | {| class="wikitable" style="width:50%;" | ||
| + | |- | ||
| + | ! Currency !! Rarity | ||
| + | |- | ||
| + | |style="vertical-align: top;"| | ||
| + | {{Icon|Gold|30px}} Gold | ||
| + | |||
| + | {{Icon|Gem|30px}} Gem | ||
| + | |||
| + | {{Icon|Medal|30px}} Medal | ||
| + | |style="vertical-align: top;"| | ||
| + | {{Icon|Worn|30px}} Worn | ||
| + | |||
| + | {{Icon|Sturdy|30px}} Sturdy | ||
| + | |||
| + | {{Icon|Powerful|30px}} Powerful | ||
| + | |||
| + | {{Icon|Epic|30px}} Epic | ||
| + | |||
| + | {{Icon|Mythical|30px}} Mythical | ||
| + | |||
| + | {{Icon|Legendary|30px}} Legendary | ||
| + | |||
| + | {{Icon|Godly|30px}} Godly | ||
| + | |||
| + | {{Icon|Ancient|30px}} Ancient | ||
| + | |} | ||
| + | |||
| + | </noinclude> | ||
| + | __NOEDITSECTION__ | ||
Revision as of 03:31, 28 October 2025
|
Usage: |
Example: |
- Size is optional. The default will always be 18px.
- Accepted inputs are not case-sensitive. But for consistency, probably best to stick to having the first letter of each input in upper-case.
Available Inputs
| Currency | Rarity |
|---|---|