Difference between revisions of "Template:History table"

From The Twilight Forest Wiki
Jump to navigation Jump to search
m (added documentation; having multiple lines for a single version is still somewhat unwieldy for now)
(Tired of the inconsistency: History will now follow the heading level that is found on this page instead of that on individual pages.)
 
(8 intermediate revisions by 3 users not shown)
Line 1: Line 1:
<includeonly>{| class="wikitable"
<includeonly>= History =
{| class="wikitable sortable mw-collapsible mw-collapsed"
|-
|-
|style="width:200px; text-align:center; background-color: #f2f2f2" |'''Version'''
! style="width:60px" | Version
|style="width:550px; text-align:center; background-color: #f2f2f2" |'''Details'''
! class="unsortable" style="width:550px" | Details
{{{1}}}
{{{1}}}
|}
|}
</includeonly><noinclude>
</includeonly><noinclude>
===Usage===
===Usage===
<pre>
<pre>
Line 14: Line 14:
----
----
Yet another test}}
Yet another test}}
{{history|3.0|test}}
{{history|3.0|tester}}
}}
}}
</pre>
</pre>
Line 25: Line 25:
----
----
Yet another test}}
Yet another test}}
{{history|3.0|test}}
{{history|3.0|tester}}
}}
}}


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

Latest revision as of 13:40, 1 September 2024

Usage[edit]

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

causes the following to show up:

History

Version Details
1.0 test
2.0 another test

Yet another test

3.0 tester