Template:Trp/doc

From ERPC Wiki Archive
Jump to: navigation, search

Copy+paste sheet

{{Trp|}}

Usage

The first value after trp sets what kinda row it uses. It can be r, h, b, or o. It must be one of those letters. Otherwise, the row doesn't come out right. Look at the following examples and note the first value after trp. You can go up to 10 columns. Presently, this does not allow you to customize individual cells.

Regular cells

{{{2}}} {{{3}}} {{{4}}} {{{5}}} {{{6}}} {{{7}}} {{{8}}} {{{9}}} {{{10}}}
{{trp|r|{{{2}}}|{{{3}}}|{{{4}}}|{{{5}}}|{{{6}}}|{{{7}}}|{{{8}}}|{{{9}}}|{{{10}}}}}

Header cells

{{{2}}} {{{3}}} {{{4}}} {{{5}}}
{{trp|h|{{{2}}}|{{{3}}}|{{{4}}}|{{{5}}}}}

Light-blue cells

{{{2}}} {{{3}}}
{{trp|b|{{{2}}}|{{{3}}}}}

Other colors

Note the o. The color= bit /must/ go at the end.

{{{2}}} {{{3}}} {{{4}}} {{{5}}} {{{6}}}
{{trp|o|{{{2}}}|{{{3}}}|{{{4}}}|{{{5}}}|{{{6}}}|color=lightgreen}}