Template:Infoicon/doc
From Captain of Industry Wiki
- 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 up to three parameters:
{{{1}}}= image namesymbolonly = yes(optional)(rare)link = yes(optional). Adds a text hyperlink to the article name. However, please do not overuse this.plural = s(optional). Generally "s" or "es" as a plural suffix.- For irregular plural suffixes like "knife" → "knives", instead use
symbolonlyand manually provide the link.
- For irregular plural suffixes like "knife" → "knives", instead use
- Examples
- {{infoicon}} → Infoicon: parameter {{{1}}} was not provided
- {{infoicon|Corn}} → Corn
- {{infoicon|Iron Ore Crushed}} → Iron Ore Crushed
- {{infoicon|PCB}} → PCB
- {{infoicon|PCB|plural=yes}} → PCBs
- {{infoicon|PCB|link=yes|plural=s}} → PCBs
- {{infoicon|PCB|symbol_only=yes}} → PCB
- {{infoicon|Worker}} → Worker
- {{infoicon|Worker|plural=s}} → Workers
- {{infoicon|Workers}} → Workers
- {{infoicon|Unity}} → Unity
- {{infoicon|Unity Large}} → Unity Large
- This is an example of an image which is too large and busy to display properly as an infoicon (see File:Unity Large.png).