Template:Secondary skill: Difference between revisions

From Heroes 3 wiki
Jump to navigation Jump to search
m Restructuring our Secondary Skill images: this will break it until all the images are moved!
Legate (talk | contribs)
mNo edit summary
 
(9 intermediate revisions by 2 users not shown)
Line 1: Line 1:
<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}}};"
<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 bgcolor={{Red 1}} style="color:mistyrose; height: 25px;" | '''{{{name|{{PAGENAME}}}}}'''
! colspan=3 style="background-color:#{{Red 1}}A0!important; height:25px;" | <span style="color:white;">{{{name|{{PAGENAME}}}}}</span>
|-  
|-  
| [[file:{{{B_image|Basic {{PAGENAME}}}}} large.png]]
| style="padding-left:4px; padding-bottom:8px; padding-top:8px" | [[file:{{{B_image|Basic {{PAGENAME}}}}} large.png]]
| 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|}}}
| align=left valign=top style="font-size:90%; padding-left:4px; padding-bottom:8px; padding-right:4px; padding-top:8px" | '''Basic:''' {{{B_effect|}}}
|-
|-
| [[file:{{{A_image|Advanced {{PAGENAME}}}}} large.png]]
| style="padding-left:4px; padding-bottom:8px" | [[file:{{{A_image|Advanced {{PAGENAME}}}}} large.png]]
| 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|}}}  
| align=left valign=top style="font-size:90%; padding-left:4px; padding-bottom:8px; padding-right:4px" | '''Advanced:''' {{{A_effect|}}}  
|-
|-
| [[file:{{{E_image|Expert {{PAGENAME}}}}} large.png]]
| style="padding-left:4px; padding-bottom:8px" | [[file:{{{E_image|Expert {{PAGENAME}}}}} large.png]]
| 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|}}}
| align=left valign=top style="font-size:90%; padding-left:4px; padding-bottom:8px; padding-right:4px" | '''Expert:''' {{{E_effect|}}}
|}</includeonly><noinclude>
|}</includeonly><noinclude>


Line 29: Line 29:
==Example==
==Example==
{{Secondary skill
{{Secondary skill
| name = Archery
| B_image = Basic Archery
| B_image = Basic Archery
| A_image = Advanced Archery
| A_image = Advanced Archery

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%.