Module:World Wonders/doc
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:
|
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 }} |
|
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 }} |
|
Retrieve the rarity of a wonder | {{#invoke: World_Wonders | main | rarity | CoR }} |
Legendary |