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!)
 
(HAHAHA IT WORKS :D)
Line 20: Line 20:
</noinclude>
</noinclude>


<includeonly>
<includeonly><!--
--><templatestyles src="ActionInfobox/styles.css"/><!--
{{{name}}}
--><div class="action-box spacemono-text"><!--

--><div class="name"><!--
INFO::{{{info}}}
-->{{{name}}}<!--

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

--></div></includeonly>



<noinclude>
<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>

Revision as of 11:05, 1 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.