Difference between revisions of "Template:Text command infobox"
Jump to navigation
Jump to search
(14 intermediate revisions by 2 users not shown) | |||
Line 1: | Line 1: | ||
<includeonly>{{#set:Has context=emote}}{{#switch:{{lc:{{{release|}}}}}|heavensward = {{Heavensward expansion content}}|stormblood = {{Stormblood expansion content}}|#default=}} | <includeonly>{{#set:Has context=emote}}{{#switch:{{lc:{{{release|}}}}}|heavensward = {{Heavensward expansion content}}|stormblood = {{Stormblood expansion content}}|shadowbringers = {{Shadowbringers expansion content}}|endwalker = {{Endwalker expansion content}}|dawntrail = {{Dawntrail expansion content}}|#default=}}{{#if:{{{release|}}}||{{#switch:{{{patch|}}}|1.0|2.0|2.05|2.1|2.15|2.16|2.2|2.21|2.25|2.28|2.3|2.35|2.38|2.4|2.41|2.45|2.5|2.51|2.55|2.56|2.57=|#default=[[Category:Missing release]]}}}} | ||
<div class="infobox-n | <div class="infobox-n text-command"> | ||
<div style="float:left;height:50px;position:relative;top:0px;left:0px;visibility:hidden;">.</div> | <div style="float:left;height:50px;position:relative;top:0px;left:0px;visibility:hidden;">.</div> | ||
<p class="heading">[[Has canonical name::{{{name|{{#titleparts:{{PAGENAME}}}}}}}]]</p> | <p class="heading">[[Has canonical name::{{{name|{{#titleparts:{{PAGENAME}}}}}}}]]</p> | ||
Line 6: | Line 6: | ||
;Type | ;Type | ||
:{{#arraymap: {{{type|}}} |,|@@@|{{#switch: {{lc:@@@}} | :{{#arraymap: {{{type|}}} |,|@@@|{{#switch: {{lc:@@@}} | ||
| | | chat = [[Chat text commands|{{ucfirst:@@@}}]] | ||
| | | party and social = [[Party and Social text commands|{{ucfirst:@@@}}]] | ||
| | | target = [[Target text commands|{{ucfirst:@@@}}]] | ||
| hotbar = [[Hotbar text commands|{{ucfirst:@@@}}]] | |||
| battle = [[Battle text commands|{{ucfirst:@@@}}]] | |||
| other = [[Other text commands|{{ucfirst:@@@}}]] | |||
| macro = [[Macro text commands|{{ucfirst:@@@}}]] | |||
| configuration = [[Configuration text commands|{{ucfirst:@@@}}]] | |||
| emote = [[Emote text commands|{{ucfirst:@@@}}]] | |||
| main menu = [[Main Menu text commands|{{ucfirst:@@@}}]] | |||
| #default = {{ucfirst:@@@}} | | #default = {{ucfirst:@@@}} | ||
}} | }} | ||
Line 30: | Line 37: | ||
}} | }} | ||
}}<!-- | }}<!-- | ||
-->{{#if: {{{ | -->{{#if: {{{platforms|}}} | | ||
; | ;Platforms | ||
: | :{{{platforms}}} | ||
}}<!-- | }}<!-- | ||
-->{{#if: {{{ | -->{{#if: {{{emote|}}} | | ||
; | ;Emote | ||
:[[{{{ | :[[{{{emote}}}]] | ||
}}<!-- | }}<!-- | ||
-->{{#if: {{{ | -->{{#if: {{{aliases|}}} | | ||
; | ;Aliases | ||
: | :{{{aliases}}} | ||
}}<!-- | }}<!-- | ||
-->{{#if: {{{ | -->{{#if: {{{usage|}}} | | ||
; | ;Usage | ||
: | :{{{usage}}} | ||
}} | |||
}}<!-- | }}<!-- | ||
-->{{#if: {{{patch|}}} | | -->{{#if: {{{patch|}}} | | ||
Line 74: | Line 57: | ||
: {{{patch}}} | : {{{patch}}} | ||
}} | }} | ||
{{clear}} | |||
</div></div><!-- | </div></div><!-- | ||
-->{{#if:{{{description|}}}| | -->{{#if:{{{description|}}}| | ||
Line 79: | Line 63: | ||
<!-- GET INFO TO AUTO FILL TABLE --> | <!-- GET INFO TO AUTO FILL TABLE --> | ||
{{#set:description={{{description|}}} }} | {{#set:description={{{description|}}} }} | ||
{{#set:type={{{type|}}} |+sep}} | {{#set:type={{{type|}}} |+sep}} | ||
Line 113: | Line 96: | ||
{{Text command infobox | {{Text command infobox | ||
| name = | | name = | ||
| description = | | description = | ||
| type = | | type = | ||
| platforms = | |||
| emote = | |||
| aliases = | | aliases = | ||
| | | usage = | ||
| patch = | | patch = | ||
| release = | | release = | ||
Line 146: | Line 123: | ||
; cost: Optional. amount of the currency needed to purchase the text command. | ; cost: Optional. amount of the currency needed to purchase the text command. | ||
; patch: Optional. Patch this text command was released in. | ; patch: Optional. Patch this text command was released in. | ||
; release: Optional. Expansion this text command belongs to. Accepts ''heavensward'' or ''stormblood''. | ; release: Optional. Expansion this text command belongs to. Accepts ''heavensward'' or ''stormblood'' or ''shadowbringers'' or ''endwalker'' or ''dawntrail''. | ||
==Examples== | ==Examples== | ||
<pre>{{ | <pre>{{Text command infobox | ||
| name = | | name = /say | ||
| | | description = ALIASES: | ||
/say, /s | |||
USAGE: | |||
| | /say [message] | ||
| | |||
| | →Sends a message to all PCs within a small radius. The message will not be displayed if a PC has deselected [Say] in the chat filter. Typing /say or /s without a message switches the default chat mode to [Say]. | ||
| | | type = chat | ||
| | | platforms = Windows, PS4, Mac | ||
| emote = | |||
| aliases = /say, /s | |||
| usage = /say [message] | |||
| patch = | |||
| patch = | | release = | ||
| release = | |||
}}</pre> | }}</pre> | ||
{{Text command infobox | {{Text command infobox | ||
| name = | | name = /say | ||
| | | description = ALIASES: | ||
/say, /s | |||
USAGE: | |||
| | /say [message] | ||
| | |||
| | →Sends a message to all PCs within a small radius. The message will not be displayed if a PC has deselected [Say] in the chat filter. Typing /say or /s without a message switches the default chat mode to [Say]. | ||
| | | type = chat | ||
| | | platforms = Windows, PS4, Mac | ||
| emote = | |||
| aliases = /say, /s | |||
| usage = /say [message] | |||
| patch = | |||
| patch = | | release = | ||
| release = | |||
}} | }} | ||
{{clear}} | {{clear}} | ||
[[Category:Infobox templates| | [[Category:Infobox templates|Text command infobox]] | ||
</noinclude> | </noinclude> |
Latest revision as of 04:09, 8 September 2023
Usage
Use this infobox for defining text commands within the game.
{{Text command infobox | name = | description = | type = | platforms = | emote = | aliases = | usage = | patch = | release = }}
Parameters
- name
- Optional. Name of the text command. Defaults to
{{PAGENAME}}
. - icon
- Optional. Text command icon. Defaults to File:
{{PAGENAME}}
.png - description
- Optional. Verbatim from the game's text command.
- type
- Required. The type the text command is placed under. Accepts general, special, expressions.
- command
- Required. The slash command that evokes the text command in-game.
- can-use-while
- Optional. All of the situations in which the text command can be used. Accepts: "standing", "swimming", "underwater", "seated", "mounted", "fishing".
- unlock-item
- Optional. The item used to unlock the text command.
- activity
- Optional. The name of the activity where the text command is unlocked.
- event
- Optional. The name of the event where the text command is unlocked.
- quest
- Optional. The name of the quest that unlocks the text command.
- achievement
- Optional. The name of the achievement that unlocks the text command.
- purchased-from
- Optional. How to purchase the text command
- cost-type
- Optional. The currency used to purchase the text command. Accepts: "gil", "mgp", "seals", "wolf marks", "kojin sango", "ananta dreamstaff", "namazu koban", "mythic clan mark logs", "usd"
- cost
- Optional. amount of the currency needed to purchase the text command.
- patch
- Optional. Patch this text command was released in.
- release
- Optional. Expansion this text command belongs to. Accepts heavensward or stormblood or shadowbringers or endwalker or dawntrail.
Examples
{{Text command infobox | name = /say | description = ALIASES: /say, /s USAGE: /say [message] →Sends a message to all PCs within a small radius. The message will not be displayed if a PC has deselected [Say] in the chat filter. Typing /say or /s without a message switches the default chat mode to [Say]. | type = chat | platforms = Windows, PS4, Mac | emote = | aliases = /say, /s | usage = /say [message] | patch = | release = }}
/say
- Type
- Chat
- Platforms
- Windows, PS4, Mac
- Aliases
- /say, /s
- Usage
- /say [message]
“ALIASES: /say, /s
USAGE: /say [message]
→Sends a message to all PCs within a small radius. The message will not be displayed if a PC has deselected [Say] in the chat filter. Typing /say or /s without a message switches the default chat mode to [Say].
— In-game description