Difference between revisions of "Template:Power"

From Worms Knowledge Base

Jump to: navigation, search
m
m (description text)
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>The header of the power settings infobox.
+
! colspan="{{{1}}}" style="font-size: 150%; text-align: center" | Power settings</includeonly><noinclude>The header of the power settings infobox. Must use together with <nowiki>{{</nowiki>[[Template:Power-end|Power-end]]<nowiki>}}</nowiki> or a table ending markup "<code><nowiki>|}</nowiki></code>".  
 
__NOTOC____NOEDITSECTION__
 
__NOTOC____NOEDITSECTION__
 
== Usage ==
 
== Usage ==
Line 9: Line 9:
 
|-
 
|-
 
| td || td || ...
 
| td || td || ...
{{Power-end|columns|footer text}}
+
{{Power-end|columns|footer text}}</nowiki></pre>
  
 
OR
 
OR
  
{{Power|columns|width}}
+
<pre><nowiki>{{Power|columns|width}}
 
|-
 
|-
 
! th !! th !! ...
 
! th !! th !! ...

Revision as of 12:58, 22 July 2009

The header of the power settings infobox. Must use together with {{Power-end}} or a table ending markup "|}".

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