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

Template:LogBox: Difference between revisions

Template page
Content added Content deleted
No edit summary
No edit summary
Line 71: Line 71:
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:
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:
{{LogBox
{{LogBox
|akizet
|akizetesche
|type=examine
|rawname=!!__akizetesche__!!
|text=::RESPONSIVE THOUGHTFORM<br
|text=::RESPONSIVE THOUGHTFORM<br
/>::EXPLICIT PURPOSE::'recollection locus<br
/>::EXPLICIT PURPOSE::'recollection locus<br

Revision as of 09:16, 13 March 2023


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

Contentrequired
imageimage

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

Filesuggested
typetype

Type of the actor

Stringsuggested

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.