Template:GameMessage/doc
Jump to navigation
Jump to search
Documentation
Usage
{{gameMessage|message here}}
{{gameMessage|message here|sub message here|OtherStyle=}}
Example - main
When you destroy a [[Holy Mountain]] you receive the message {{gameMessage|You have angered the gods}} and [[Stevari]] spawns shortly thereafter.
When you destroy a Holy Mountain you receive the message You have angered the gods and Stevari spawns shortly thereafter.
Example - main and sub
The message shown is {{gameMessage|main message|and sub message}} at some determined event
The message shown is main messageand sub message at some determined event
Example - sub
When picking up gold, the message {{gameMessage||Picked up X gold.}} appears in the lower left corner of the screen.
When picking up gold, the message Picked up X gold. appears in the lower left corner of the screen.
Examples - other styles
{{gameMessage|Moist|OtherStyle=gmiMoist}}
- gmiMoist
Moist
- gmiBooby
Booby trapped
- gmiConductive
Conductive
- gmiFogofwar
Fog of war
- gmiFogofplayer
Fog of war clear at player
- gmiFreezing
Freezing
- gmiFungal
Fungal
- gmiFurnished
Furnished
- gmiGas
Gas
- gmiGold
Gold
- gmiGravity
Gravity fields
- gmiHigh
High gravity
- gmiHot
Hot
- gmiInvisible
Invisible
- gmiLow
Low gravity
- gmiOminous
Ominous
- gmiPerforated
Perforated
- gmiPlant
Plant infested
- gmiShielded
Shielded
- gmiSpooky
Spooky
- gmiSunlight
Sunlight
- gmiWormy
Wormy
- gmiFungalShift
FungalShift
Templatedata
A minimal template to render a string of text in a similar way as in-game messages.
Parameter | Description | Type | Status | |
---|---|---|---|---|
text | 1 text | The text to show as a game message
| String | required |
text | 2 | The text to show as a the sub-message
| String | optional |
other styles | OtherStyle | change border style | String | optional |