Difference between revisions of "Template:Version/row/doc"
From ComputerCraft Wiki
KnightMiner (Talk | contribs) (this is a meta template, so no need for examples) |
Magiczocker (Talk | contribs) m |
||
| (2 intermediate revisions by one other user not shown) | |||
| 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| | + | * {{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, 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. | ||
| + | <noinclude>[[Category:Documentation pages]]</noinclude> | ||
Latest revision as of 07:51, 4 August 2020
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.