Module:World Wonders/doc

From Rise of Cultures Wiki
Jump to navigation Jump to search

This is the documentation page for Module:World Wonders

Description

Retrieve a stat for a wonder.


Syntax

{{#invoke: World_Wonders | main | [stat] | [wonder] }}


Parameters

Parameter Description Default Required
[stat]
Select one of the following:
  • code
  • name
  • group
  • group2
  • slot
  • slot2
  • material1
  • material2
  • materials
  • materials_colour
  • synergy
  • synergy_bonus
  • synergy_colour
  • rarity
Will return blank if the parameter is incorrect or missing Y
[wonder]
Provide the full wonder name or the wonder code used on the wiki (not case sensitive) Will return blank if the parameter is incorrect or missing Y

Examples

Description Code Output
Retrieve the code of a wonder
{{#invoke: World_Wonders | main | code | Stonehenge }}
SH
Retrieve the name of a wonder
{{#invoke: World_Wonders | main | name | HG }}
Hanging Gardens
Retrieve the name of a wonder's group
{{#invoke: World_Wonders | main | group | SoZ }}
Ancient World
Retrieve the code of a wonder's group
{{#invoke: World_Wonders | main | group2 | ToA }}
AW
Retrieve the name of a wonder's slot
{{#invoke: World_Wonders | main | slot | CP }}
Egypt
Retrieve an alternative form of a wonder's slot
{{#invoke: World_Wonders | main | slot2 | GS }}
Allied: Egypt
Retrieve the first material of a wonder
{{#invoke: World_Wonders | main | material1 | LoA }}
Naval
Retrieve the second material of a wonder
Will return blank if there is no second material
{{#invoke: World_Wonders | main | material2 | LoA }}
Temple
Retrieve the materials of a wonder
{{#invoke: World_Wonders | main | materials | LoA }}
Naval, Temple
Retrieve the materials of a wonder with formatting
{{#invoke: World_Wonders | main | materials_colour | LoA }}
Naval Temple
Retrieve the synergy tag of a wonder
Will return blank if there is no synergy bonus
{{#invoke: World_Wonders | main | synergy | AS }}
Statue
Retrieve the short form of the synergy bonus
Will return "-" if there is no synergy bonus
{{#invoke: World_Wonders | main | synergy_bonus | AS }}
1 RP/1d
Retrieve the synergy tag of a wonder with formatting
{{#invoke: World_Wonders | main | synergy_colour | AS }}
Statue
Retrieve the rarity of a wonder
{{#invoke: World_Wonders | main | rarity | CoR }}
Legendary