Template:Era
Jump to navigation
Jump to search
Template documentation follows |
---|
Note: the template above may sometimes be partially or fully invisible. |
Visit Template:Era/doc to edit this documentation. (How does this work?) |
Description
A template to retrieve all sorts of data related to the eras. Name, colour, names of goods, images of goods, commander multiplier, formatted texts and more.
Syntax
{{Era | era = [Era_Type] | display = [Display_Type] }}
Parameters
Parameter | Description | Default | Required |
[Era_Type] |
Several inputs can be used for this parameter (not case sensitive):
|
«era» | Y |
[Display_Type] |
Select one of the following (not case sensitive):
|
lower | N |
Examples
Description | Code | Output |
Retrieve the regular case, full length name of an era | {{Era | era = SA}} |
Stone Age |
Retrieve the upper case, full length name of an era | {{Era | era = Stone Age | display = upper}} |
STONE AGE |
Retrieve the regular case, full length name of an era with shadow | {{Era | era = 1 | display = lower_shadow}} |
Stone Age |
Retrieve the upper case, full length name of an era with shadow | {{Era | era = 2 | display = upper_shadow}} |
BRONZE AGE |
Retrieve the upper case, short code of an era with shadow | {{Era | era = ME | display = short_shadow}} |
ME |
Retrieve a small coloured box with the era short code | {{Era | era = ME | display = short_colour}} |
|
Create a div block with the era colour and full-length, uppercase, bold text | {{Era | era = BA | display = box}} |
BRONZE AGE |
Retrieve an era colour | <div style="width: 50px; height: 50px; background: {{Era | era = ME | display = colour}};"></div> |
|
Retrieve the text for goods of an era | {{Era | era = CG | display = goods1}} |
Primary: CG |
{{Era | era = PE | display = goods2}} |
Secondary goods of Previous Era | |
{{Era | era = CE | display = goods3}} |
Tertiary goods of Current Era | |
Retrieve the icons of all goods of an era | {{Era | era = ER | display = goods4}} |
|
Retrieve the multiplier for a commander's stats based on the player's era | {{Era | era = RE | display = multiplier}} |
3 |
Retrieve the number of an era (BE is the 7th era) | {{Era | era = BE | display = number}} |
7 |