Template:LogBox

{	"params": { "name": { "aliases": [ "1"			],			"description": "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.", "example": "moth", "type": "string", "required": true, "suggested": true },		"text": { "aliases": [ "content", "2"			],			"description": "Content of the box. Mind the formatting and such. Supports limited coloring with classes \"color-...\" matching the types.", "type": "content", "required": true, "suggested": true, "example": "hey buddy" },		"image": { "description": "Image to use for the box, unless it's from \"sourceless\" or an entity with known image.", "type": "wiki-file-name", "suggested": true, "example": "MothCropped.gif" },		"type": { "description": "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", "type": "string", "suggested": true, "example": "examine", "suggestedvalues": [ "examine", "system", "obesk", "interloper", "sourceless", "friend", "template_error" ]		},		"rawname": { "description": "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", "example": "!!__moth__!!", "type": "string" }	},	"description": "A template for the fancy boxes from the sidebar status/log messages when examining things or looking at past dialogue!", "paramOrder": [ "name", "text", "image", "type", "rawname" ],	"format": "block" }

Example:

Moth ("friend"), defaults image to [[Media:MothCropped.gif|/img/sprites/moth/mothman.gif (cropped)]]:

Examine system ("examine"), default type:

System/mindspike messages ("system", game also uses "sys"), uses [[Media:MindspikeCropped.gif|/img/mui/mindspikelogoactive.gif (cropped)]] icon over BG of [[Media:TextureStatic.gif|/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:

See also:

 * Template:LogBox/Main.css
 * Template:LogBox/Generic

