Template:Infoicon/doc

From Captain of Industry Wiki
< Template:Infoicon
Revision as of 07:03, 25 January 2022 by Thadius856 (talk | contribs) (update examples)
Jump to: navigation, search
Purpose
This template provides a method to rapidly include an icon and link inline with text, such as inside of a paragraph or in a bulleted list.
Automations
Automatically detects and corrects a handful of mismatches between image filenames and desired article names.
Usage
The template accepts the following parameters:
{{{1}}} = image name
symbolonly = yes (optional)(rare)
link = something (optional). Changes the link's target to the specified value. If set to no, prevents linking.
text = something (optional). Changes the link's text to the specified value.
plural = s (optional). Generally "s" or "es" as a plural suffix.
For irregular plural suffixes like "knife" → "knives", instead use symbolonly and manually provide the link.
ui = yes (optional). Prevents the white glow which improves accessibility from being applied (useful for white UI elements)
Examples