Difference between revisions of "Template:Version/row"

From ComputerCraft Wiki
Jump to: navigation, search
(Created page with "<includeonly><tr><td style="background-color:{{ #switch: {{{4|}}} |latest = #E5F9FF |gray = #D4D4D4 |#FFFFFF }}; text-align:center;">{{ #ifeq: {{{4|}}} | lates...")
 
m (exceptions exceptions)
Line 7: Line 7:
 
   #ifeq: {{{4|}}} | latest
 
   #ifeq: {{{4|}}} | latest
 
     |'''Latest:'''<br />
 
     |'''Latest:'''<br />
}} ComputerCraft '''{{{1}}}''' for '''Minecraft {{{2}}}''' ([http://www.computercraft.info/{{{3}}}/computercraft-{{#replace: {{{1}}} | . | - }}/ download])</td></tr></includeonly><noinclude>
+
}} ComputerCraft '''{{{1}}}''' for '''Minecraft {{{2}}}''' ([http://www.computercraft.info/{{{3}}}/{{{link|computercraft-{{#replace: {{{1}}} | . | - }}}}}/ download])</td></tr></includeonly><noinclude>
 
{{/doc}}
 
{{/doc}}

Revision as of 05:07, 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 in YYYY/MM/DD format, for example 2015/12/04. Not needed if {{{link}}} is set.
  • {{{type}}}: Row type. Set to gray for a gray row (alternating colors), latest for the blue row with the "latest" header, or beta for an orange row with the "beta" text.
  • {{{link}}}: Sets the link, using the value after www.computercraft.info/. Defaults to {{{3}}}/computercraft-{{{1}}} with the periods in {{{1}}} being replaced with dashes.