Template:Secondary skill: Difference between revisions

From Heroes 3 wiki
Jump to navigation Jump to search
(additional parameter to template)
(Remove exist template that would hide missing pictures)
 
(5 intermediate revisions by 2 users not shown)
Line 1: Line 1:
{| cellpadding=0 cellspacing=0 style="background-color:#{{Red 3}}; border: 1px solid; 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="height: 25px;" | '''{{{name|{{PAGENAME}}}}}'''
| colspan=3 bgcolor={{Red 1}} style="color:mistyrose; height: 25px;" | '''{{{name|{{PAGENAME}}}}}'''
|-  
|-  
| [[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]]
| [[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]]
| [[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>


[[Category: Misc templates|{{PAGENAME}}]]</noinclude>
==Example==
{{Secondary skill
| 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 17:42, 12 December 2023


How to use[edit]

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]

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