Template:HR: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
No edit summary |
||
Line 1: | Line 1: | ||
|- {{#if:{{{format<includeonly>|</includeonly>}}}|{{{format}}} <br>|<br>}} | |- {{#if:{{{format<includeonly>|</includeonly>}}}|{{{format}}} <br>|<br>}} | ||
{{#if:{{{1<includeonly>|</includeonly>}}}|! {{{1}}}<br>}} | {{#if:{{{1<includeonly>|</includeonly>}}}|! {{{1}}} <br>}} {{#if:{{{2<includeonly>|</includeonly>}}}|! {{{2}}} <br>}} | ||
<noinclude> | <noinclude> | ||
Revision as of 18:33, 5 August 2010
|- {{{format}}}
! {{{1}}}
! {{{2}}}
Usage
Template:HR enables the easy creation of a table header row of up to sixteen cells. To include formatting in any cell, either write it as FORMATTING {{!}} TEXT or use the {{TD}} template. To include formatting, create an additional named argument named format.
Example:
{| class="wikitable" {{HR|Cell 1|Cell 2|Cell 3|Cell 4}} {{TR|Cell 5|Cell 6|Cell 7|Cell 8}} |}
Cell 1 | Cell 2 | Cell 3 | Cell 4 |
---|---|---|---|
Cell 5 | Cell 6 | Cell 7 | Cell 8 |