Badge time.png   The Paragon Wiki Archive documents the state of City of Heroes/Villains as it existed on December 1, 2012.

Difference between revisions of "Template:Emote Animation/doc"

From Paragon Wiki Archive
Jump to: navigation, search
(Usage)
m (no image)
 
(2 intermediate revisions by one other user not shown)
Line 2: Line 2:
 
<!-- PLEASE ADD CATEGORIES AND INTERWIKIS AT THE BOTTOM OF THIS PAGE. -->
 
<!-- PLEASE ADD CATEGORIES AND INTERWIKIS AT THE BOTTOM OF THIS PAGE. -->
 
==Usage==
 
==Usage==
 +
{| class="wikitable" style="width: 50%;float:left"
 +
|-
 +
!|Parameter
 +
!|Use
 +
!|Example
 +
!|Default Value
 +
|-
 +
||title
 +
||Specify a title for the box
 +
||Emote HandsUp
 +
||The value of ''emote''
 +
|-
 +
||emote
 +
||Specify the emote to display
 +
||Emote Dice2
 +
||<nowiki>{{PAGENAME}}</nowiki>
 +
|-
 +
||noGW
 +
||Use Mantid instead of Ghost Widow
 +
||true
 +
||
 +
|-
 +
||nocat
 +
||Disable adding the category to the page. (For example, the examples in this page)
 +
||true
 +
||
 +
|}
 +
 
Creates a box for displaying an animated GIF of an [[Emotes|emote]]. This template is intended for use on '''Emote {EMOTENAME}''' pages, and by default will attempt to display the ''Ghost_Widow_{EMOTENAME}.gif'' image. If the ''noGW'' parameter is specified, the ''Mantid_{EMOTENAME}.gif'' image will be used instead.
 
Creates a box for displaying an animated GIF of an [[Emotes|emote]]. This template is intended for use on '''Emote {EMOTENAME}''' pages, and by default will attempt to display the ''Ghost_Widow_{EMOTENAME}.gif'' image. If the ''noGW'' parameter is specified, the ''Mantid_{EMOTENAME}.gif'' image will be used instead.
  
The ''emote'' parameter can be used to specify an emote, rather than using the current page name for the emote. Note that since the default value for ''emote'' is <nowiki>{{PAGENAME}}</nowiki>, and this template is designed for use on the various [[:Category:Emote Animations|Emote Animation]] pages, the value for ''emote'' should begin with "Emote", followed by the emote name.
+
The ''emote'' parameter can be used to specify an emote, rather than using the current page name for the emote. Note that since the default value for ''emote'' is <nowiki>{{PAGENAME}}</nowiki>, and this template is designed for use on the various [[:Category:Emote Animations|Emote Animation]] pages, the value for ''emote'' should begin with "Emote", followed by the emote name. This ensures that the correct image is pulled.
  
 
{| class="wikitable"
 
{| class="wikitable"
Line 11: Line 39:
 
!|Output
 
!|Output
 
|-
 
|-
| valign="top"|<tt><nowiki>{{Emote Animation|emote=Emote Afraid}}</nowiki></tt>
+
| valign="top"|<tt><nowiki>{{Emote Animation|title=Not An Emote|emote=Emote Afraid}}</nowiki></tt>
||{{Emote Animation|nocat=true|emote=Emote Afraid}}
+
||{{Emote Animation|nocat=true|title=Not An Emote|emote=Emote Afraid}}
 
|-
 
|-
 
| valign="top"|<tt><nowiki>{{Emote Animation|noGW=true|emote=Emote Newspaper}}</nowiki></tt>
 
| valign="top"|<tt><nowiki>{{Emote Animation|noGW=true|emote=Emote Newspaper}}</nowiki></tt>
Line 20: Line 48:
 
==See also==
 
==See also==
  
 +
* [[Template:Emotes Animation Header|Emotes Animation Header]]
 +
* [[Template:Emotes Animation|Emotes Animation]]
 +
* [[Template:Emotes Animation Footer|Emotes Animation Footer]]
 
<includeonly><!--
 
<includeonly><!--
 
++++ PLEASE ADD CATEGORIES AND INTERWIKIS BELOW THIS LINE, THANK YOU. -->
 
++++ PLEASE ADD CATEGORIES AND INTERWIKIS BELOW THIS LINE, THANK YOU. -->
 
</includeonly>
 
</includeonly>

Latest revision as of 07:05, 19 September 2010

This is a documentation subpage for Template:Emote Animation (see that page for the template itself).
It contains usage information, categories and other content that is not part of the original template page.

Usage

Parameter Use Example Default Value
title Specify a title for the box Emote HandsUp The value of emote
emote Specify the emote to display Emote Dice2 {{PAGENAME}}
noGW Use Mantid instead of Ghost Widow true
nocat Disable adding the category to the page. (For example, the examples in this page) true

Creates a box for displaying an animated GIF of an emote. This template is intended for use on Emote {EMOTENAME} pages, and by default will attempt to display the Ghost_Widow_{EMOTENAME}.gif image. If the noGW parameter is specified, the Mantid_{EMOTENAME}.gif image will be used instead.

The emote parameter can be used to specify an emote, rather than using the current page name for the emote. Note that since the default value for emote is {{PAGENAME}}, and this template is designed for use on the various Emote Animation pages, the value for emote should begin with "Emote", followed by the emote name. This ensures that the correct image is pulled.

Code Output
{{Emote Animation|title=Not An Emote|emote=Emote Afraid}}
Some animations may be large and take a long time to load
Not An Emote
Ghost Widow Emote Afraid.gif
{{Emote Animation|noGW=true|emote=Emote Newspaper}}
Some animations may be large and take a long time to load
Emote Newspaper
Mantid Emote Newspaper.gif

See also