Difference between revisions of "Template:Version/row"

From ComputerCraft Wiki
Jump to: navigation, search
m (make link work for forum link)
m
 
Line 11: Line 11:
 
   #ifeq: {{{type|}}} | beta
 
   #ifeq: {{{type|}}} | beta
 
     | ''Beta''
 
     | ''Beta''
}} for '''Minecraft {{{2}}}''' ([http://www.computercraft.info/{{{link|{{{3}}}/computercraft-{{#replace: {{{1}}} | . | - }}}}}/ download])</td></tr></includeonly><noinclude>
+
}} for '''Minecraft {{{2}}}''' ([http://www.computercraft.info/{{{link|{{{3}}}/computercraft-{{#replace: {{{1}}} | . | - }}}}}/ download])</td></tr></includeonly><noinclude>{{Documentation}}</noinclude>
{{/doc}}
+

Latest revision as of 10:10, 2 August 2020

[ view | edit | history ] Documentation

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.