Difference between revisions of "Template:Emote infobox"
Jump to navigation
Jump to search
(84 intermediate revisions by 3 users not shown) | |||
Line 1: | Line 1: | ||
<includeonly>{{#set:Has context= | <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 duty"> | ||
<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|{{ | <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 | ||
:{{#arraymap: {{{ | :{{#arraymap: {{{type|}}} |,|@@@|{{#switch: {{lc:@@@}} | ||
| | | general = [[Emotes#General Emotes|{{ucfirst:@@@}}]] | ||
| special = [[Emotes#Special Emotes|{{ucfirst:@@@}}]] | |||
| | | expressions = [[Emotes#Expressions Emotes|{{ucfirst:@@@}}]] | ||
| | |||
| #default = {{ucfirst:@@@}} | | #default = {{ucfirst:@@@}} | ||
}} | }} | ||
}}<!-- | }}<!-- | ||
-->{{#if: {{{ | -->{{#if: {{{command|}}} | | ||
; | ;Command | ||
:{{{ | :{{{command}}} | ||
}}<!-- | }}<!-- | ||
-->{{#if: {{{ | -->{{#if: {{{can-use-while|}}} | | ||
; | ;Can Use While | ||
:[[ | :{{#arraymap: {{{can-use-while|}}} |,|@@@|{{#switch: {{lc:@@@}} | ||
| standing = standing | |||
| swimming = swimming | |||
| underwater = underwater | |||
| lying down = lying down | |||
| seated = seated | |||
| mounted = mounted | |||
| fishing = fishing | |||
| #default = {{ucfirst:@@@}} | |||
}} | |||
}} | |||
}}<!-- | |||
-->{{#if: {{{unlock-item|}}} | | |||
;Unlock Item | |||
:{{item icon|{{{unlock-item}}}}} | |||
}}<!-- | |||
-->{{#if: {{{activity|}}} | | |||
;Activity | |||
:[[{{{activity}}}]] | |||
}}<!-- | |||
-->{{#if: {{{event|}}} | | |||
;Event | |||
:[[{{{event}}}]] | |||
}}<!-- | |||
-->{{#if: {{{quest|}}} | | |||
;Quest | |||
:[[{{{quest}}}]] | |||
}}<!-- | |||
-->{{#if: {{{achievement|}}} | | |||
;Achievement | |||
:[[{{{achievement}}}]] | |||
}}<!-- | }}<!-- | ||
-->{{#if: {{{ | -->{{#if: {{{purchased-from|}}} | | ||
; | ;Purchased From | ||
:{{#arraymap: {{{ | :[[{{{purchased-from}}}]] | ||
| | }}<!-- | ||
| | -->{{#if: {{{cost-type|}}} | | ||
| #default | ;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 | |||
| bozjan cluster = {{bozjan cluster|{{{cost}}}}} [[Bozjan Cluster]]s | |||
| usd = {{{cost}}} $/€/£/¥ | |||
| #default = {{{cost}}} {{ucfirst:@@@}} | |||
}} | }} | ||
}} | }} | ||
Line 41: | Line 76: | ||
: {{{patch}}} | : {{{patch}}} | ||
}} | }} | ||
</div></div><!-- | </div>{{clear}} | ||
</div><!-- | |||
-->{{#if:{{{description|}}}| | -->{{#if:{{{description|}}}| | ||
{{Quotation|In-game description|{{{description}}}}} }} | {{Quotation|In-game description|{{{description}}}}} }} | ||
<!-- GET INFO TO AUTO FILL TABLE --> | |||
{{#set:icon=[[file:{{{icon|}}}]] }} | |||
{{#set:description={{{description|}}} }} | |||
{{#set:type={{{type|}}} |+sep}} | |||
{{#set:command={{{command|}}} |+sep}} | |||
{{#set:can-use-while={{{can-use-while|}}} |+sep}} | |||
{{#set:unlock-item={{{unlock-item|}}} }} | |||
{{#set:activity={{{activity|}}} |+sep}} | |||
{{#set:event={{{event|}}} |+sep}} | |||
{{#set:quest={{{quest|}}} |+sep}} | |||
{{#set:achievement={{{achievement|}}} |+sep}} | |||
{{#set:purchased-from={{{purchased-from|}}} |+sep}} | |||
{{#set:cost-type={{{cost-type|}}} }} | |||
{{#set:cost={{{cost|}}} }} | |||
{{#set:patch={{{patch|}}} }} | |||
{{#set:release={{{release|}}} }} | |||
<!-- AUTOCATEGORIZATION --> | <!-- AUTOCATEGORIZATION --> | ||
[[Category: | [[Category:Emotes]] | ||
{{#if: {{NAMESPACE}}<!-- no categories if outside of article namespace --> | {{#if: {{NAMESPACE}}<!-- no categories if outside of article namespace --> | ||
| <!-- Do not categorize --> | | | <!-- Do not categorize --> | | ||
{{#if:{{{ | {{#if:{{{type|}}}|{{#arraymap:{{{type|}}}|,|@@@|{{#switch: {{lc:{{{acquired|}}}}} | ||
| | | general = [[Category:General emotes]] | ||
| | | special = [[Category:Special emotes]] | ||
| expressions = [[Category:Expressions emotes]] | |||
| #default = [[Category:{{ucfirst:@@@}} emotes]]}}|}} | |||
| | |||
| #default = [[Category:{{ucfirst:@@@}} | |||
}} | }} | ||
}} | }} | ||
</includeonly> <!-- this trailing space is a whitespace fix --><noinclude> | </includeonly> <!-- this trailing space is a whitespace fix --><noinclude> | ||
Line 73: | Line 116: | ||
{{Emote infobox | {{Emote infobox | ||
| name = | | name = | ||
| icon = | | icon = | ||
| description = | |||
| type = | | type = | ||
| command = | | command = | ||
| can-use-while = | |||
| unlock-item = | | unlock-item = | ||
| activity = | |||
| event = | | event = | ||
| quest = | | quest = | ||
| achievement = | |||
| purchased-from = | | purchased-from = | ||
| cost-type = | |||
| cost = | |||
| patch = | | patch = | ||
| release = | | release = | ||
Line 86: | Line 135: | ||
==Parameters== | ==Parameters== | ||
; name: Optional. Name of the | ; name: Optional. Name of the emote. Defaults to <code><nowiki>{{PAGENAME}}</nowiki></code>. | ||
; icon: Optional. | ; icon: Optional. Emote icon. Defaults to File:<code><nowiki>{{PAGENAME}}</nowiki></code>.png | ||
; description: Optional. Verbatim from the game's | ; description: Optional. Verbatim from the game's emote. | ||
; | ; type: Required. The type the emote is placed under. Accepts ''general'', ''special'', ''expressions''. | ||
; | ; command: Required. The slash command that evokes the emote in-game. | ||
; | ; can-use-while: Optional. All of the situations in which the emote can be used. Accepts: "standing", "swimming", "underwater", "seated", "mounted", "fishing". | ||
; | ; unlock-item: Optional. The item used to unlock the emote. | ||
; | ; activity: Optional. The name of the activity where the emote is unlocked. | ||
; patch: Optional. Patch this | ; event: Optional. The name of the event where the emote is unlocked. | ||
; release: Optional. Expansion this | ; quest: Optional. The name of the quest that unlocks the emote. | ||
; achievement: Optional. The name of the achievement that unlocks the emote. | |||
; purchased-from: Optional. How to purchase the emote | |||
; cost-type: Optional. The currency used to purchase the emote. 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 emote. | |||
; patch: Optional. Patch this emote was released in. | |||
; release: Optional. Expansion this emote belongs to. Accepts ''heavensward'' or ''stormblood'' or ''shadowbringers'' or ''endwalker'' or ''dawntrail''. | |||
==Examples== | ==Examples== | ||
<pre>{{ | <pre>{{Emote infobox | ||
| name = | | name = Aback | ||
| icon = | | icon = Aback.png | ||
| description = | | description = Act taken aback. | ||
| | | type = general | ||
| | | command = /aback | ||
| | | can-use-while = standing, swimming, underwater, seated, mounted | ||
| | | unlock-item = Ballroom Etiquette - Bewilderment | ||
| | | activity = | ||
| patch = 4. | | event = | ||
| quest = | |||
| achievement = | |||
| purchased-from = Gold Saucer | |||
| cost-type = gil | |||
| cost =5000 | |||
| patch = 4.2 | |||
| release = stormblood | | release = stormblood | ||
}}</pre> | }}</pre> | ||
{{ | {{Emote infobox | ||
| name = | | name = Aback | ||
| icon = | | icon = Aback.png | ||
| description = | | description = Act taken aback. | ||
| | | type = general | ||
| | | command = [[/aback]] | ||
| | | can-use-while = standing, swimming, underwater, seated, mounted | ||
| | | unlock-item = Ballroom Etiquette - Bewilderment | ||
| | | activity = | ||
| patch = 4. | | event = | ||
| quest = | |||
| achievement = | |||
| purchased-from = Gold Saucer | |||
| cost-type = gil | |||
| cost =5000 | |||
| patch = 4.2 | |||
| release = stormblood | | release = stormblood | ||
}} | }} | ||
{{clear}} | {{clear}} | ||
[[Category:Infobox templates| | [[Category:Infobox templates|Emote infobox]] | ||
</noinclude> | </noinclude> |
Latest revision as of 04:09, 8 September 2023
Usage
Use this infobox for defining emotes within the game.
{{Emote infobox | name = | icon = | description = | type = | command = | can-use-while = | unlock-item = | activity = | event = | quest = | achievement = | purchased-from = | cost-type = | cost = | patch = | release = }}
Parameters
- name
- Optional. Name of the emote. Defaults to
{{PAGENAME}}
. - icon
- Optional. Emote icon. Defaults to File:
{{PAGENAME}}
.png - description
- Optional. Verbatim from the game's emote.
- type
- Required. The type the emote is placed under. Accepts general, special, expressions.
- command
- Required. The slash command that evokes the emote in-game.
- can-use-while
- Optional. All of the situations in which the emote can be used. Accepts: "standing", "swimming", "underwater", "seated", "mounted", "fishing".
- unlock-item
- Optional. The item used to unlock the emote.
- activity
- Optional. The name of the activity where the emote is unlocked.
- event
- Optional. The name of the event where the emote is unlocked.
- quest
- Optional. The name of the quest that unlocks the emote.
- achievement
- Optional. The name of the achievement that unlocks the emote.
- purchased-from
- Optional. How to purchase the emote
- cost-type
- Optional. The currency used to purchase the emote. 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 emote.
- patch
- Optional. Patch this emote was released in.
- release
- Optional. Expansion this emote belongs to. Accepts heavensward or stormblood or shadowbringers or endwalker or dawntrail.
Examples
{{Emote infobox | name = Aback | icon = Aback.png | description = Act taken aback. | type = general | command = /aback | can-use-while = standing, swimming, underwater, seated, mounted | unlock-item = Ballroom Etiquette - Bewilderment | activity = | event = | quest = | achievement = | purchased-from = Gold Saucer | cost-type = gil | cost =5000 | patch = 4.2 | release = stormblood }}
Aback
- Type
- General
- Command
- /aback
- Can Use While
- standing, swimming, underwater, seated, mounted
- Unlock Item
- Ballroom Etiquette - Bewilderment
- Purchased From
- Gold Saucer
- Cost
- 5000
- Patch
- 4.2
“Act taken aback.
— In-game description