Difference between revisions of "Template:History table"

From The Twilight Forest Wiki
Jump to navigation Jump to search
(this should hopefully work as a history template for now)
 
m (added documentation; having multiple lines for a single version is still somewhat unwieldy for now)
Line 4: Line 4:
|style="width:550px; text-align:center; background-color: #f2f2f2" |'''Details'''
|style="width:550px; text-align:center; background-color: #f2f2f2" |'''Details'''
{{{1}}}
{{{1}}}
|}</includeonly><noinclude>
|}
</includeonly><noinclude>
 
===Usage===
<pre>
{{history table|
{{history|1.0|test}}
{{history|2.0|another test
----
Yet another test}}
{{history|3.0|test}}
}}
</pre>
 
causes the following to show up:
 
{{history table|
{{history|1.0|test}}
{{history|2.0|another test
----
Yet another test}}
{{history|3.0|test}}
}}


[[Category:Templates]]
[[Category:Templates]]
</noinclude>
</noinclude>

Revision as of 03:00, 20 December 2017


Usage

{{history table|
{{history|1.0|test}}
{{history|2.0|another test
----
Yet another test}}
{{history|3.0|test}}
}}

causes the following to show up:

Version Details
1.0 test
2.0 another test

Yet another test

3.0 test