Difference between revisions of "Template:trow/doc"
Jump to navigation
Jump to search
(Created page with "=== Usage === Template for a table row. Note that the table declaration must be made separately. The parameters are: <pre> {{{1}}} - 1st cell text {{{2}}} - 2nd cell text {{{...") |
m |
||
| Line 11: | Line 11: | ||
=== Example === | === Example === | ||
<pre> | <pre> | ||
| − | <table | + | <table class="timeline plain"> |
{{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.}} | ||
| Line 18: | Line 18: | ||
Which will give: | Which will give: | ||
| − | <table | + | <table class="timeline plain"> |
{{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> | ||
<includeonly>[[Category:WikiPolitiks templates]]</includeonly> | <includeonly>[[Category:WikiPolitiks templates]]</includeonly> | ||
Revision as of 02:24, 17 April 2018
Usage
Template for a table row. Note that the table declaration must be made separately.
The parameters are:
{{{1}}} - 1st cell text
{{{2}}} - 2nd cell text
{{{3}}} - optional 3rd cell text
Example
<table class="timeline plain">
{{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>
Which will give:
| Mar.2018 | This is a row with some text in it. |
| Jan.2018 | This is a row with some text in it. |