Template:IconLink/doc

From 20XX Series Wiki
Jump to navigation Jump to search

Looks pretty. Well suited for future use with on-hover tooltips.


Usage:

{{IconLink|Page Name}}
{{IconLink|Page Name|Vanity text}}
{{IconLink|Page Name|Vanity text|CustomIcon.png}}

Since the move to wiki.gg and the subsequent merge of the 20XX and 30XX wikis, a named parameter "20XX" can be specified.

It doesn't matter what the parameter actually is- if it exists in the template call at all, it will link to the 20XX version of the item instead.

i.e.

{{IconLink|Page Name|20XX=1}}
{{IconLink|Page Name|Vanity text|20XX=1}}
{{IconLink|Page Name|Vanity text|CustomIcon.png|20XX=1}}

Template:IL is aliased to IconLink, and can be used in its place as a shorthand.


Example:

Top text

This is the Frail Glory.png Frail Glory. wow!

This, however, is not the Contractor Omega.png Frail Glory. wtf?

It's Contractor Omega! Like the Contractor Omega (20XX).png Contractor Omega from 20XX!

And if we want the icon to move: look at this Bat.gif weird bat thing!

As for an item with a : in it, how about the Blueprint- Reversal Device.png Blueprint: Reversal Device?

Bottom text