Difference between revisions of "Template:Changes"

From Industrial-Craft-Wiki
Jump to navigation Jump to search
m
m
Line 1: Line 1:
<includeonly>
<includeonly>
'''v{{{version}}}:'''<!--
'''v{{{version}}}:'''<ul><!--
-->{{#if:{{{change1|}}}|*{{{change1}}}}}<!--
-->{{#if:{{{change1|}}}|<li>{{{change1}}}}}<!--
-->{{#if:{{{change2|}}}|*{{{change2}}}}}<!--
-->{{#if:{{{change2|}}}|<li>{{{change2}}}}}<!--
-->{{#if:{{{change3|}}}|*{{{change3}}}}}<!--
-->{{#if:{{{change3|}}}|<li>{{{change3}}}}}<!--
-->{{#if:{{{change4|}}}|*{{{change4}}}}}<!--
-->{{#if:{{{change4|}}}|<li>{{{change4}}}}}<!--
-->{{#if:{{{change5|}}}|*{{{change5}}}}}<!--
-->{{#if:{{{change5|}}}|*{{{change5}}}}}<!--
-->{{#if:{{{change6|}}}|*{{{change6}}}}}<!--
-->{{#if:{{{change6|}}}|*{{{change6}}}}}<!--
Line 16: Line 16:
-->{{#if:{{{change14|}}}|*{{{change14}}}}}<!--
-->{{#if:{{{change14|}}}|*{{{change14}}}}}<!--
-->{{#if:{{{change15|}}}|*{{{change15}}}}}<!--
-->{{#if:{{{change15|}}}|*{{{change15}}}}}<!--
-->{{#if:{{{change16|}}}|*{{{change16}}}}}<br/><!--
-->{{#if:{{{change16|}}}|*{{{change16}}}}}</ul><br/><!--
-->{{#if:{{{readmore|}}}|[[Updates#{{{version}}}|'''Read More''']]}}<!--
-->{{#if:{{{readmore|}}}|[[Updates#{{{version}}}|'''Read More''']]}}<!--
-->{{#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 23:20, 26 May 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:
  • Test1
  • Test2

Read More