Difference between revisions of "Template:Version/row"
From ComputerCraft Wiki
KnightMiner (Talk | contribs) m (forgot about beta...) |
Magiczocker (Talk | contribs) m |
||
(One intermediate revision by one other user not shown) | |||
Line 1: | Line 1: | ||
<includeonly><tr><td style="background-color:{{ | <includeonly><tr><td style="background-color:{{ | ||
− | #switch: {{{ | + | #switch: {{{type|}}} |
| latest = #E5F9FF | | latest = #E5F9FF | ||
| beta = #FFE8A8 | | beta = #FFE8A8 | ||
Line 6: | Line 6: | ||
| #FFFFFF | | #FFFFFF | ||
}}; text-align:center;">{{ | }}; text-align:center;">{{ | ||
− | #ifeq: {{{ | + | #ifeq: {{{type|}}} | latest |
|'''Latest:'''<br /> | |'''Latest:'''<br /> | ||
}} ComputerCraft '''{{{1}}}''' {{ | }} ComputerCraft '''{{{1}}}''' {{ | ||
− | #ifeq: {{{ | + | #ifeq: {{{type|}}} | beta |
| ''Beta'' | | ''Beta'' | ||
− | }} for '''Minecraft {{{2}}}''' ([http://www.computercraft.info/{{{3}}}/ | + | }} for '''Minecraft {{{2}}}''' ([http://www.computercraft.info/{{{link|{{{3}}}/computercraft-{{#replace: {{{1}}} | . | - }}}}}/ download])</td></tr></includeonly><noinclude>{{Documentation}}</noinclude> |
− | {{ | + |
Latest revision as of 10:10, 2 August 2020
This template is used to create the rows on {{version}}
Parameters
-
{{{1}}}
: Sets the version number -
{{{2}}}
: Sets the coorsponding Minecraft version -
{{{3}}}
: Release date, formatted inYYYY/MM/DD
format, for example2015/12/04
. Not needed if{{{link}}}
is set. -
{{{type}}}
: Row type. Set togray
for a gray row (alternating colors),latest
for the blue row with the "latest" header, orbeta
for an orange row with the "beta" text. -
{{{link}}}
: Sets the link, using the value afterwww.computercraft.info/
. Defaults to{{{3}}}/computercraft-{{{1}}}
with the periods in{{{1}}}
being replaced with dashes.