Difference between revisions of "Template:Sidekick/companion"

From Twilight Heroes Wiki
Jump to: navigation, search
(a fix)
(another fix >.>)
Line 6: Line 6:
  
 
{{#ifeq:{{{itskill|}}}|yes|'''Sidekick/companion obtained from skill/item.'''<br>}}
 
{{#ifeq:{{{itskill|}}}|yes|'''Sidekick/companion obtained from skill/item.'''<br>}}
 +
{{#if:{{{skname|}}}|'''Skill: {{{ability}}}'''<br>}}
 
{{#ifeq:{{{item|}}}|yes|'''Sidekick/companion obtained from item.'''<br>}}
 
{{#ifeq:{{{item|}}}|yes|'''Sidekick/companion obtained from item.'''<br>}}
 
{{#if:{{{itname|}}}|'''Item: {{{ability}}}'''<br>}}
 
{{#if:{{{itname|}}}|'''Item: {{{ability}}}'''<br>}}
Line 14: Line 15:
  
 
=Template=
 
=Template=
'''<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 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>
 +
|skname=</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>
 
|itname=</nowiki><i><If it's a item.></i><br><nowiki>
Line 34: Line 36:
  
 
|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>
 +
|skname=</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>
 
|itname=</nowiki><i><If it's a item.></i><br><nowiki>

Revision as of 19:54, 4 July 2008


Template

{{Sidekick/companion
|name=
|image=
|desc=<If no description, then remove.>
|itskill=yes<If it's a skill/item.>
|skname=<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.>
|skname=<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