Template:Secondary skill: Difference between revisions

From Heroes 3 wiki
Jump to navigation Jump to search
(Updated to not need ghost template)
mNo edit summary
(3 intermediate revisions by the same user not shown)
Line 1: Line 1:
<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}}};"
<includeonly>{| cellpadding=0 cellspacing=0 style="background-color:#{{Red 4}}; color:#{{Red 1}}; 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}}}}}'''
|-  
|-  
| {{exist|file:{{{B_image|Basic {{PAGENAME}}}}}.png|[[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 4}}; border-right: 5px solid #{{red 4}}" | '''Basic {{{name|{{PAGENAME}}}}}:''' {{{B_effect|}}}
|-
|-
| {{exist|file:{{{A_image|Advanced {{PAGENAME}}}}}.png|[[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 4}}; border-right: 5px solid #{{red 4}}" | '''Advanced {{{name|{{PAGENAME}}}}}:''' {{{A_effect|}}}  
|-
|-
| {{exist|file:{{{E_image|Expert {{PAGENAME}}}}}.png|[[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 4}}; border-right: 5px solid #{{red 4}}" | '''Expert {{{name|{{PAGENAME}}}}}:''' {{{E_effect|}}}
|}</includeonly><noinclude>
|}</includeonly><noinclude>


Line 29: Line 29:
==Example==
==Example==
{{Secondary skill
{{Secondary skill
| A_image = Advanced Tactics
| B_image = Basic Archery
| E_image = Expert Air Magic
| A_image = Advanced Archery
| B_effect = help a little
| E_image = Expert Archery
| A_effect = help a bunch
| B_effect = increases the damage done by range attacking creatures by 10%.
| E_effect = way cool effect!}}
| A_effect = increases the damage done by range attacking creatures by 25%.
| E_effect = increases the damage done by range attacking creatures by 50%.
}}
[[Category: Hero templates]]</noinclude>
[[Category: Hero templates]]</noinclude>

Revision as of 19:05, 20 September 2024


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: increases the damage done by range attacking creatures by 10%.
Advanced Secondary skill: increases the damage done by range attacking creatures by 25%.
Expert Secondary skill: increases the damage done by range attacking creatures by 50%.