Difference between revisions of "Template:trow/doc"
Jump to navigation
Jump to search
m |
m |
||
| Line 3: | Line 3: | ||
Template for a table row. Note that the table declaration must be made separately. Also note that the table rows only have a "border-bottom", as they are designed to start directly underneath a header. | Template for a table row. Note that the table declaration must be made separately. Also note that the table rows only have a "border-bottom", as they are designed to start directly underneath a header. | ||
| − | + | Can be used in conjunction with [[Template:trowH]] and [[Template:trowF]]. | |
The parameters are: | The parameters are: | ||
| Line 15: | Line 15: | ||
<pre> | <pre> | ||
== This is a Header == | == This is a Header == | ||
| − | <table class="timeline plain"> | + | <table class="timeline plain"> -- or {{trowH}} |
{{trow|Mar.2018|This is a row with some text in it.}} | {{trow|Mar.2018|This is a row with some text in it.}} | ||
{{trow|Jan.2018|This is a row with some text in it.}} | {{trow|Jan.2018|This is a row with some text in it.}} | ||
| − | </table> | + | </table> -- or {{trowF}} |
</pre> | </pre> | ||
Revision as of 14:59, 18 August 2018
Usage
Template for a table row. Note that the table declaration must be made separately. Also note that the table rows only have a "border-bottom", as they are designed to start directly underneath a header.
Can be used in conjunction with Template:trowH and Template:trowF.
The parameters are:
{{{1}}} - 1st cell text
{{{2}}} - 2nd cell text
{{{3}}} - optional 3rd cell text
Example
== This is a Header ==
<table class="timeline plain"> -- or {{trowH}}
{{trow|Mar.2018|This is a row with some text in it.}}
{{trow|Jan.2018|This is a row with some text in it.}}
</table> -- or {{trowF}}
Which will give:
This is a Header
| Mar.2018 | This is a row with some text in it. |
| Jan.2018 | This is a row with some text in it. |