Difference between revisions of "Template:Mood"
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:Mood Gleeful.png|{{{size|20}}}px|link=Mood]]</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: | | 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: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> | ||
| | | 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| ([[Mood|{{{1}}}]])}}</includeonly><noinclude> | |||
== Usage == | == Usage == | ||
<nowiki> | <nowiki> | ||
{{ | {{mood|<type>}} | ||
{{ | {{mood|<type>|text}}</nowiki> | ||
=== Parameters === | === Parameters === | ||
; '' | ; ''type'' : Mood type identifier. See table below. | ||
; | ; text : If used, adds mood text in parentheses. | ||
=== Examples === | === Examples === | ||
{| {{STDT}} | {| {{STDT}} | ||
! | ! Mood || Input (Image Only) || Output (Image Only) || Input (with Text) || Output (with Text) | ||
|- | |- | ||
| [[ | | [[Mood|Gleeful]] || <code><nowiki>{{mood|Gleeful}}</nowiki></code> || {{mood|Gleeful}} || <code><nowiki>{{mood|Gleeful|text}}</nowiki></code> || {{mood|Gleeful|text}} | ||
|- | |- | ||
| [[ | | [[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|text}} |
(Gleeful) | |
Chipper | {{mood|Chipper}} |
{{mood|Chipper|text}} |
(Chipper) | |
Content | {{mood|Content}} |
{{mood|Content|text}} |
(Content) | |
Unhappy | {{mood|Unhappy}} |
{{mood|Unhappy|text}} |
(Unhappy) | |
Hostile | {{mood|Hostile}} |
{{mood|Hostile|text}} |
(Hostile) |