Jump to content

Template:Planet modifier/doc

From Mango's Lewd Diplomacy: Official Wiki
Revision as of 20:38, 10 May 2025 by Mango Stellaris (talk | contribs) (1 revision imported)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
This is the documentation page for Template:Planet modifier.
When it is viewed directly, links using variables may appear broken; do not replace these with hardcoded page names or URLs.

This template displays a planet modifier icon with a green, yellow or red frame.

Parameters

Parameter Description Required Default
1 Modifier picture, with or without "pm_" required none
2 / frame
  • Modifier frame:
    • 1 / green = green
    • 2 / yellow = yellow
    • 3 / red = red
required yellow
3
  • Modifier name
  • Will automatically generate a link
optional none
link
  • Links to a specified page
  • Will also set hovertext if parameter 3 is not defined
optional
  • Planet modifiers#[3]
  • none if parameter 3 is not defined
iconify
  • If set to yes, it will append the icon with the text in parameter 3
  • If used, will make icon default to 24px instead.
optional no
w Size of the planet modifier icon optional
  • 60px
  • 24px if iconify is used

Examples

Wiki text Produces
{{Planet modifier|pm_archaeology|3}} [[File:pm_{{#sub:pm_archaeology|3}}.png|60px]]File:Pm frame red.png
{{Planet modifier|crime|red|Criminal Underworld}} File:Pm crime.pngCriminal Underworld
{{Planet modifier|machine_sapience|yellow|Zen World|iconify=yes}} File:Pm machine sapience.pngZen World Zen World
Cookies help us deliver our services. By using our services, you agree to our use of cookies.