Difference between revisions of "Template:History"

From ComputerCraft Wiki
Jump to: navigation, search
(Created page with "<includeonly>{{ #ifeq: {{ #var:history-head}} | 1 || <table class="wikitable" data-description="History"> {{ #vardefine:history-head|1}} }}{{#ifeq: {{{1|}}}|foot |</table> |...")
 
m
 
(7 intermediate revisions by the same user not shown)
Line 1: Line 1:
<includeonly>{{
+
<includeonly>{{#switch: {{lc:{{{1}}}}}
#ifeq: {{ #var:history-head}} | 1
+
| head = <table class="wikitable" data-description="History">
  || <table class="wikitable" data-description="History"> {{ #vardefine:history-head|1}}
+
| foot = </table>
}}{{#ifeq: {{{1|}}}|foot
+
| #default = <tr><th rowspan="{{#len:{{
|</table>
+
#if: {{{2|}}} | 1 }}{{
|<tr><th>{{{1}}}</th><td>{{{2}}}</td></tr>
+
#if: {{{3|}}} | 1 }}{{
}}</includeonly><noinclude>
+
#if: {{{4|}}} | 1 }}{{
{{History|1.1|test}}
+
#if: {{{5|}}} | 1 }}{{
{{History|1.2|test}}
+
#if: {{{6|}}} | 1 }}{{
{{History|foot}}
+
#if: {{{7|}}} | 1 }}{{
</noinclude>
+
#if: {{{8|}}} | 1 }}{{
 +
#if: {{{9|}}} | 1 }}{{
 +
#if: {{{10|}}} | 1 }}}}">{{{1}}}</th><td>{{{2}}}</td></tr>{{
 +
#if: {{{3|}}} | <tr><td>{{{3}}}</td></tr>
 +
}}{{
 +
#if: {{{4|}}} | <tr><td>{{{4}}}</td></tr>
 +
}}{{
 +
#if: {{{5|}}} | <tr><td>{{{5}}}</td></tr>
 +
}}{{
 +
#if: {{{6|}}} | <tr><td>{{{6}}}</td></tr>
 +
}}{{
 +
#if: {{{7|}}} | <tr><td>{{{7}}}</td></tr>
 +
}}{{
 +
#if: {{{8|}}} | <tr><td>{{{8}}}</td></tr>
 +
}}{{
 +
#if: {{{9|}}} | <tr><td>{{{9}}}</td></tr>
 +
}}{{
 +
#if: {{{10|}}} | <tr><td>{{{10}}}</td></tr>
 +
}}
 +
}}</includeonly><noinclude>{{Documentation}}</noinclude>

Latest revision as of 10:31, 2 August 2020

[ view | edit | history ] Documentation

Template:History/doc