Difference between revisions of "Template:Mood"

From Final Fantasy XIV Online Wiki
Jump to navigation Jump to search
m
m (Added link to Mood page onto text)
 
(7 intermediate revisions by the same user not shown)
Line 1: Line 1:
<includeonly>{{#switch: {{{1}}}}
<includeonly>{{#switch: {{{1}}}
| gleeful = <span style="position:relative; bottom:2px;">[[File:Seafarer's Cowrie.png|{{{size|20}}}px|link=Seafarer's Cowrie|Seafarer's Cowrie]]</span>
| Gleeful = <span style="position:relative; bottom:2px;">[[File:Mood Gleeful.png|{{{size|20}}}px|link=Mood]]</span>
| chipper = <span style="position:relative; bottom:2px;">[[File:Islander's Cowrie.png|{{{size|20}}}px|link=Islander's Cowrie|Islander's Cowrie]]</span>
| Chipper = <span style="position:relative; bottom:2px;">[[File:Mood Chipper.png|{{{size|20}}}px|link=Mood]]</span>
| content = <span style="position:relative; bottom:2px;">[[File:Islander's Cowrie.png|{{{size|20}}}px|link=Islander's Cowrie|Islander's Cowrie]]</span>
| Content = <span style="position:relative; bottom:2px;">[[File:Mood Content.png|{{{size|20}}}px|link=Mood]]</span>
| unhappy = <span style="position:relative; bottom:2px;">[[File:Islander's Cowrie.png|{{{size|20}}}px|link=Islander's Cowrie|Islander's Cowrie]]</span>
| Unhappy = <span style="position:relative; bottom:2px;">[[File:Mood Unhappy.png|{{{size|20}}}px|link=Mood]]</span>
| hostile = <span style="position:relative; bottom:2px;">[[File:Islander's Cowrie.png|{{{size|20}}}px|link=Islander's Cowrie|Islander's Cowrie]]</span>
| Hostile = <span style="position:relative; bottom:2px;">[[File:Mood Hostile.png|{{{size|20}}}px|link=Mood]]</span>
| #default= <span style="position:relative; bottom:2px;">[[File:Seafarer's Cowrie.png|{{{size|20}}}px|link=Seafarer's Cowrie|Seafarer's Cowrie]]</span>
| gleeful = <span style="position:relative; bottom:2px;">[[File:Mood Gleeful.png|{{{size|20}}}px|link=Mood]]</span>
}}</includeonly><noinclude>
| content = <span style="position:relative; bottom:2px;">[[File:Mood Content.png|{{{size|20}}}px|link=Mood]]</span>
| chipper = <span style="position:relative; bottom:2px;">[[File:Mood Chipper.png|{{{size|20}}}px|link=Mood]]</span>
| unhappy = <span style="position:relative; bottom:2px;">[[File:Mood Unhappy.png|{{{size|20}}}px|link=Mood]]</span>
| hostile = <span style="position:relative; bottom:2px;">[[File:Mood Hostile.png|{{{size|20}}}px|link=Mood]]</span>
}}{{#ifeq:{{{2}}}|text|&nbsp;([[Mood|{{{1}}}]])}}</includeonly><noinclude>


== Usage ==
== Usage ==
  <nowiki>
  <nowiki>
{{cowrie|<type>}}
{{mood|<type>}}
{{cowrie|<type>|<amount>}}
{{mood|<type>|text}}</nowiki>
{{cowrie|<type>|<amount>}}</nowiki>


=== Parameters ===
=== Parameters ===
; ''unnamed parameter 1'' : Scrip identifier. See table below.
; ''type'' : Mood type identifier. See table below.
; ''unnamed parameter 2'' : Quantity, displayed in front of the token icon.
; text : If used, adds mood text in parentheses.


=== Examples ===
=== Examples ===
{| {{STDT}}
{| {{STDT}}
! Scrip || Input || Output
! Mood || Input (Image Only) || Output (Image Only) || Input (with Text) || Output (with Text)
|-
|-
| [[Seafarer's Cowrie]] || <code><nowiki>{{cowrie|seafarer}}</nowiki></code> || {{cowrie|seafarer}}
| [[Mood|Gleeful]] || <code><nowiki>{{mood|Gleeful}}</nowiki></code> || {{mood|Gleeful}} || <code><nowiki>{{mood|Gleeful|text}}</nowiki></code> || {{mood|Gleeful|text}}
|-
|-
| [[Islander's Cowrie]] || <code><nowiki>{{cowrie|islander}}</nowiki></code> || {{cowrie|islander}}
| [[Mood|Chipper]] || <code><nowiki>{{mood|Chipper}}</nowiki></code> || {{mood|Chipper}} || <code><nowiki>{{mood|Chipper|text}}</nowiki></code> || {{mood|Chipper|text}}
|-
| [[Mood|Content]] || <code><nowiki>{{mood|Content}}</nowiki></code> || {{mood|Content}} || <code><nowiki>{{mood|Content|text}}</nowiki></code> || {{mood|Content|text}}
|-
| [[Mood|Unhappy]] || <code><nowiki>{{mood|Unhappy}}</nowiki></code> || {{mood|Unhappy}} || <code><nowiki>{{mood|Unhappy|text}}</nowiki></code> || {{mood|Unhappy|text}}
|-
| [[Mood|Hostile]] || <code><nowiki>{{mood|Hostile}}</nowiki></code> || {{mood|Hostile}} || <code><nowiki>{{mood|Hostile|text}}</nowiki></code> || {{mood|Hostile|text}}
|-
|-
|}
|}

Latest revision as of 21:51, 5 September 2022


Usage

{{mood|<type>}}
{{mood|<type>|text}}

Parameters

type
Mood type identifier. See table below.
text
If used, adds mood text in parentheses.

Examples

Mood Input (Image Only) Output (Image Only) Input (with Text) Output (with Text)
Gleeful {{mood|Gleeful}} Mood Gleeful.png {{mood|Gleeful|text}} Mood Gleeful.png (Gleeful)
Chipper {{mood|Chipper}} Mood Chipper.png {{mood|Chipper|text}} Mood Chipper.png (Chipper)
Content {{mood|Content}} Mood Content.png {{mood|Content|text}} Mood Content.png (Content)
Unhappy {{mood|Unhappy}} Mood Unhappy.png {{mood|Unhappy|text}} Mood Unhappy.png (Unhappy)
Hostile {{mood|Hostile}} Mood Hostile.png {{mood|Hostile|text}} Mood Hostile.png (Hostile)