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)
(Usage)
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 10: Line 38:
 
!|Code
 
!|Code
 
!|Output
 
!|Output
 +
|-
 +
| valign="top"|<tt><nowiki>{{Emote Animation|title=Not An Emote}}</nowiki></tt>
 +
||{{Emote Animation|nocat=true|title=Not An Emote}}
 
|-
 
|-
 
| valign="top"|<tt><nowiki>{{Emote Animation|emote=Emote Afraid}}</nowiki></tt>
 
| valign="top"|<tt><nowiki>{{Emote Animation|emote=Emote Afraid}}</nowiki></tt>

Revision as of 03:39, 22 July 2009

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}}
Some animations may be large and take a long time to load
Not An Emote
File:Ghost Widow Emote Animation/doc.gif
{{Emote Animation|emote=Emote Afraid}}
Some animations may be large and take a long time to load
Emote Afraid
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