Difference between revisions of "Template:trowH/doc"

From WikiCorporates
Jump to navigation Jump to search
(Created page with "{{trowH|cols=3|This is a Heading}}")
 
m
Line 1: Line 1:
−
{{trowH|cols=3|This is a Heading}}
+
=== Usage ===
 +
Template for a multi-cell table row containing a <h3>.
 +
Note that the table declaration must be made separately.
 +
 
 +
The parameters are:
 +
<pre>
 +
{{{cols}}} - cols=3. Optional
 +
{{{1}}}    - heading text
 +
</pre>
 +
 
 +
=== Example ===
 +
<pre>
 +
<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>
 +
</pre>
 +
 
 +
Which will give:
 +
<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>
 +
 
 +
<includeonly>[[Category:WikiPolitiks templates]]</includeonly>

Revision as of 02:41, 17 April 2018

Usage

Template for a multi-cell table row containing a

. Note that the table declaration must be made separately. The parameters are:
{{{cols}}} - cols=3. Optional
{{{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.2018This is a row with some text in it.
Feb.2018This is a row with some text in it.
Mar.2018This is a row with some text in it.