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

Template:ActionInfobox: Difference between revisions

Template page
Content added Content deleted
(created!)
 
m (oh my god i figured it out)
 
(3 intermediate revisions by the same user not shown)
Line 18: Line 18:
</pre>
</pre>
Edit the page to see the template text.
Edit the page to see the template text.
</noinclude>
</noinclude><includeonly><!--
--><templatestyles src="ActionInfobox/styles.css"/><!--

--><div class="action-box spacemono-text"><!--
<includeonly>
--><div class="name"><!--
{{{name}}}
-->{{{name}}}<!--

--></div><!--
INFO::{{{info}}}
-->INFO::{{{info}}}<br><!--

STAT::{{{stat}}}
-->STAT::{{{stat}}}<!--
--></div></includeonly><noinclude>
<!--- <templatestyles src="ActionInfobox/styles.css"/> i'll put this later. ---></includeonly>



<noinclude>
<templatedata>
<templatedata>
{
{
"params": {
"params": {
"name": {
"name": {
"aliases": [
"aliases": [
"1"
"1"
],
],
"description": "Name of the Action. Will automatically be in allcaps.",
"description": "Name of the Action. Will automatically be in allcaps.",
"example": "focus",
"example": "focus",
"type": "content",
"type": "content",
"required": true,
"required": true,
"suggested": true
"suggested": true
},
},
"info": {
"info": {
"aliases": [
"aliases": [
"desc",
"desc",
"2",
"2",
"command"
"command"
],
],
"description": "The text that comes after \"INFO::\" or \"COMMAND::\" in-game. Called \"desc\" in corru.observer combatactionsjson.js",
"description": "The text that comes after \"INFO::\" or \"COMMAND::\" in-game. Called \"desc\" in corru.observer combatactionsjson.js",
"example": "'hide vulnerability';'look for opportunity';'useful against wily foes'",
"example": "'hide vulnerability';'look for opportunity';'useful against wily foes'",
"type": "content",
"type": "content",
"required": true,
"required": true,
"suggested": true
"suggested": true
},
},
"stat": {
"stat": {
"aliases": [
"aliases": [
"3",
"3",
"help"
"help"
],
],
"description": "The text that comes after \"STAT::\" in-game. Called \"help\" in corru.observer combatactionsjson.js",
"description": "The text that comes after \"STAT::\" in-game. Called \"help\" in corru.observer combatactionsjson.js",
"example": "+1T:EVASION +1T:FOCUSED -VULNERABLE -WEAKENED",
"example": "+1T:EVASION +1T:FOCUSED -VULNERABLE -WEAKENED",
"type": "content",
"type": "content",
"required": true,
"required": true,
"suggested": true
"suggested": true
}
}
},
},
"description": "Template for in-game info for actions :)",
"description": "Template for in-game info for actions :)",
"format": "block"
"format": "block"
}
}
</templatedata>
</templatedata>

Latest revision as of 06:21, 2 July 2024

This is the "ActionInfobox" template.

Example:

focus
INFO::'hide vulnerability';'look for opportunity';'useful against wily foes'
STAT::+1T:EVASION +1T:FOCUSED -VULNERABLE -WEAKENED


It should be called in the following format:

{{ActionInfobox
| name =
| info =
| stat =
}}

Edit the page to see the template text.

Template for in-game info for actions :)

Template parameters[Edit template data]

This template prefers block formatting of parameters.

ParameterDescriptionTypeStatus
namename 1

Name of the Action. Will automatically be in allcaps.

Example
focus
Contentrequired
infoinfo desc 2 command

The text that comes after "INFO::" or "COMMAND::" in-game. Called "desc" in corru.observer combatactionsjson.js

Example
'hide vulnerability';'look for opportunity';'useful against wily foes'
Contentrequired
statstat 3 help

The text that comes after "STAT::" in-game. Called "help" in corru.observer combatactionsjson.js

Example
+1T:EVASION +1T:FOCUSED -VULNERABLE -WEAKENED
Contentrequired

See also:


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