Difference between revisions of "Template:Gametip/doc"
From Paragon Wiki Archive
m (updating documentation) |
m |
||
Line 3: | Line 3: | ||
==Syntax== | ==Syntax== | ||
− | '''<nowiki>{{</nowiki>Gametip | | + | '''<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 | + | :* For Hero-specific tips, set this value to '''hero''', '''heroes''', or '''h'''. |
− | :* For | + | :* For Villain-specific tips, set this value to '''villains''', '''vill''', or '''v'''. |
− | :* For | + | :* 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| | + | <nowiki>{{Gametip|game=hero|tip=This will create a Hero-specific game tip.}}</nowiki> |
− | {{Gametip| | + | {{Gametip|game=hero|tip=This will create a Hero-specific game tip.}} |
− | <nowiki>{{Gametip| | + | <nowiki>{{Gametip|game=vill|tip=This will create a Villain-specific game tip.}}</nowiki> |
− | {{Gametip| | + | {{Gametip|game=vill|tip=This will create a Villain-specific game tip.}} |
− | <nowiki>{{Gametip| | + | <nowiki>{{Gametip|game=both|tip=This will create a generic game tip.}}</nowiki> |
− | {{Gametip| | + | {{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.}}