Toggle menu
Toggle personal menu
Not logged in
Your IP address will be publicly visible if you make any edits.

Template:LogBox

Template page
Revision as of 09:29, 13 March 2023 by SaphireLattice (talk | contribs)


A template for the fancy boxes from the sidebar status/log messages when examining things or looking at past dialogue!

Template parameters[Edit template data]

This template prefers block formatting of parameters.

ParameterDescriptionTypeStatus
namename 1

The name of relevant entity (character or object) for which this log entire was created. Will automatically add !!__...__!! around it and uppercase it as per the game, unless it's from "sys" or "sourceless".

Example
moth
Stringrequired
texttext content 2

Text content of the box

Example
hey buddy
Contentrequired
imageimage

Image to use for the box, unless it's from "sourceless" or an entity with known image.

Example
MothCropped.gif
Filesuggested
typetype

Type of the actor

Suggested values
examine system obesk interloper sourceless
Example
examine
Stringsuggested
Raw name, for when you want to use existing actor's image binding and such, but need a specific display name. See LogBox template page for an example with Akizetrawname

no description

Example
!!__moth__!!
Stringoptional

Example:

Moth ("friend"), defaults image to /img/sprites/moth/mothman.gif (cropped):

Actor image
!!__moth__!!
hey buddy

Examine system ("examine"), default type:

!!__cyst__!!
::CORRUCYSTIC ENTITY
::NO FUNCTION SIGNATURE
::CONNECTIVE MEMBRANE EXPOSED

System/mindspike messages ("system", game also uses "sys"), uses /img/mui/mindspikelogoactive.gif (cropped) icon over BG of /img/textures/static.gif:

Actor image
..__RECONNECTING__..

Own thoughts, narration ("sourceless"):

the decoding machines flip on, casting their light over a spidery mess of wires.

Interloper speech ("interloper", game also uses "self")

Actor image
so how are repairs going?

Obesk speech (requires ...|type="obesk"..., unless it's a known name)

Actor image
!!__funfriend__!!
HELLO!

Missing parameter handling:

Actor image
!!__template error__!!
::TEMPLATE ERROR:'entity name missing'
::TEMPLATE ERROR:'no text'

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:

Actor image
!!__akizetesche__!!
::RESPONSIVE THOUGHTFORM
::EXPLICIT PURPOSE::'recollection locus
::RECONSTRUCTED SIGNATURE CONTEXT
+'vaznian surrealist influence'
+'mark of oltazni'
+'vel receptors, curled'
+'cousinly eyes'
+'self-designed signature'

See also:


Cookies help us deliver our services. By using our services, you agree to our use of cookies.