Difference between revisions of "Template:Changes"

From Industrial-Craft-Wiki
Jump to navigation Jump to search
m
m (Removed things that broke comments)
 
(6 intermediate revisions by 2 users not shown)
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}}}}}
-->{{#if:{{{change2|}}}|<li>{{{change2}}}}}<!--
  {{#if:{{{change2|}}}|<li>{{{change2}}}}}
-->{{#if:{{{change3|}}}|<li>{{{change3}}}}}<!--
  {{#if:{{{change3|}}}|<li>{{{change3}}}}}
-->{{#if:{{{change4|}}}|<li>{{{change4}}}}}<!--
  {{#if:{{{change4|}}}|<li>{{{change4}}}}}
-->{{#if:{{{change5|}}}|<li>{{{change5}}}}}<!--
  {{#if:{{{change5|}}}|<li>{{{change5}}}}}
-->{{#if:{{{change6|}}}|<li>{{{change6}}}}}<!--
  {{#if:{{{change6|}}}|<li>{{{change6}}}}}
-->{{#if:{{{change7|}}}|<li>{{{change7}}}}}<!--
  {{#if:{{{change7|}}}|<li>{{{change7}}}}}
-->{{#if:{{{change8|}}}|<li>{{{change8}}}}}<!--
  {{#if:{{{change8|}}}|<li>{{{change8}}}}}
-->{{#if:{{{change9|}}}|<li>{{{change9}}}}}<!--
  {{#if:{{{change9|}}}|<li>{{{change9}}}}}
-->{{#if:{{{change10|}}}|<li>{{{change10}}}}}<!--
  {{#if:{{{change10|}}}|<li>{{{change10}}}}}
-->{{#if:{{{change11|}}}|<li>{{{change11}}}}}<!--
  {{#if:{{{change11|}}}|<li>{{{change11}}}}}
-->{{#if:{{{change12|}}}|<li>{{{change12}}}}}<!--
  {{#if:{{{change12|}}}|<li>{{{change12}}}}}
-->{{#if:{{{change13|}}}|<li>{{{change13}}}}}<!--
  {{#if:{{{change13|}}}|<li>{{{change13}}}}}
-->{{#if:{{{change14|}}}|<li>{{{change14}}}}}<!--
  {{#if:{{{change14|}}}|<li>{{{change14}}}}}
-->{{#if:{{{change15|}}}|<li>{{{change15}}}}}<!--
  {{#if:{{{change15|}}}|<li>{{{change15}}}}}
-->{{#if:{{{change16|}}}|<li>{{{change16}}}}}<!--
  {{#if:{{{change16|}}}|<li>{{{change16}}}}}
-->{{#if:{{{readmore|}}}|<br/>[[Updates#v{{{version}}}{{#if:{{{IC²|}}}|&nbsp;(IC²)}}|'''Read More''']]<br/>}}<!--
  {{#if:{{{readmore|}}}|<br/>[[Updates#v{{{version}}}{{#if:{{{IC²|}}}|.C2.A0.28IC.C2.B2.29}}|'''Read More''']]}}
-->{{#if:{{{download|}}}|[[Download#Download|<br/>'''Download Now''']]}}<!--
  {{#if:{{{download|}}}|<br/>[[Download#Download|'''Download Now''']]}}
--></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/>}}-->{{Changes/doc}}</noinclude>

Latest revision as of 20:31, 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