Difference between revisions of "Template:trow/doc"

From WikiCorporates
Jump to navigation Jump to search
m (→‎Usage)
m
Line 11: Line 11:
 
=== Example ===
 
=== Example ===
 
<pre>
 
<pre>
 +
== This is a Header ==
 
<table class="timeline plain">
 
<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.}}
Line 18: Line 19:
  
 
Which will give:
 
Which will give:
 +
== This is a Header ==
 
<table class="timeline plain">
 
<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.}}

Revision as of 02:26, 17 April 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.

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">
{{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:

This is a Header

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