Difference between revisions of "Template:Power"
From Worms Knowledge Base
Explorer09 (Talk | contribs) (new parameter for subtitles) |
Explorer09 (Talk | contribs) (better example) |
||
Line 19: | Line 19: | ||
* All parameters (width, subtitle and footer text) are optional. | * All parameters (width, subtitle and footer text) are optional. | ||
− | * The width shouldn't be less than 12em, or | + | * The width shouldn't be less than 12em, or the box will be too narrow. |
{| | {| | ||
Line 33: | Line 33: | ||
== Example == | == Example == | ||
− | + | {| | |
− | + | | Take [[Mortar]] for example: | |
− | + | <pre><nowiki>{{Power|22em|(2nd generation)}} | |
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | {{Power|22em| | + | |
|- | |- | ||
− | ! | + | ! Power |
+ | ! Number&nbsp;of clusters | ||
+ | ! Maximum injury | ||
+ | ! Crater diameter | ||
|- | |- | ||
− | | | + | | ... || ... || ... || ... |
− | {{Power-end| | + | |- |
+ | | 1 || 4 || ? hp || 23 px | ||
+ | |- | ||
+ | | 2 || 4 || ? || 23 | ||
+ | |- | ||
+ | | 3 || 5 || ? || 35 | ||
+ | |- | ||
+ | | 4 || 5 || ? || 35 | ||
+ | |- | ||
+ | | 5 || 6 || ? || 35 | ||
+ | |- | ||
+ | | ... || ... || ... || ... | ||
+ | {{Power-end|Initial explosion has same characteristics as each bomblet explosion. Values are per bomblet.}}</nowiki></pre> | ||
+ | | | ||
+ | {{Power|22em|(2nd generation)}} | ||
+ | |- | ||
+ | ! Power | ||
+ | ! Number of clusters | ||
+ | ! Maximum injury | ||
+ | ! Crater diameter | ||
+ | |- | ||
+ | | ... || ... || ... || ... | ||
+ | |- | ||
+ | | 1 || 4 || ? hp || 23 px | ||
+ | |- | ||
+ | | 2 || 4 || ? || 23 | ||
+ | |- | ||
+ | | 3 || 5 || ? || 35 | ||
+ | |- | ||
+ | | 4 || 5 || ? || 35 | ||
+ | |- | ||
+ | | 5 || 6 || ? || 35 | ||
+ | |- | ||
+ | | ... || ... || ... || ... | ||
+ | {{Power-end|Initial explosion has same characteristics as each bomblet explosion. Values are per bomblet.}} | ||
+ | |} | ||
+ | </noinclude> |
Latest revision as of 16:09, 21 June 2010
The header of the power settings infobox. Must use together with {{Power-end}} template.
For weapons with uneditable power settings, use Template:Power-super instead.
Usage
{{Power|width|subtitle}} |- ! th !! th !! th !! ... |- | td || td || td || ... {{Power-end|footer text}}
- All parameters (width, subtitle and footer text) are optional.
- The width shouldn't be less than 12em, or the box will be too narrow.
Columns | Recommended width |
---|---|
2 | 13em |
3 | 15em |
4 | 22em (default) |
Example
Take Mortar for example:
{{Power|22em|(2nd generation)}} |- ! Power ! Number of clusters ! Maximum injury ! Crater diameter |- | ... || ... || ... || ... |- | 1 || 4 || ? hp || 23 px |- | 2 || 4 || ? || 23 |- | 3 || 5 || ? || 35 |- | 4 || 5 || ? || 35 |- | 5 || 6 || ? || 35 |- | ... || ... || ... || ... {{Power-end|Initial explosion has same characteristics as each bomblet explosion. Values are per bomblet.}} |
|