Difference between revisions of "Template:Text command infobox"

From Final Fantasy XIV Online Wiki
Jump to navigation Jump to search
 
(17 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 emote">
<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>
<div class="icon infobox-icon">{{STFI|icon={{{icon|{{#titleparts:{{PAGENAMEE}}}}.png}}}|link=File:{{{icon|{{PAGENAME}}.png}}}}}{{#set:Has game icon=File:{{{icon|{{#titleparts:{{PAGENAME}}}}.png}}}}}</div>
<p class="heading">[[Has canonical name::{{{name|{{#titleparts:{{PAGENAME}}}}}}}]]</p>
<p class="heading">[[Has canonical name::{{{name|{{#titleparts:{{PAGENAME}}}}}}}]]</p>
<div class="wrapper">
<div class="wrapper">
;Type
;Type
:{{#arraymap: {{{type|}}} |,|@@@|{{#switch: {{lc:@@@}}
:{{#arraymap: {{{type|}}} |,|@@@|{{#switch: {{lc:@@@}}
   | general = [[Emotes#General Emotes|{{ucfirst:@@@}}]]
   | chat = [[Chat text commands|{{ucfirst:@@@}}]]
   | special = [[Emotes#Special Emotes|{{ucfirst:@@@}}]]
   | party and social = [[Party and Social text commands|{{ucfirst:@@@}}]]
   | expressions = [[Emotes#Expressions Emotes|{{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 31: Line 37:
}}
}}
}}<!--
}}<!--
-->{{#if: {{{unlock-item|}}} |
-->{{#if: {{{platforms|}}} |
;Unlock Item
;Platforms
:[[{{{unlock-item}}}]]
:{{{platforms}}}
}}<!--
}}<!--
-->{{#if: {{{activity|}}} |
-->{{#if: {{{emote|}}} |
;Activity
;Emote
:[[{{{activity}}}]]
:[[{{{emote}}}]]
}}<!--
}}<!--
-->{{#if: {{{event|}}} |
-->{{#if: {{{aliases|}}} |
;Event
;Aliases
:[[{{{event}}}]]
:{{{aliases}}}
}}<!--
}}<!--
-->{{#if: {{{quest|}}} |
-->{{#if: {{{usage|}}} |
;Quest
;Usage
:[[{{{quest}}}]]
:{{{usage}}}
}}<!--
-->{{#if: {{{achievement|}}} |
;Achievement
:[[{{{achievement}}}]]
}}<!--
-->{{#if: {{{purchased-from|}}} |
;Purchased From
:[[{{{purchased-from}}}]]
}}<!--
-->{{#if: {{{cost-type|}}} |
;Cost
:{{#arraymap: {{{cost-type|}}} |,|@@@|{{#switch: {{lc:@@@}}
  | gil = {{{cost}}} {{Gil}}
  | mgp = {{{cost}}} {{MGP}}
  | seals  = {{{cost}}} {{Company seal}}
  | wolf marks = {{{cost}}} {{Wolf mark}}
  | kojin sango = {{{cost}}} {{Tribe token|kojin sango}}
  | ananta dreamstaff = {{{cost}}} {{Tribe token|ananta dreamstaff}}
  | namazu koban = {{{cost}}} {{Tribe token|namazu koban}}
  | mythic clan mark logs = {{{cost}}} [[Mythic Clan Mark Log]]s
  | usd = {{{cost}}} $/€/£/¥
  | #default  = {{{cost}}} {{ucfirst:@@@}}
}}
}}
}}<!--
}}<!--
-->{{#if: {{{patch|}}} |
-->{{#if: {{{patch|}}} |
Line 75: Line 57:
: {{{patch}}}
: {{{patch}}}
}}
}}
{{clear}}
</div></div><!--
</div></div><!--
-->{{#if:{{{description|}}}|
-->{{#if:{{{description|}}}|
Line 80: Line 63:


<!-- GET INFO TO AUTO FILL TABLE -->
<!-- GET INFO TO AUTO FILL TABLE -->
{{#set:icon=[[file:{{{icon|}}}]] }}
{{#set:description={{{description|}}} }}
{{#set:description={{{description|}}} }}
{{#set:type={{{type|}}} |+sep}}
{{#set:type={{{type|}}} |+sep}}
Line 114: Line 96:
{{Text command infobox
{{Text command infobox
| name =
| name =
| icon =
| description =  
| description =  
| type =  
| type =  
| platforms =
| emote =  
| emote =  
| activity =  
| aliases =  
| event =
| usage =  
| quest =
| achievement =
| purchased-from =
| cost-type =
| cost =  
| 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>{{Emote infobox
<pre>{{Text command infobox
| name = Aback
| name = /say
| icon = Aback.png
| description = ALIASES:
| description = Act taken aback.
 /say, /s
| type = general
 
| command = [[/aback]]
USAGE:
| can-use-while = standing, swimming, underwater, seated, mounted
 /say [message]
| unlock-item = Ballroom Etiquette - Bewilderment
 
| activity =  
→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].
| event =  
| type = chat
| quest =  
| platforms = Windows, PS4, Mac
| achievement =
| emote =  
| purchased-from = Gold Saucer
| aliases = /say, /s
| cost-type = gil
| usage = /say [message]
| cost =5000
| patch =  
| patch = 4.2
| release =  
| release = stormblood
}}</pre>
}}</pre>
{{Emote infobox
{{Text command infobox
| name = Aback
| name = /say
| icon = Aback.png
| description = ALIASES:
| description = Act taken aback.
 /say, /s
| type = general
 
| command = [[/aback]]
USAGE:
| can-use-while = standing, swimming, underwater, seated, mounted
 /say [message]
| unlock-item = Ballroom Etiquette - Bewilderment
 
| activity =  
→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].
| event =  
| type = chat
| quest =  
| platforms = Windows, PS4, Mac
| achievement =
| emote =  
| purchased-from = Gold Saucer
| aliases = /say, /s
| cost-type = gil
| usage = /say [message]
| cost =5000
| patch =  
| patch = 4.2
| release =  
| release = stormblood
}}
}}
{{clear}}
{{clear}}


[[Category:Infobox templates|Emote infobox]]
[[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