Difference between revisions of "Template:trowH/doc"

From WikiCorporates
Jump to navigation Jump to search
m
m
Line 1: Line 1:
 
__NOTOC__
 
__NOTOC__
 
=== Usage ===
 
=== Usage ===
−
Template for a multi-cell table row containing a <nowiki><h3></nowiki>.
+
Template for declaring the start of a table.
−
Note that the table declaration must be made separately.
+
The parameter is:
−
 
 
−
The parameters are:
 
 
<pre>
 
<pre>
−
{{{cols}}} - cols=3. Optional. Default = 2.
+
{{{1}}} - heading text
−
{{{1}}}   - heading text
 
 
</pre>
 
</pre>
  
 
=== Example ===
 
=== Example ===
 
<pre>
 
<pre>
−
<table class="timeline plain">
 
−
{{trow|Jan.2018|This is a row with some text in it.}}
 
 
{{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.}}
−
</table>
+
{{trowF}}
 
</pre>
 
</pre>
  
 
Which will give:
 
Which will give:
−
<table class="timeline plain">
 
−
{{trow|Jan.2018|This is a row with some text in it.}}
 
 
{{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.}}
−
</table>
+
{{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:

Template:TrowF


Feb.2018This is a row with some text in it.
Mar.2018This is a row with some text in it.