Difference between revisions of "Template:Power"
From Worms Knowledge Base
Explorer09 (Talk | contribs) m (Undo revision 15527 by Explorer09 (Talk)) |
Explorer09 (Talk | contribs) (new parameter for subtitles) |
||
Line 3: | Line 3: | ||
| | | | ||
{| width="100%" | {| width="100%" | ||
− | |+ style="font-size: 150%; font-weight: bold;" | + | |+ style="font-size: 100%;" | <span style="font-size: 150%; font-weight: bold;">Power settings</span><!-- |
+ | -->{{#if: {{{2|}}} | <br/>{{{2}}} }}</includeonly><noinclude> | ||
+ | |||
+ | The header of the power settings infobox. Must use together with {{[[Template:Power-end|Power-end]]}} template. | ||
For weapons with uneditable power settings, use [[:Template:Power-super]] instead. | For weapons with uneditable power settings, use [[:Template:Power-super]] instead. | ||
__NOTOC____NOEDITSECTION__ | __NOTOC____NOEDITSECTION__ | ||
== Usage == | == Usage == | ||
− | + | {{Power|width|subtitle}} | |
− | |- | + | |- |
− | ! th !! th !! th !! ... | + | ! th !! th !! th !! ... |
− | |- | + | |- |
− | | td || td || td || ... | + | | 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 it'll be too narrow. | ||
− | |||
{| | {| | ||
|- | |- | ||
Line 28: | Line 33: | ||
== Example == | == Example == | ||
− | + | {{Power|22em|subtitle}} | |
− | |- | + | |- |
− | ! th !! th !! th !! ... | + | ! th !! th !! th !! ... |
− | |- | + | |- |
− | | td || td || td || ... | + | | td || td || td || ... |
− | + | {{Power-end|footer text}} | |
− | {{Power|22em}} | + | {{Power|22em|subtitle}} |
|- | |- | ||
! th !! th !! th !! ... | ! th !! th !! th !! ... | ||
|- | |- | ||
| td || td || td || ... | | td || td || td || ... | ||
− | {{Power-end| | + | {{Power-end|footer text}}</noinclude> |
Revision as of 15:54, 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 it'll be too narrow.
Columns | Recommended width |
---|---|
2 | 13em |
3 | 15em |
4 | 22em (default) |
Example
{{Power|22em|subtitle}} |- ! th !! th !! th !! ... |- | td || td || td || ... {{Power-end|footer text}}
| ||||||||
footer text |