A template for the fancy boxes from the sidebar status/log messages when examining things or looking at past dialogue!
Parameter | Description | Type | Status | |
---|---|---|---|---|
name | name 1 | The name of relevant entity (character or object) for which this log entry was created. Will automatically add !!__...__!! around it and uppercase it as per the game, and hidden if it's from "system", "sourceless", "interloper". Will be used to derive color/type for styling the box. Case sensitive for this purpose, all known names are matched with lowercase.
| String | required |
text | text content 2 | Content of the box. Mind the formatting and such. Supports limited coloring with classes "color-..." matching the types.
| Content | required |
image | image | Image to use for the box, unless it's from "sourceless" or an entity with known image.
| File | suggested |
type | type | Type of the actor. Overrides color and styling derived from the name. Useful for examine box of Akizet (Use "akizet" for actual name though, it's case sensitive), for example
| String | suggested |
rawname | rawname | Raw name, for when you want to use existing actor's image binding and such, but need a specific display name. See Template:LogBox page for an example with Akizet
| String | optional |
customcss | customcss | Custom css classes to add.
| String | optional |
notpageimage | notpageimage | Whether to show the actor image used in the embed of the page or not.
| Boolean | optional |
image_alt | image_alt | Optional alt text for the image.
| String | optional |
imagesize | imagesize | Size of the image, in a format like "50px". | String | optional |
Example:
Moth ("friend"), defaults image to /img/sprites/moth/mothman.gif (cropped):
Examine system ("examine"), default type:
System/mindspike messages ("system", game also uses "sys"), uses /img/mui/mindspikelogoactive.gif (cropped) icon over BG of /img/textures/static.gif:
Own thoughts, narration ("sourceless"):
Interloper speech ("interloper", game also uses "self")
Obesk speech (requires ...|type="obesk"..., unless it's a known name)
Missing parameter handling:
Complex stuff, example copied almost verbatim from the game source. Mind that MediaWiki does not like CSS variables in anything that is sanitized. Also for some reason unnamed param does not work, end up needing the named one. BRs are used to escape the newline away: