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:Gametip/doc"

From Paragon Wiki Archive
Jump to: navigation, search
m (updating documentation)
m
Line 3: Line 3:
 
==Syntax==
 
==Syntax==
  
'''<nowiki>{{</nowiki>Gametip | Game='''''game_id''''' | Tip='''''tip_text'''''<nowiki>}}</nowiki>
+
'''<nowiki>{{</nowiki>Gametip | game='''''game_id''''' | tip='''''tip_text'''''<nowiki>}}</nowiki>
  
 
where:
 
where:
Line 9: Line 9:
 
'''game_id'''
 
'''game_id'''
 
: Indicates whether the tip is specific to Heroes, specific to Villains, or generic.
 
: Indicates whether the tip is specific to Heroes, specific to Villains, or generic.
:* For Hero-specific tips, set this value to "'''hero'''".
+
:* For Hero-specific tips, set this value to '''hero''', '''heroes''', or '''h'''.
:* For Hero-specific tips, set this value to "'''vill'''".
+
:* For Villain-specific tips, set this value to '''villains''', '''vill''', or '''v'''.
:* For Hero-specific tips, set this value to "'''both'''".  (This is also the default format.)
+
:* For Generic tips, set this value to '''both'''.  (This is also the default format if game_id is not specified)
  
 
'''tip_text'''
 
'''tip_text'''
Line 17: Line 17:
  
 
==Examples==
 
==Examples==
<nowiki>{{Gametip|Game=hero|Tip=This will create a Hero-specific game tip.}}</nowiki>
+
<nowiki>{{Gametip|game=hero|tip=This will create a Hero-specific game tip.}}</nowiki>
{{Gametip|Game=hero|Tip=This will create a Hero-specific game tip.}}
+
{{Gametip|game=hero|tip=This will create a Hero-specific game tip.}}
  
<nowiki>{{Gametip|Game=vill|Tip=This will create a Villain-specific game tip.}}</nowiki>
+
<nowiki>{{Gametip|game=vill|tip=This will create a Villain-specific game tip.}}</nowiki>
{{Gametip|Game=vill|Tip=This will create a Villain-specific game tip.}}
+
{{Gametip|game=vill|tip=This will create a Villain-specific game tip.}}
  
<nowiki>{{Gametip|Game=both|Tip=This will create a generic game tip.}}</nowiki>
+
<nowiki>{{Gametip|game=both|tip=This will create a generic game tip.}}</nowiki>
{{Gametip|Game=both|Tip=This will create a generic game tip.}}
+
{{Gametip|game=both|tip=This will create a generic game tip.}}

Revision as of 07:26, 17 July 2007

The Gametip template creates a text box containing a general tip for the game. Tips can be Hero-specific, Villain-specific, or generic.

Syntax

{{Gametip | game=game_id | tip=tip_text}}

where:

game_id

Indicates whether the tip is specific to Heroes, specific to Villains, or generic.
  • For Hero-specific tips, set this value to hero, heroes, or h.
  • For Villain-specific tips, set this value to villains, vill, or v.
  • For Generic tips, set this value to both. (This is also the default format if game_id is not specified)

tip_text

The text of the game tip.

Examples

{{Gametip|game=hero|tip=This will create a Hero-specific game tip.}}

{{Gametip|game=vill|tip=This will create a Villain-specific game tip.}}

{{Gametip|game=both|tip=This will create a generic game tip.}}