Difference between revisions of "Template:Sidekick/companion"

From Twilight Heroes Wiki
Jump to: navigation, search
(might need to be fixed but im testing it)
 
(a fix)
Line 7: Line 7:
 
{{#ifeq:{{{itskill|}}}|yes|'''Sidekick/companion obtained from skill/item.'''<br>}}
 
{{#ifeq:{{{itskill|}}}|yes|'''Sidekick/companion obtained from skill/item.'''<br>}}
 
{{#ifeq:{{{item|}}}|yes|'''Sidekick/companion obtained from item.'''<br>}}
 
{{#ifeq:{{{item|}}}|yes|'''Sidekick/companion obtained from item.'''<br>}}
{{#if:{{{ability|}}}|'''Ability: {{{ability}}}'''}}
+
{{#if:{{{itname|}}}|'''Item: {{{ability}}}'''<br>}}
 +
{{#if:{{{ability|}}}|'''Ability: {{{ability}}}'''<br>}}
 
{{#if:{{{msg|}}}|<br><b>{{{msg}}}</b>}}
 
{{#if:{{{msg|}}}|<br><b>{{{msg}}}</b>}}
  
Line 20: Line 21:
 
|itskill=yes</nowiki><i><If it's a skill/item.></i><br><nowiki>
 
|itskill=yes</nowiki><i><If it's a skill/item.></i><br><nowiki>
 
|item=yes</nowiki><i><If it's a item.></i><br><nowiki>
 
|item=yes</nowiki><i><If it's a item.></i><br><nowiki>
 +
|itname=</nowiki><i><If it's a item.></i><br><nowiki>
 
|ability=</nowiki><br><nowiki>
 
|ability=</nowiki><br><nowiki>
 
|msg=}}</nowiki>'''
 
|msg=}}</nowiki>'''
Line 26: Line 28:
 
'''Adding...'''
 
'''Adding...'''
  
<nowiki>{{sac</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>
Line 33: Line 35:
 
|itskill=yes</nowiki><i><If it's a skill/item.></i><br><nowiki>
 
|itskill=yes</nowiki><i><If it's a skill/item.></i><br><nowiki>
 
|item=yes</nowiki><i><If it's a item.></i><br><nowiki>
 
|item=yes</nowiki><i><If it's a item.></i><br><nowiki>
 +
|itname=</nowiki><i><If it's a item.></i><br><nowiki>
 
|ability=</nowiki><br><nowiki>
 
|ability=</nowiki><br><nowiki>
 
|msg=}}</nowiki>
 
|msg=}}</nowiki>

Revision as of 19:50, 4 July 2008


Template

{{sac
|name=
|image=
|desc=<If no description, then remove.>
|itskill=yes<If it's a skill/item.>
|item=yes<If it's a item.>
|itname=<If it's a item.>
|ability=
|msg=}}

Usage

Adding...

{{Sidekick/companion
|name=
|image=
|desc=<If no description, then remove.>
|itskill=yes<If it's a skill/item.>
|item=yes<If it's a item.>
|itname=<If it's a item.>
|ability=
|msg=}}


this is still under construction