Difference between revisions of "Template:Changes"

From Industrial-Craft-Wiki
Jump to navigation Jump to search
m
m
Line 17: Line 17:
-->{{#if:{{{change15|}}}|<li>{{{change15}}}}}<!--
-->{{#if:{{{change15|}}}|<li>{{{change15}}}}}<!--
-->{{#if:{{{change16|}}}|<li>{{{change16}}}}}<br/><!--
-->{{#if:{{{change16|}}}|<li>{{{change16}}}}}<br/><!--
-->{{#if:{{{readmore|}}}|[[Updates#{{{version}}}|'''Read More''']]}}<!--
-->{{#if:{{{readmore|}}}|[[Updates#v{{{version}}}|'''Read More''']]}}<!--
--></ul><!--
--></ul><!--
-->{{#if:{{{notlast|}}}|<br/>}}<!--
-->{{#if:{{{notlast|}}}|<br/>}}<!--
-->{{#if:{{{notlast|}}}|<hr style="width:auto;">}}<!--
-->{{#if:{{{notlast|}}}|<hr style="width:auto;">}}<!--
-->{{#if:{{{notlast|}}}|<br/>}}</includeonly><noinclude>{{Changes/doc}}</noinclude>
-->{{#if:{{{notlast|}}}|<br/>}}</includeonly><noinclude>{{Changes/doc}}</noinclude>

Revision as of 12:04, 1 June 2011

Template-info.png Documentation

This template is used to create a changelog entry for the sidebar of the main page.

Notes[edit]

You can include up to 16 different entries.

Also you got the function |readmore=yes, which includes at the bottom of the entry a link with [[Updates#{{{version}}}|'''Read More''']]

Put in the parameter |notlast=true to add a horizontal line after the entry.


Usage[edit]

{{Changes|version=X.xx
|change1=Test1
|change2=Test2
|readmore=yes
|notlast=true
|download=true
}}
produces
vX.xx: