Difference between revisions of "Template:Changes"

From Industrial-Craft-Wiki
Jump to navigation Jump to search
m
m (Boom, old template => Lua. Infinite changes guys!)
Line 1: Line 1:
<includeonly>
<includeonly>{{#invoke:Changes|changes}}</includeonly><noinclude><!--
'''{{#if:{{{IC²|}}}|IC²&nbsp;}}v{{{version}}}:'''<ul><!--
'''{{#if:{{{IC²|}}}|IC²&nbsp;}}v{{{version}}}:'''<ul><!--
-->{{#if:{{{change1|}}}|<li>{{{change1}}}}}<!--
-->{{#if:{{{change1|}}}|<li>{{{change1}}}}}<!--
Line 22: Line 22:
-->{{#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/>}}-->{{Changes/doc}}</noinclude>

Revision as of 20:27, 10 February 2015

-->

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
IC vX.xx:
  • Test1
  • Test2

Read More
Download Now