No edit summary |
No edit summary |
||
Line 42: | Line 42: | ||
Example: |
Example: |
||
Moth ("friend"), defaults image to [[ |
Moth ("friend"), defaults image to [[Media:MothCropped.gif|/img/sprites/moth/mothman.gif (cropped)]]: |
||
{{LogBox|moth|hey buddy}} |
{{LogBox|moth|hey buddy}} |
||
Line 48: | Line 48: | ||
{{LogBox|cyst|::CORRUCYSTIC ENTITY<br>::NO FUNCTION SIGNATURE<br>::CONNECTIVE MEMBRANE EXPOSED}} |
{{LogBox|cyst|::CORRUCYSTIC ENTITY<br>::NO FUNCTION SIGNATURE<br>::CONNECTIVE MEMBRANE EXPOSED}} |
||
System/mindspike messages ("system"), uses [[Media:MindspikeCropped.gif|/img/mui/mindspikelogoactive.gif (cropped)]] icon over BG of [[Media:TextureStatic.gif|/img/textures/static.gif]]: |
|||
System/mindspike messages ("system"): |
|||
{{LogBox|system|..__RECONNECTING__..}} |
{{LogBox|system|..__RECONNECTING__..}} |
||
Line 59: | Line 59: | ||
</noinclude><includeonly><!-- |
</noinclude><includeonly><!-- |
||
--><templatestyles src="LogBox/Main.css" /><!-- |
--><templatestyles src="LogBox/Main.css" /><!-- |
||
--><div class="log-message-box spacemono-text {{{ type| |
--><div class="log-message-box spacemono-text {{{ type|<!-- |
||
-->{{ #switch: {{{ name |{{{ 1 |template_error}}}}}}<!-- |
|||
-->| system=system<!-- |
|||
-->| sys=system<!-- |
|||
-->| moth=friend<!-- |
|||
-->|examine<!-- |
|||
-->}}}}}"><!-- |
|||
-->{{ #if: {{{ image |}}} | [[File:{{{ image }}} | class=message-image custom-image]] |<!-- |
-->{{ #if: {{{ image |}}} | [[File:{{{ image }}} | class=message-image custom-image]] |<!-- |
||
# TODO: Rewrite this stuff to borrow EffectiveType from Corru code, "type" param overriding the name derived type |
# TODO: Rewrite this stuff to borrow EffectiveType from Corru code, "type" param overriding the name derived type |
||
-- -->{{ #switch: {{{ type |{{{ name |{{{ 1 |template_error}}}}}}}}}<!-- |
-- -->{{ #switch: {{{ type |{{{ name |{{{ 1 |template_error}}}}}}}}}<!-- |
||
-- -->| system=[[File:MindspikeCropped.gif | class=message-image]]<!-- |
-- -->| system =[[File:MindspikeCropped.gif | class=message-image]]<!-- |
||
-- -->| friend=[[File:MothCropped.gif | class=message-image]]<!-- |
-- -->| friend =[[File:MothCropped.gif | class=message-image]]<!-- |
||
-- -->| template_error=[[File:Corruheze.png | class=message-image]]<!-- |
-- -->| template_error =[[File:Corruheze.png | class=message-image]]<!-- |
||
-- -->| {{ #switch: {{{ name |{{{ 1 | |
-- -->| {{ #switch: {{{ name |{{{ 1 |template_error}}}}}}<!-- |
||
-- -- -->| sys=[[File:MindspikeCropped.gif | class=message-image]]<!-- |
-- -- -->| sys =[[File:MindspikeCropped.gif | class=message-image]]<!-- |
||
-- -- -->| system=[[File:MindspikeCropped.gif | class=message-image]]<!-- |
-- -- -->| system =[[File:MindspikeCropped.gif | class=message-image]]<!-- |
||
-- -- -->| moth=[[File:MothCropped.gif | class=message-image]]<!-- |
-- -- -->| moth =[[File:MothCropped.gif | class=message-image]]<!-- |
||
-- -- -->}}<!-- |
-- -- -->}}<!-- |
||
-- -->}}<!-- |
-- -->}}<!-- |
Revision as of 19:44, 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:
Moth ("friend"), defaults image to /img/sprites/moth/mothman.gif (cropped):
Examine system ("examine"), default type:
System/mindspike messages ("system"), uses /img/mui/mindspikelogoactive.gif (cropped) icon over BG of /img/textures/static.gif:
Own thoughts, narration ("sourceless"):
Missing parameter handling: