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}}}}} | |- {{#if:{{{format<includeonly>|</includeonly>}}}|{{{format}}}}} | ||
{{#if:{{{1<includeonly>|</includeonly>}}}|! {{{1}}}{{#if:{{{2<includeonly>|</includeonly>}}}|<br>! {{{ | {{#if:{{{1<includeonly>|</includeonly>}}}|! {{{1}}}<br>|}}{{#if:{{{2<includeonly>|</includeonly>}}}|! {{{2}}}<br>|}}{{#if:{{{3<includeonly>|</includeonly>}}}|! {{{3}}}<br>|}}{{#if:{{{4<includeonly>|</includeonly>}}}|! {{{4}}}<br>|}}{{#if:{{{5<includeonly>|</includeonly>}}}|! {{{5}}}<br>|}}{{#if:{{{6<includeonly>|</includeonly>}}}|! {{{6}}}<br>|}}<noinclude> | ||
==Usage== | ==Usage== |
Revision as of 18:41, 5 August 2010
|- {{{format}}}
! {{{1}}}
! {{{2}}}
! {{{3}}}
! {{{4}}}
! {{{5}}}
! {{{6}}}
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 |