Template:Text Icon
This template serves as the base template for text icons. This template prints tiny, inline icons to make your wiki pretty!
Contents
Usage
This template is meant to be used as a base for other text icons, but it can be used by itself for "one and done" situations. If a derivative template already exists (ex. Template:Solar), you should use that template instead of this one. General purpose icons should be made into derivative templates, especially if they are very common.
Icon size is 20px.
Query
Some pages have metadata and can be queried for information to generate an Image+Text Combo. For this to work, the page must have "Property:Image" set. Pages with info boxes do this by default, so those pages are good candidates for this syntax.
{{Text Icon | <Page Name> }}
{{Text Icon | Hung Jury SR4 (Adept)}} |
Hung Jury SR4 (Adept) |
Inline
The Hung Jury SR4 (Adept) example is very likely a "one and done" situation so it is advisable to use this template for that instance. Another thing to note is that the Query syntax is better to use for that example.
{{Text Icon | image= | link= }}
{{Text Icon | image=Void.png | link= }} Void Weapons are mysterious! |
Void Weapons are mysterious! |
{{Text Icon | image=Solar.png}} Solar Weapons are hot! |
Solar Weapons are hot! |
{{Text Icon | image=Hung jury sr4 (adept) icon1.jpg | link=Hung Jury SR4 (Adept) }} [[Hung Jury SR4 (Adept)]] |
Hung Jury SR4 (Adept) |
Multiline
You can spread the templates parameters for visual clarity if needed.
{{Text Icon | image= | link= }}
{{Text Icon | image=Arc.png | link= }} Arc Weapons are electrifying! |
Arc Weapons are electrifying! |
Derivatives
Ammo
Elements
Champions
Currencies
- Template:Glimmer
- Template:Legendary Shard
- Template:Enhancement Core
- Template:Enhancement Prism
- Template:Ascendant Shard
- Template:Silver
Stats
- Template:Mobility
- Template:Resilience
- Template:Recovery
- Template:Discipline
- Template:Intellect
- Template:Strength