Difference between revisions of "Template:Effectiveness"
From MHWiki
(Created template for Trap Effectiveness box to be used in mice articles.) |
(Style change (now smaller, floats to the right)) |
||
| Line 1: | Line 1: | ||
<includeonly> | <includeonly> | ||
| − | {| border="1" cellpadding=" | + | {| border="1" cellpadding="5" cellspacing="0" style="float:right; margin: 5px; font-size:100%; text-align:center; border-collapse:collapse;" class="unsortable" |
|- | |- | ||
| − | ! border="2" bgcolor="#98FB98" width=" | + | ! border="2" bgcolor="#98FB98" width="100px" align="center" | '''Very<br/>'''Effective'' |
| − | + | | {{{very|}}} | |
| − | |||
|- | |- | ||
| − | | | + | ! border="2" bgcolor="#FFFF66" width="100px" align="center" | '''Effective'''<br/> |
| {{{effective|}}} | | {{{effective|}}} | ||
| + | |- | ||
| + | ! border="2" bgcolor="#FFA07A" width="100px" align="center" | '''Less'''<br/>''' Effective'''<br/> | ||
| {{{less|}}} | | {{{less|}}} | ||
|- | |- | ||
Latest revision as of 17:16, 5 May 2019
Documentation
To show the effectiveness template in a page, use the following code:
{{Effectiveness
| very =
| effective =
| less =
}}
For example:
{{Effectiveness
| very = [[Arcane]], [[Dragon]]
| effective = [[Shadow]]
| less = [[Hydro]]
}}
Using that template would render like this on the page:
| Very Effective |
Arcane, Dragon |
|---|---|
| Effective |
Shadow |
| Less Effective |
Hydro |