Template:Tooltip variants/doc
Appearance
A tooltip template used for alternate versions of a gameplay element, such as job swaps and trait names.
Parameters
Parameter | Description |
---|---|
1 | Sets the underlined text
|
Variants
These parameters will define the variants shown in the tooltip. Unused parameters will be omitted. Civic icons will used the icons defined in {{icon}}
template.
Parameter | Icon | Usage |
---|---|---|
default | ![]() |
Default variant
|
individualist | Individualist | Unnecessary in most cases, but will never change icon |
non-corporate | <span style="grid-column:1; overflow:hidden; width: Expression error: Unrecognized punctuation character "{".px;">Democratic<span style="grid-column:2; overflow:hidden; width: Expression error: Unrecognized punctuation character "{".px;"><span style="margin-left: -Expression error: Unrecognized punctuation character "{".px;">px}}px<span style="grid-column:3; overflow:hidden; width: Expression error: Unrecognized punctuation character "{".px;"><span style="margin-left: -Expression error: Unexpected < operator.px;">Dictatorial<span style="grid-column:4; overflow:hidden; width: Expression error: Unrecognized punctuation character "{".px;"><span style="margin-left: -Expression error: Unexpected < operator.px;">Imperial | Unnecessary in most cases, but will never change icon |
corporate | Corporate | Corporate variant |
gestalt | File:Gestalt consciousness.png | Gestalt variant |
hive | File:Auth hive mind.png | Hive Mind variant |
machine | File:Auth machine intelligence.png | Machine Intelligence variant |
extra | — | Appended at the end of the variant list, does not include icons |
Examples
{{trait|Principled|w=28px|class=Official|council=yes}} {{tooltip variants|Principled|hive=Hum of Stability|machine=Protected}}
File:Leader trait bg basic.pngFile:Leader trait principled.pngFile:Leader trait overlay councilor.pngPrincipled
Principled
File:Auth hive mind.png Hum of Stability
File:Auth machine intelligence.png Protected
{{tooltip variants|default={{iconify|Archaeo-Engineer}}|hive={{iconify|Archaeo-Engineering Drone}}|machine={{iconify|Archaeo-Engineering Unit}}}}
Archaeo-Engineer Archaeo-Engineer
Individualist Archaeo-Engineer Archaeo-Engineer
File:Auth hive mind.png Archaeo-Engineering Drone Archaeo-Engineering Drone
File:Auth machine intelligence.png Archaeo-Engineering Unit Archaeo-Engineering Unit