Difference between revisions of "Template:Icon"
From Dungeon Defenders 2 Wiki
m |
m |
||
| (2 intermediate revisions by the same user not shown) | |||
| Line 16: | Line 16: | ||
|godly = <span style="color:#40E0D0"> [[File:Godly Icon.png|18px]] Godly </span> | |godly = <span style="color:#40E0D0"> [[File:Godly Icon.png|18px]] Godly </span> | ||
|ancient = <span style="color:#DD1F13"> [[File:Ancient Icon.png|18px]] Ancient </span> | |ancient = <span style="color:#DD1F13"> [[File:Ancient Icon.png|18px]] Ancient </span> | ||
| + | }} | ||
| + | <!--checkbox--> | ||
| + | | checkbox = {{#switch:{{{2|}}} | ||
| + | |yes = [[File:TickGreen.png]] | ||
| + | |no = [[File:CrossWhite.png]] | ||
}} | }} | ||
}}<!-- | }}<!-- | ||
--><noinclude> | --><noinclude> | ||
| − | {| style="text-align: center; width: | + | {| style="text-align: center; width:75%;" |
|- | |- | ||
| | | | ||
| Line 33: | Line 38: | ||
=== Available Inputs === | === Available Inputs === | ||
| − | {| class="wikitable" style="width: | + | {| class="wikitable" style="width:75%;" |
|- | |- | ||
| − | ! Currency !! Rarity | + | ! Currency !! Rarity !! Checkbox |
|- | |- | ||
| − | |style="vertical-align: top;"| | + | |style="vertical-align: top; width:25%;"| |
{{Icon|currency|gold}} Gold | {{Icon|currency|gold}} Gold | ||
| Line 43: | Line 48: | ||
{{Icon|currency|gem}} Gem | {{Icon|currency|gem}} Gem | ||
| − | |style="vertical-align: top;"| | + | |style="vertical-align: top;width:25%;"| |
{{Icon|rarity|worn}} | {{Icon|rarity|worn}} | ||
| Line 59: | Line 64: | ||
{{Icon|rarity|ancient}} | {{Icon|rarity|ancient}} | ||
| + | |style="vertical-align: top; width:25%;"| | ||
| + | {{Icon|checkbox|yes}} Yes | ||
| + | |||
| + | {{Icon|checkbox|no}} No | ||
|} | |} | ||
__NOEDITSECTION__ | __NOEDITSECTION__ | ||
</noinclude> | </noinclude> | ||
Latest revision as of 14:04, 22 June 2026
|
Usage: |
Example: |
- Current default size 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.
- Only the rarity category will automatically have the wording beside their respective icons.
Available Inputs
| Currency | Rarity | Checkbox |
|---|---|---|