Jump to content

Template:Tooltip variants/doc

From Mango's Lewd Diplomacy: Official Wiki
Revision as of 21:27, 11 March 2025 by MLD>Lorenerd11
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
This is the documentation page for Template:Tooltip variants.
When it is viewed directly, links using variables may appear broken; do not replace these with hardcoded page names or URLs.

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
  • Optional if either default, individualist, or non-corporate parameter is used

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 Default variant
  • Changes to Individualist if any of the gestalt variants are used.
  • Changes to <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 if a corporate variant is used.
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}}

{{tooltip variants|default={{iconify|Archaeo-Engineer}}|hive={{iconify|Archaeo-Engineering Drone}}|machine={{iconify|Archaeo-Engineering Unit}}}}

Cookies help us deliver our services. By using our services, you agree to our use of cookies.