Difference between revisions of "Template:Version/row"
From ComputerCraft Wiki
KnightMiner (Talk | contribs) m (forgot about beta...) |
KnightMiner (Talk | contribs) m (make link work for forum link) |
||
| 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> |
{{/doc}} | {{/doc}} | ||
Revision as of 23:36, 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/DDformat, for example2015/12/04. Not needed if{{{link}}}is set. -
{{{type}}}: Row type. Set tograyfor a gray row (alternating colors),latestfor the blue row with the "latest" header, orbetafor 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.