Difference between revisions of "Template:Sidekick/companion"

From Twilight Heroes Wiki
Jump to: navigation, search
m (Reverted edits by Ikuvavofy (talk) to last revision by Muhandes)
 
(17 intermediate revisions by 3 users not shown)
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>
'''{{{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}}}'''
<br><big>'''How Obtained'''</big><br>
+
 
{{#ifeq:{{{itskill|}}}|yes|'''Sidekick/companion obtained from skill/item.'''<br>}}
+
{{{desc}}}|'''{{{name}}}'''}}
{{#if:{{{skname|}}}|'''Skill:''' [[{{{skname}}}]]<br>}}
+
<br><big>'''How Obtained'''</big><hr>
{{#if:{{{skitem|}}}|'''Skill item:''' [[{{{skitem}}}]]<br>}}
+
{{#ifeq:{{{fulltime|}}}|yes|'''Full-time sidekick.'''<br>}}{{#if:{{{source|}}}|'''Obtained from:''' [[{{{source}}}]]<br>}}
{{#ifeq:{{{item|}}}|yes|'''Sidekick/companion obtained from item.'''<br>}}
+
{{#ifeq:{{{itskill|}}}|yes|'''Sidekick/companion obtained from skill/item.'''<br>}}{{#if:{{{skname|}}}|'''Skill:''' [[{{{skname}}}]]<br>}}{{#if:{{{skitem|}}}|'''Skill item:''' [[{{{skitem}}}]]<br>}}
{{#if:{{{itname|}}}|'''Item:''' [[{{{itname}}}]]<br>}}
+
{{#ifeq:{{{item|}}}|yes|'''Sidekick/companion obtained from item.'''<br>}}{{#if:{{{itname|}}}|'''Item:''' [[{{{itname}}}]]{{#if:{{{itname2|}}}|, [[{{{itname2}}}]]}}<br>}}
{{#if:{{{source|}}}|'''Obtained from:''' [[{{{source}}}]]<br>}}
+
{{#ifeq:{{{fulltime|}}}|yes||'''Duration:''' {{#if:{{{dur|}}}|{{{dur}}}<br>|''Unknown''[[Category:Incomplete]]}}}}
'''Duration:''' {{#if:{{{dur|}}}|{{{dur}}}<br>|''Unknown''[[Category:Incomplete]]}}
 
 
<br><big>'''Behavior'''</big><br><hr>
 
<br><big>'''Behavior'''</big><br><hr>
 
'''Ability:''' {{#if:{{{ability|}}}|{{{ability}}}<br>|''Unknown''[[Category:Incomplete]]}}
 
'''Ability:''' {{#if:{{{ability|}}}|{{{ability}}}<br>|''Unknown''[[Category:Incomplete]]}}
  
{{#if:{{{msg|}}}|===Messages===
+
===Messages===
{{{msg}}}}}<br>
+
{{#if:{{{msg|}}}|{{{msg}}}|''Unknown''[[Category:Incomplete]]}}<br>
<br>'''Dismissal Message:''' {{#if:{{{dismissal|}}}|{{{dismissal}}}|''Unknown''[[Category:Incomplete]]}}
+
{{#ifeq:{{{fulltime|}}}|yes||<br>'''Dismissal Message:''' {{#if:{{{dismissal|}}}|{{{dismissal}}}|''Unknown''[[Category:Incomplete]]}}}}
</includeonly>
+
[[Category:Sidekick/companion]]</includeonly><noinclude>
<noinclude>
 
 
=Template=
 
=Template=
 
'''<nowiki>{{Sidekick/companion</nowiki><br><nowiki>
 
'''<nowiki>{{Sidekick/companion</nowiki><br><nowiki>
 
|name=</nowiki><br><nowiki>
 
|name=</nowiki><br><nowiki>
 
|image=</nowiki><br><nowiki>
 
|image=</nowiki><br><nowiki>
 
+
|fulltime=yes</nowiki> '''''If it's a full-time sidekick.'''''<br><nowiki>
|itskill=yes</nowiki><i><If it's a skill/item.></i><br><nowiki>
+
|id=</nowiki> '''''For full-time sidekicks, find it in the URL of the popup window.'''''<br><nowiki>
|skname=</nowiki><i><If it's a skill/item.></i><br><nowiki>
+
|desc=</nowiki> '''''For full-time sidekicks.'''''<br><nowiki>
|skitem=</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>
|item=yes</nowiki><i><If it's a item.></i><br><nowiki>
+
|skname=</nowiki> '''''Skill name for sidekick that can be summoned by both a skill and an item.'''''<br><nowiki>
|itname=</nowiki><i><If it's a item.></i><br><nowiki>
+
|skitem=</nowiki> '''''Item name for sidekick that can be summoned by both a skill and an item.'''''<br><nowiki>
|source=</nowiki><i><Obtained from something else.></i><br><nowiki>
+
|item=yes</nowiki> '''''If the sidekick can be summoned only by item.''''<br><nowiki>
|ability=</nowiki><br><nowiki>
+
|itname=</nowiki> '''''Item name for sidekick that can be summoned only by an item.'''''<br><nowiki>
|dur=</nowiki><br><nowiki>
+
|itname2=</nowiki> '''''Alternative item.'''''<br><nowiki>
|msg=</nowiki><br><nowiki>
+
|source=</nowiki> '''''Source for sidekicks that are summoned by other ways.'''''<br><nowiki>
|dismissal=}}</nowiki>'''
+
|ability=</nowiki> '''''For full-time sidekicks use the text from the popup. Otherwise use free text'''''<br><nowiki>
 +
|dur=</nowiki> '''''Duration, for sidekicks that are not full-time'''''<br><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>'''
  
  
Line 41: Line 43:
 
|name=Smart-aleck kid</nowiki><br><nowiki>
 
|name=Smart-aleck kid</nowiki><br><nowiki>
 
|image=Sakid.gif</nowiki><br><nowiki>
 
|image=Sakid.gif</nowiki><br><nowiki>
|desc=no</nowiki><br><nowiki>
 
 
|item=yes</nowiki><br><nowiki>
 
|item=yes</nowiki><br><nowiki>
 
|itname=Old coin</nowiki><br><nowiki>
 
|itname=Old coin</nowiki><br><nowiki>

Latest revision as of 18:21, 23 November 2010

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.