Template:HR: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
No edit summary |
||
Line 15: | Line 15: | ||
{{#if:{{{14<includeonly>|</includeonly>}}}|! {{{14}}}}} | {{#if:{{{14<includeonly>|</includeonly>}}}|! {{{14}}}}} | ||
{{#if:{{{15<includeonly>|</includeonly>}}}|! {{{15}}}}} | {{#if:{{{15<includeonly>|</includeonly>}}}|! {{{15}}}}} | ||
{{#if:{{{16<includeonly>|</includeonly>}}}|! {{{16}}}}}<noinclude> | {{#if:{{{16<includeonly>|</includeonly>}}}|! {{{16}}}}} | ||
|-<noinclude> | |||
==Usage== | ==Usage== |
Revision as of 18:14, 5 August 2010
|- {{{format}}} ! {{{1}}} ! {{{2}}} ! {{{3}}} ! {{{4}}} ! {{{5}}} ! {{{6}}} ! {{{7}}} ! {{{8}}} ! {{{9}}} ! {{{10}}} ! {{{11}}} ! {{{12}}} ! {{{13}}} ! {{{14}}} ! {{{15}}} ! {{{16}}} |-
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 |