Difference between revisions of "Template:trowH/doc"
Jump to navigation
Jump to search
m |
m |
||
| Line 5: | Line 5: | ||
The parameters are: | The parameters are: | ||
<pre> | <pre> | ||
| − | {{{cols}}} - cols=3. Optional | + | {{{cols}}} - cols=3. Optional. Default = 2. |
{{{1}}} - heading text | {{{1}}} - heading text | ||
</pre> | </pre> | ||
Revision as of 02:43, 17 April 2018
Usage
Template for a multi-cell table row containing a <h3>. Note that the table declaration must be made separately.
The parameters are:
{{{cols}}} - cols=3. Optional. Default = 2.
{{{1}}} - heading text
Example
<table class="timeline plain">
{{trow|Jan.2018|This is a row with some text in it.}}
{{trowH|This is a Header}}
{{trow|Feb.2018|This is a row with some text in it.}}
{{trow|Mar.2018|This is a row with some text in it.}}
</table>
Which will give:
| Jan.2018 | This is a row with some text in it. |
| Feb.2018 | This is a row with some text in it. |
| Mar.2018 | This is a row with some text in it. |