Template:Secondary skill: Difference between revisions

From Heroes 3 wiki
Jump to navigation Jump to search
Kapteeni Ruoska (talk | contribs)
mNo edit summary
Legate (talk | contribs)
mNo edit summary
 
(29 intermediate revisions by 5 users not shown)
Line 1: Line 1:
{| cellpadding=0 cellspacing=0 style="background-color:#{{Red 3}}; border: 1px solid; text-align:center; width: 300px; float:{{{float|right}}};"
<includeonly>{| cellpadding=0 cellspacing=0 style="background-color:#{{Red 4}}; border-color:rgba(0,0,0,0); text-align:center; width:350px; margin-left: 16px; float:{{{float|right}}};"
|-  
|-  
| colspan=3 align=center bgcolor={{Red 1}} style="height: 25px;" | '''{{{name|{{PAGENAME}}}}}'''
! colspan=3 style="background-color:#{{Red 1}}A0!important; height:25px;" | <span style="color:white;">{{{name|{{PAGENAME}}}}}</span>
|-  
|-  
| align=center | [[Image: {{{B_image|Basic {{PAGENAME}}}}}.png]]
| style="padding-left:4px; padding-bottom:8px; padding-top:8px" | [[file:{{{B_image|Basic {{PAGENAME}}}}} large.png]]
| valign=top style="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%; padding-left:4px; padding-bottom:8px; padding-right:4px; padding-top:8px" | '''Basic:''' {{{B_effect|}}}
|-
|-
| align=center                                        | [[Image: {{{A_image|Advanced {{PAGENAME}}}}}.png]]
| style="padding-left:4px; padding-bottom:8px" | [[file:{{{A_image|Advanced {{PAGENAME}}}}} large.png]]
| width=250 valign=top style="border-left: 5px solid #FFCCCC; border-right: 5px solid #FFCCCC" | <div>'''Advanced {{{name|{{PAGENAME}}}}}:''' {{{A_effect|}}}</div>
| align=left valign=top style="font-size:90%; padding-left:4px; padding-bottom:8px; padding-right:4px" | '''Advanced:''' {{{A_effect|}}}  
|-
|-
| align=center                                        | [[Image: {{{E_image|Expert {{PAGENAME}}}}}.png]]
| style="padding-left:4px; padding-bottom:8px" | [[file:{{{E_image|Expert {{PAGENAME}}}}} large.png]]
| width=250 valign=top style="border-left: 5px solid #FFCCCC; border-right: 5px solid #FFCCCC" | <div>'''Expert {{{name|{{PAGENAME}}}}}:''' {{{E_effect|}}}</div>
| align=left valign=top style="font-size:90%; padding-left:4px; padding-bottom:8px; padding-right:4px" | '''Expert:''' {{{E_effect|}}}
|}<noinclude>
|}</includeonly><noinclude>


== How to use ==
== 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".  
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".  


{| style="background: transparent;"
<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 =  
  | E_effect =  
  | E_effect =  
}}</pre>
}}
|}
</pre>


[[Category: Templates|{{PAGENAME}}]]</noinclude>
==Example==
{{Secondary skill
| name = Archery
| B_image = Basic Archery
| A_image = Advanced Archery
| E_image = Expert Archery
| B_effect = increases the damage done by range attacking creatures by 10%.
| 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>

Latest revision as of 13:34, 27 May 2025


How to use[edit | hide | hide all]

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[edit | hide]

Archery
Basic: increases the damage done by range attacking creatures by 10%.
Advanced: increases the damage done by range attacking creatures by 25%.
Expert: increases the damage done by range attacking creatures by 50%.