Difference between revisions of "Template:Power"

From Worms Knowledge Base

Jump to: navigation, search
(New: The header of the power settings infobox.)
 
m
Line 1: Line 1:
 
<includeonly>{| class="infobox" cellspacing="2" style="width: {{{width|{{{2|22em}}}}}}; font-size: 90%; text-align: left;"
 
<includeonly>{| class="infobox" cellspacing="2" style="width: {{{width|{{{2|22em}}}}}}; font-size: 90%; text-align: left;"
 
|-
 
|-
! colspan="{{{1}}}" style="font-size: 150%; text-align: center" | Power settings</includeonly><noinclude>
+
! colspan="{{{1}}}" style="font-size: 150%; text-align: center" | Power settings</includeonly><noinclude>The header of the power settings infobox.
The header of the power settings infobox.
+
 
__NOTOC____NOEDITSECTION__
 
__NOTOC____NOEDITSECTION__
 
== Usage ==
 
== Usage ==
Line 21: Line 20:
 
|}</nowiki></pre>
 
|}</nowiki></pre>
 
== Example ==
 
== Example ==
{{Power|3|22em}}
+
<pre><nowiki>{{Power|3|22em}}
 
|-
 
|-
 
! th !! th !! ...
 
! th !! th !! ...
 
|-
 
|-
 
| td || td || ...
 
| td || td || ...
{{Power-end|3|Width and footer text are optional.}}
+
{{Power-end|3|Width and footer text are optional.}}</nowiki></pre>
  
<pre><nowiki>{{Power|3|22em}}
+
{{Power|3|22em}}
 
|-
 
|-
 
! th !! th !! ...
 
! th !! th !! ...
 
|-
 
|-
 
| td || td || ...
 
| td || td || ...
{{Power-end|3|Width and footer text are optional.}}</nowiki></pre>
+
{{Power-end|3|Width and footer text are optional.}}</noinclude>
</noinclude>
+

Revision as of 12:49, 22 July 2009

The header of the power settings infobox.

Usage

{{Power|columns|width}}
|-
! th !! th !! ...
|-
| td || td || ...
{{Power-end|columns|footer text}}

OR

{{Power|columns|width}}
|-
! th !! th !! ...
|-
| td || td || ...
|}

Example

{{Power|3|22em}}
|-
! th !! th !! ...
|-
| td || td || ...
{{Power-end|3|Width and footer text are optional.}}
Power settings
22em
th th ...
td td ...
3
Personal tools