Content added Content deleted
(Created page with " <noinclude> <templatedata> { "params": { "name": { "aliases": [ "1" ], "description": "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", "type": "string", "required": true, "suggested": true }, "text": { "aliases": [ "content", "2" ], "descri...") |
No edit summary |
||
Line 42: | Line 42: | ||
Example: |
Example: |
||
{{LogBox|Moth|hey buddy|image=MothCropped.gif}} |
{{LogBox|Moth|hey buddy|image=MothCropped.gif|classes=friend}} |
||
<hr/> |
<hr/> |
||
Line 49: | Line 49: | ||
</noinclude> |
</noinclude> |
||
<templatestyles src="LogBox/Main.css" /> |
<templatestyles src="LogBox/Main.css" /> |
||
<div class="log-message-box {{#if: {{{ image }}} | with-image|}} |
<div class="log-message-box {{#if: {{{ image }}} | with-image|}} {{{ classes }}}"><!-- |
||
-->{{ #if: {{{ image |}}} | [[File:{{{ image }}} | class=image]] |}}<span class="name">{{ barcode | {{{ rawname | !!__{{{ name |{{{ 1 }}}}}}__!! }}} }}</span><!-- |
-->{{ #if: {{{ image |}}} | [[File:{{{ image }}} | class=image]] |}}<span class="name">{{ barcode | {{{ rawname | !!__{{{ name |{{{ 1 }}}}}}__!! }}} }}</span><!-- |
||
--><div class="message-content">{{{ text | {{{ 2 }}} }}}</div><!-- |
--><div class="message-content">{{{ text | {{{ 2 }}} }}}</div><!-- |
Revision as of 16:23, 12 March 2023
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 entire was created. Will automatically add !!__...__!! around it and uppercase it as per the game, unless it's from "sys" or "sourceless".
| String | required |
text | text content 2 | Text content of the box | Content | required |
image | image | Image to use for the box, unless it's from "sourceless" or an entity with known image. | File | suggested |
Example:
Template: