Template:PowerBlock Line: Difference between revisions

From Unofficial Homecoming Wiki
Jump to navigation Jump to search
imported>Sekoia
(Created page with "| style="background-color: #F4F4F4; width: 10em; padding: 0 0.5em; {{#if:{{{first|}}}|border-top: 1px solid #aaaaaa;}} vertical-align:top;" | {{{header|}}} | style="padding: 0 0....")
 
imported>Sekoia
No edit summary
 
(2 intermediate revisions by the same user not shown)
Line 1: Line 1:
| style="background-color: #F4F4F4; width: 10em; padding: 0 0.5em; {{#if:{{{first|}}}|border-top: 1px solid #aaaaaa;}} vertical-align:top;" | {{{header|}}}
| style="background-color: #F4F4F4; width: 10em; padding: 0 0.5em; {{#if:{{{top|}}}|border-top: 1px solid #aaaaaa;|}} vertical-align:top;" | {{{header|}}}
| style="padding: 0 0.5em; border-top: 1px solid #aaaaaa; width:26em;" | {{{text|}}}
| style="padding: 0 0.5em; {{#if:{{{top|}}}|border-top: 1px solid #aaaaaa;|}} width:26em;" | {{{text|}}}
|-<noinclude>[[Category:PowerBlock Templates|Line]]{{documentation|content=
|-<noinclude>[[Category:PowerBlock Templates|Line]]{{documentation|content=
Backbone template for PowerBlock templates to consolidate formatting in one place.
Backbone template for PowerBlock templates to consolidate formatting in one place.
==Usage==
==Usage==
=== Example 1 ===
<pre> {{PowerBlock Start}}
{{PowerBlock Start}}
  {{PowerBlock Line|top=1|header='''Header'''|text=Text}}
  {{PowerBlock Line|first=1|header='''Header'''|text=Text}}
  {{PowerBlock Line|header=Header|text=Text}}
  {{PowerBlock End}}
{{PowerBlock Line|text=Text}}
{{PowerBlock Start}}
  {{PowerBlock Line|text=Text}}
{{PowerBlock Line|first=1|header='''Header'''|text=Text}}
{{PowerBlock End}}
 
=== Example 2 ===
  {{PowerBlock Start}}
  {{PowerBlock Line|header=Header|text=Text}}
  {{PowerBlock Line|header=Header|text=Text}}
  {{PowerBlock End}}
{{PowerBlock Line|text=Text}}
{{PowerBlock Line|text=Text}}
{{PowerBlock Line|top=1|header='''Header'''|text=Text}}
{{PowerBlock Line|text=Text}}
{{PowerBlock Line|text=Text}}
  {{PowerBlock End}}</pre>
{{PowerBlock Start}}
{{PowerBlock Start}}
{{PowerBlock Line|top=1|header='''Header'''|text=Text}}
{{PowerBlock Line|header=Header|text=Text}}
{{PowerBlock Line|header=Header|text=Text}}
{{PowerBlock End}}
{{PowerBlock Line|text=Text}}
 
{{PowerBlock Line|text=Text}}
=== Example 3 ===
{{PowerBlock Line|header=Header|text=Text}}
{{PowerBlock Start}}
{{PowerBlock Line|text=Text}}
{{PowerBlock Line|text=Text}}
{{PowerBlock Line|text=Text}}
{{PowerBlock End}}
{{PowerBlock Line|top=1|header='''Header'''|text=Text}}
{{PowerBlock Start}}
{{PowerBlock Line|text=Text}}
{{PowerBlock Line|text=Text}}
{{PowerBlock Line|text=Text}}
{{PowerBlock End}}
{{PowerBlock End}}


}}</noinclude>
}}</noinclude>

Latest revision as of 19:45, 13 August 2011

| style="background-color: #F4F4F4; width: 10em; padding: 0 0.5em; vertical-align:top;" | | style="padding: 0 0.5em; width:26em;" |

|-

Documentation

Backbone template for PowerBlock templates to consolidate formatting in one place.

Usage

 {{PowerBlock Start}}
 {{PowerBlock Line|top=1|header='''Header'''|text=Text}}
 {{PowerBlock Line|header=Header|text=Text}}
 {{PowerBlock Line|text=Text}}
 {{PowerBlock Line|text=Text}}
 {{PowerBlock Line|header=Header|text=Text}}
 {{PowerBlock Line|text=Text}}
 {{PowerBlock Line|text=Text}}
 {{PowerBlock Line|top=1|header='''Header'''|text=Text}}
 {{PowerBlock Line|text=Text}}
 {{PowerBlock Line|text=Text}}
 {{PowerBlock End}}
Header Text
Header Text
Text
Text
Header Text
Text
Text
Header Text
Text
Text