Difference between revisions of "Template:Sidekick/companion"

From Twilight Heroes Wiki
Jump to: navigation, search
m
(Added second item, description of fields. One day I'll rewrite this whole template)
Line 1: Line 1:
 
<includeonly>__NOTOC__Go back to [[Sidekick/companion]]<div style="position:relative"><div><p style="text-align:center;">[[image:{{{image}}}]]</p>
 
<includeonly>__NOTOC__Go back to [[Sidekick/companion]]<div style="position:relative"><div><p style="text-align:center;">[[image:{{{image}}}]]</p>
{{#ifeq:{{{fulltime|}}}|yes|<div style="font-size:80%;text-align:right;position:absolute;top:0px;right:15px;">[[Sidekicks by number|Sidekick ID]]: {{#if:{{{id|}}}|{{{id}}}<br>[http://www.twilightheroes.com/popup.php?sidekick={{{id}}} (view in-game)]|<i>Unknown</i>[[Category:Incomplete]]}}</div>'''{{{name}}}'''
+
{{#ifeq:{{{fulltime|}}}|yes|<div style="font-size:80%;text-align:right;position:absolute;top:0px;right:15px;">[[Sidekicks by number|Sidekick ID]]: {{#if:{{{id|}}}|{{{id}}}<br>[http://www.twilightheroes.com/popup.php?sidekick={{{id}}} (view in-game)]|''Unknown''[[Category:Incomplete]]}}</div>'''{{{name}}}'''
  
 
{{{desc}}}|'''{{{name}}}'''}}
 
{{{desc}}}|'''{{{name}}}'''}}
Line 6: Line 6:
 
{{#ifeq:{{{fulltime|}}}|yes|'''Full-time sidekick.'''<br>}}{{#if:{{{source|}}}|'''Obtained from:''' [[{{{source}}}]]<br>}}
 
{{#ifeq:{{{fulltime|}}}|yes|'''Full-time sidekick.'''<br>}}{{#if:{{{source|}}}|'''Obtained from:''' [[{{{source}}}]]<br>}}
 
{{#ifeq:{{{itskill|}}}|yes|'''Sidekick/companion obtained from skill/item.'''<br>}}{{#if:{{{skname|}}}|'''Skill:''' [[{{{skname}}}]]<br>}}{{#if:{{{skitem|}}}|'''Skill item:''' [[{{{skitem}}}]]<br>}}
 
{{#ifeq:{{{itskill|}}}|yes|'''Sidekick/companion obtained from skill/item.'''<br>}}{{#if:{{{skname|}}}|'''Skill:''' [[{{{skname}}}]]<br>}}{{#if:{{{skitem|}}}|'''Skill item:''' [[{{{skitem}}}]]<br>}}
{{#ifeq:{{{item|}}}|yes|'''Sidekick/companion obtained from item.'''<br>}}{{#if:{{{itname|}}}|'''Item:''' [[{{{itname}}}]]<br>}}
+
{{#ifeq:{{{item|}}}|yes|'''Sidekick/companion obtained from item.'''<br>}}{{#if:{{{itname|}}}|'''Item:''' [[{{{itname}}}]]{{#if:{{{itname2|}}}|, [[{{{itname2}}}]]}}<br>}}
 
{{#ifeq:{{{fulltime|}}}|yes||'''Duration:''' {{#if:{{{dur|}}}|{{{dur}}}<br>|''Unknown''[[Category:Incomplete]]}}}}
 
{{#ifeq:{{{fulltime|}}}|yes||'''Duration:''' {{#if:{{{dur|}}}|{{{dur}}}<br>|''Unknown''[[Category:Incomplete]]}}}}
 
<br><big>'''Behavior'''</big><br><hr>
 
<br><big>'''Behavior'''</big><br><hr>
Line 19: Line 19:
 
|name=</nowiki><br><nowiki>
 
|name=</nowiki><br><nowiki>
 
|image=</nowiki><br><nowiki>
 
|image=</nowiki><br><nowiki>
|fulltime=yes</nowiki><i><If it's a full-time sidekick.></i><br><nowiki>
+
|fulltime=yes</nowiki> '''''If it's a full-time sidekick.'''''<br><nowiki>
|id=</nowiki><i><For full-time sidekicks></i><br><nowiki>
+
|id=</nowiki> '''''For full-time sidekicks, find it in the URL of the popup window.'''''<br><nowiki>
|desc=</nowiki><i><For full-time sidekicks></i><br><nowiki>
+
|desc=</nowiki> '''''For full-time sidekicks.'''''<br><nowiki>
|itskill=yes</nowiki><i><If it's a skill/item.></i><br><nowiki>
+
|itskill=yes</nowiki> '''''If the sidekick can be summoned by both a skill and an item.'''''<br><nowiki>
|skname=</nowiki><i><If it's a skill/item.></i><br><nowiki>
+
|skname=</nowiki> '''''Skill name for sidekick that can be summoned by both a skill and an item.'''''<br><nowiki>
|skitem=</nowiki><i><If it's a skill/item.></i><br><nowiki>
+
|skitem=</nowiki> '''''Item name for sidekick that can be summoned by both a skill and an item.'''''<br><nowiki>
|item=yes</nowiki><i><If it's a item.></i><br><nowiki>
+
|item=yes</nowiki> '''''If the sidekick can be summoned only by item.''''<br><nowiki>
|itname=</nowiki><i><If it's a item.></i><br><nowiki>
+
|itname=</nowiki> '''''Item name for sidekick that can be summoned only by an item.'''''<br><nowiki>
|source=</nowiki><i><Obtained from something else.></i><br><nowiki>
+
|itname2=</nowiki> '''''Alternative item.'''''<br><nowiki>
|ability=</nowiki><br><nowiki>
+
|source=</nowiki> '''''Source for sidekicks that are summoned by other ways.'''''<br><nowiki>
|dur=</nowiki><br><nowiki>
+
|ability=</nowiki> '''''For full-time sidekicks use the text from the popup. Otherwise use free text'''''<br><nowiki>
|msg=</nowiki><br><nowiki>
+
|dur=</nowiki> '''''Duration, for sidekicks that are not full-time'''''<br><nowiki>
|dismissal=}}</nowiki>'''
+
|msg=</nowiki> '''''Messages used in-game. Mark "none" if there are none.'''''<br><nowiki>
 +
|dismissal=</nowiki> '''''Message when dismissed from the character page'''''<br><nowiki>
 +
}}</nowiki>'''
  
  

Revision as of 02:57, 4 December 2009

Template

{{Sidekick/companion
|name=
|image=
|fulltime=yes
If it's a full-time sidekick.
|id=
For full-time sidekicks, find it in the URL of the popup window.
|desc=
For full-time sidekicks.
|itskill=yes
If the sidekick can be summoned by both a skill and an item.
|skname=
Skill name for sidekick that can be summoned by both a skill and an item.
|skitem=
Item name for sidekick that can be summoned by both a skill and an item.
|item=yes
If the sidekick can be summoned only by item.'
|itname=
Item name for sidekick that can be summoned only by an item.
|itname2=
Alternative item.
|source=
Source for sidekicks that are summoned by other ways.
|ability=
For full-time sidekicks use the text from the popup. Otherwise use free text
|dur=
Duration, for sidekicks that are not full-time
|msg=
Messages used in-game. Mark "none" if there are none.
|dismissal=
Message when dismissed from the character page
}}


Usage

Adding...


{{Sidekick/companion
|name=Smart-aleck kid
|image=Sakid.gif
|item=yes
|itname=Old coin
|dur=60 min
|ability=Causes enemy to miss.
|msg=*The kid reaches into his backpack, and says, "Hmm, feels like fortune cookie." Then he pulls whatever it is out of the backpack. "That no fortune cookie!" the kid shouts, and throws the object at your opponent, who gets distracted when the projectile hits its mark. *Your opponent calls you by name, and the kid takes offense. "You no call him player_name, you call him Doctor player_name!" he shouts. (looks like it causes the attacker to miss)
|dismissal=You decide you're better off without a sidekick and shoo yours away. }}

Results in...


Go back to Sidekick/companion‎

Sakid.gif

Smart-aleck kid


How Obtained

Sidekick/companion obtained from item.
Item: Old coin
Duration: 60 min


Behavior

Ability: Causes enemy to miss.

Messages

  • The kid reaches into his backpack, and says, "Hmm, feels like fortune cookie." Then he pulls whatever it is out of the backpack. "That no fortune cookie!" the kid shouts, and throws the object at your opponent, who gets distracted when the projectile hits its mark.
  • Your opponent calls you by name, and the kid takes offense. "You no call him player_name, you call him Doctor player_name!" he shouts. (looks like it causes the attacker to miss)

Dismissal Message: You decide you're better off without a sidekick and shoo yours away.