Template:Gametip/doc: Difference between revisions

From Homecoming Wiki
Jump to navigation Jump to search
imported>Konoko (historical)
mNo edit summary
imported>Konoko (historical)
mNo edit summary
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''', '''heroes''', or '''h'''.
:* For Hero-specific tips, set this value to '''hero'''.
:* For Villain-specific tips, set this value to '''villains''', '''vill''', or '''v'''.
:* For Villain-specific tips, set this value to '''vill'''.
:* For Generic tips, set this value to '''both'''. (This is also the default format if game_id is not specified)
:* For Generic tips, set this value to '''both'''.


'''tip_text'''
'''tip_text'''

Revision as of 14:32, 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.
  • For Villain-specific tips, set this value to vill.
  • For Generic tips, set this value to both.

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.}}