Difference between revisions of "Template:trowH/doc"
Jump to navigation
Jump to search
m |
m |
||
| Line 1: | Line 1: | ||
__NOTOC__ | __NOTOC__ | ||
=== Usage === | === Usage === | ||
| − | Template for a | + | Template for declaring the start of a table. |
| − | + | The parameter is: | |
| − | |||
| − | The | ||
<pre> | <pre> | ||
| − | + | {{{1}}} - heading text | |
| − | {{{1}}} | ||
</pre> | </pre> | ||
=== Example === | === Example === | ||
<pre> | <pre> | ||
| − | |||
| − | |||
{{trowH|This is a Header}} | {{trowH|This is a Header}} | ||
{{trow|Feb.2018|This is a row with some text in it.}} | {{trow|Feb.2018|This is a row with some text in it.}} | ||
{{trow|Mar.2018|This is a row with some text in it.}} | {{trow|Mar.2018|This is a row with some text in it.}} | ||
| − | + | {{trowF}} | |
</pre> | </pre> | ||
Which will give: | Which will give: | ||
| − | |||
| − | |||
{{trowH|This is a Header}} | {{trowH|This is a Header}} | ||
{{trow|Feb.2018|This is a row with some text in it.}} | {{trow|Feb.2018|This is a row with some text in it.}} | ||
{{trow|Mar.2018|This is a row with some text in it.}} | {{trow|Mar.2018|This is a row with some text in it.}} | ||
| − | + | {{TrowF}} | |
<includeonly>[[Category:WikiPolitiks templates]]</includeonly> | <includeonly>[[Category:WikiPolitiks templates]]</includeonly> | ||
Revision as of 19:53, 17 April 2018
Usage
Template for declaring the start of a table. The parameter is:
{{{1}}} - heading text
Example
{{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.}}
{{trowF}}
Which will give:
| Feb.2018 | This is a row with some text in it. |
| Mar.2018 | This is a row with some text in it. |