Template:Secondary skill: Difference between revisions

From Heroes 3 wiki
Jump to navigation Jump to search
m (add category)
(Updated to not need ghost template)
Line 1: Line 1:
{| cellpadding=0 cellspacing=0 style="background-color:#{{Red 3}}; color:indianred; border:1px solid; border-color:rgba(0,0,0,0); text-align:center; width: {{{width|300px}}}; margin: 0 0 0 1em; float:{{{float|right}}};"
<includeonly>{| cellpadding=0 cellspacing=0 style="background-color:#{{Red 3}}; color:indianred; border:1px solid; border-color:rgba(0,0,0,0); text-align:center; width: {{{width|300px}}}; margin: 0 0 0 1em; float:{{{float|right}}};"
|-  
|-  
| colspan=3 bgcolor={{Red 1}} style="color:mistyrose; height: 25px;" | '''{{{name|{{PAGENAME}}}}}'''
| colspan=3 bgcolor={{Red 1}} style="color:mistyrose; height: 25px;" | '''{{{name|{{PAGENAME}}}}}'''
|-  
|-  
| [[File: {{{B_image|Basic {{PAGENAME}}}}}.png]]
| {{exist|file:{{{B_image|Basic {{PAGENAME}}}}}.png|[[file:{{{B_image|Basic {{PAGENAME}}}}}.png]]}}
| align=left valign=top style="font-size:90%; border-left: 5px solid #{{red 3}}; border-right: 5px solid #{{red 3}}" | '''Basic {{{name|{{PAGENAME}}}}}:''' {{{B_effect|}}}
| align=left valign=top style="font-size:90%; border-left: 5px solid #{{red 3}}; border-right: 5px solid #{{red 3}}" | '''Basic {{{name|{{PAGENAME}}}}}:''' {{{B_effect|}}}
|-
|-
| [[File: {{{A_image|Advanced {{PAGENAME}}}}}.png]]
| {{exist|file:{{{A_image|Advanced {{PAGENAME}}}}}.png|[[file:{{{A_image|Advanced {{PAGENAME}}}}}.png]]}}
| align=left valign=top style="font-size:90%; border-left: 5px solid #{{red 3}}; border-right: 5px solid #{{red 3}}" | '''Advanced {{{name|{{PAGENAME}}}}}:''' {{{A_effect|}}}  
| align=left valign=top style="font-size:90%; border-left: 5px solid #{{red 3}}; border-right: 5px solid #{{red 3}}" | '''Advanced {{{name|{{PAGENAME}}}}}:''' {{{A_effect|}}}  
|-
|-
| [[File: {{{E_image|Expert {{PAGENAME}}}}}.png]]
| {{exist|file:{{{E_image|Expert {{PAGENAME}}}}}.png|[[file:{{{E_image|Expert {{PAGENAME}}}}}.png]]}}
| align=left valign=top style="font-size:90%; border-left: 5px solid #{{red 3}}; border-right: 5px solid #{{red 3}}" | '''Expert {{{name|{{PAGENAME}}}}}:''' {{{E_effect|}}}
| align=left valign=top style="font-size:90%; border-left: 5px solid #{{red 3}}; border-right: 5px solid #{{red 3}}" | '''Expert {{{name|{{PAGENAME}}}}}:''' {{{E_effect|}}}
|}<noinclude>
|}</includeonly><noinclude>


== How to use ==
== How to use ==
Line 18: Line 18:
<pre>
<pre>
{{Secondary skill
{{Secondary skill
| B_image = (if not included, uses PAGENAME as secondary skill name)
| A_image = (if not included, uses PAGENAME as secondary skill name)
| E_image = (if not included, uses PAGENAME as secondary skill name)
  | B_effect =  
  | B_effect =  
  | A_effect =  
  | A_effect =  
Line 24: Line 27:
</pre>
</pre>


==Example==
{{Secondary skill
| A_image = Advanced Tactics
| E_image = Expert Air Magic
| B_effect = help a little
| A_effect = help a bunch
| E_effect = way cool effect!}}
[[Category: Hero templates]]</noinclude>
[[Category: Hero templates]]</noinclude>

Revision as of 14:09, 12 December 2023


How to use

Copy the code at the beginning of the creature article, and fill in the missing information. Notice, that the factors below are case sensitive meaning, that "Town" is not the same as "town".

{{Secondary skill
 | B_image = (if not included, uses PAGENAME as secondary skill name)
 | A_image = (if not included, uses PAGENAME as secondary skill name)
 | E_image = (if not included, uses PAGENAME as secondary skill name)
 | B_effect = 
 | A_effect = 
 | E_effect = 
}}

Example

Secondary skill
Basic Secondary skill: help a little
Advanced Secondary skill: help a bunch
Expert Secondary skill: way cool effect!