Template:Infoicon/doc
From Captain of Industry Wiki
< Template:Infoicon
Revision as of 22:53, 21 January 2022 by Thadius856 (talk | contribs) (+plural param, clarification, improve examples)
- Purpose
- This template provides a method to rapidly include an icon and link inline with text, such as inside of a paragraph.
- Automations
- Automatically detects and corrects a handful of mismatches between image filenames and desired article names.
- Usage
- The template accepts up to three parameters:
{{{1}}}
= image namesymbolonly = yes
(optional)plural = s
(optional)(recommend "s" or "es" or "esses")
- Examples
- {{infoicon}} -> Infoicon: parameter {{{1}}} was not provided
- {{infoicon|World Map}} -> World Map
- {{infoicon|World Map|symbol_only=yes}} -> World Map
- {{infoicon|World Map|link=yes}} -> World Map
- {{infoicon|Worker}} -> Worker
- {{infoicon|Worker|plural=s}} -> Workers
- {{infoicon|Workers}} -> Workers
- {{infoicon|Unity}} -> Unity
- {{infoicon|Unity Large}} -> Unity Large