Difference between revisions of "Template:Version/row/doc"

From ComputerCraft Wiki
Jump to: navigation, search
m
m (Parameters: update)
Line 5: Line 5:
 
* {{p|1}}: Sets the version number
 
* {{p|1}}: Sets the version number
 
* {{p|2}}: Sets the coorsponding Minecraft version
 
* {{p|2}}: Sets the coorsponding Minecraft version
* {{p|3}}: Release date, formatted in <code>YYYY/MM/DD</code> format, for example <code>2015/12/04</code>
+
* {{p|3}}: Release date, formatted in <code>YYYY/MM/DD</code> format, for example <code>2015/12/04</code>. Not needed if {{p|link}} is set.
* {{p|4}}: Row type. Set to <code>gray</code> for a gray row, or <code>latest</code> for the blue row with the "latest" header.
+
* {{p|type}}: Row type. Set to <code>gray</code> for a gray row (alternating colors), <code>latest</code> for the blue row with the "latest" header, or <code>beta</code> for an orange row with the "beta" text.
* {{p|link}}: Sets the link after the date. Defaults to <code>computercraft-{{p|1|plain=1}}</code> with the periods in {{p|1}} being replaced with dashes.
+
* {{p|link}}: Sets the link, using the value after <code>www.computercraft.info/</code>. Defaults to <code>{{p|3|plain=1}}/computercraft-{{p|1|plain=1}}</code> with the periods in {{p|1}} being replaced with dashes.

Revision as of 23:41, 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.