Difference between revisions of "Template:Version/row"
From ComputerCraft Wiki
KnightMiner (Talk | contribs) m (exceptions exceptions) |
KnightMiner (Talk | contribs) m (forgot about beta...) |
||
Line 1: | Line 1: | ||
<includeonly><tr><td style="background-color:{{ | <includeonly><tr><td style="background-color:{{ | ||
#switch: {{{4|}}} | #switch: {{{4|}}} | ||
− | |latest = #E5F9FF | + | | latest = #E5F9FF |
− | |gray = #D4D4D4 | + | | beta = #FFE8A8 |
− | |#FFFFFF | + | | gray = #D4D4D4 |
+ | | #FFFFFF | ||
}}; text-align:center;">{{ | }}; text-align:center;">{{ | ||
#ifeq: {{{4|}}} | latest | #ifeq: {{{4|}}} | latest | ||
|'''Latest:'''<br /> | |'''Latest:'''<br /> | ||
− | }} ComputerCraft '''{{{1}}}''' for '''Minecraft {{{2}}}''' ([http://www.computercraft.info/{{{3}}}/{{{link|computercraft-{{#replace: {{{1}}} | . | - }}}}}/ download])</td></tr></includeonly><noinclude> | + | }} ComputerCraft '''{{{1}}}''' {{ |
+ | #ifeq: {{{4|}}} | beta | ||
+ | | ''Beta'' | ||
+ | }} for '''Minecraft {{{2}}}''' ([http://www.computercraft.info/{{{3}}}/{{{link|computercraft-{{#replace: {{{1}}} | . | - }}}}}/ download])</td></tr></includeonly><noinclude> | ||
{{/doc}} | {{/doc}} |
Revision as of 05:21, 9 December 2015
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.