1.6.5
Now out Kjhf 16:07, 28 May 2011 (UTC)
Simpler code
This code is much simpler and less repetitive:
<includeonly><!--
-->{{#vardefine:beta|1.7.3}}<!--
-->{{#vardefine:beta-server|1.7.3}}<!--
-->{{#vardefine:classic|0.30}}<!--
-->{{#vardefine:classic-server|1.1.2}}<!--
-->{{#vardefine:pocket|0.1}}<!--
-->{{ #if: {{{t|}}}
| {{
#ifeq: {{{1}}} | {{
#switch: {{ #if: {{{p|}}} | 1 | 0 }}{{ #if: {{{c|}}} | 1 | 0 }}{{ #if: {{{s|}}} | 1 | 0 }}
| 000 = B{{#var:beta}}
| 001 = B{{#var:beta-server}}
| 010 = {{#var:classic}}
| 011 = {{#var:classic-server}}
| 100 = {{#var:pocket}}
}}
| style="background: #C6EFCE; color: #006100" {{!}} {{{1}}}<!-- this is the "true" case -->
| style="background: #FFC7CE; color: #9C0006" {{!}} {{{1}}}<!-- this is the "false" case -->
}}
| {{
#switch: {{ #if: {{{p|}}} | 1 | 0 }}{{ #if: {{{c|}}} | 1 | 0 }}{{ #if: {{{s|}}} | 1 | 0 }}
| 000 = {{#var:beta}}
| 001 = {{#var:beta-server}}
| 010 = {{#var:classic}}
| 011 = {{#var:classic-server}}
| 100 = {{#var:pocket}}
}}
}}</includeonly><noinclude>
{{/doc}}
[[Category:Templates|V]]</noinclude>
This code should be easier to maintain, and it also allows any values to be used for "p", "c", "s", and "t" (not really as important, but I've got a thing about only allowing binary parameters to have one possible value) as well as allowing for proper functioning if any of these parameters are defined but empty (which causes any parameter defaults to be ignored). If necessary, I can slap this code on a sandbox subpage and then slap together a testcases subpage to demonstrate that it really does work correctly. 「ダイノガイ千?!」? · ☎ Dinoguy1000 21:50, 18 August 2011 (UTC)
- Code works in the german wiki. -- Oliver Scholz de.Wiki Admin 16:18, 19 August 2011 (UTC)
Keep this updated
The latest pocket edition version is 0.1.2 .... --{ Fishrock123 } (Talk) 14:17, 17 October 2011 (UTC)
PC weekly snapshot link
Right now pc weekly snapshot links to Version history/Classic, it should link to Version history/Development versions. --88.74.28.103 15:52, 29 February 2012 (UTC)
Current version now 1.2.3
Please update this to the Current version 1.2.3. -Aurelius 15:06, 2 March 2012 (UTC)
- Done -- Oliver Scholz Wiki Admin 15:25, 2 March 2012 (UTC)
Feature Request: "softer" match for recent builds / green backgrounds
The templates used on third-party apps pages recently switched to using the
{{v|foo}}template as part of a "latest compatible release" column. It'd be really nice to have a "softer" match for green backgrounds... A utility that works on v1.2 is highly likely to also work on 1.2.3. The way the template is set up currently, though, if an app just stays on
{{v|1.2}}it'll end up with a red background. Thanks! -- Xolotl 07:08, 5 March 2012 (UTC)
1.2.5pre released
TorchicBlaziken 21:57, 30 March 2012 (UTC)
We know. :P Calinou - talk × contribs » 21:59, 30 March 2012 (UTC)
So, the point is that it should be added to the latest Weekly release. TorchicBlaziken
Access to a copy of the code
Hi :) I'm working on the French Wiki, and I wanted to modify the Version template using the "English" code. However, I can't seem to be able to copy/paste it, even though I should be. In fact, I can't access the box in which the code is, so it would be great if anyone could simply put the code here so that I can copy/paste it back to the French Wiki. Thanks :) Anom 22:47, 25 July 2012 (UTC)
- Just press the view source tab. –ultradude25 (T|C) at 23:02, 25 July 2012 (UTC)
- I know that :P when I do it, it opens a page with the code in a box, and it looks exactly like a regular editable section. However, due to the fact that the code is protected and also surely because I'm on an iPod, I can't access the box, when I "click" on it, it simply doesn't do anything. Therefore, as I can't access the code, I have to ask you to please help me and do it for me, it would be really great, even though you perhaps consider this as a waste of time :S Anom 23:19, 25 July 2012 (UTC)
- The edit box should still be highlightable... Probably a bug with the browser used there.
- http://pastebin.com/vks849jz –ultradude25 (T|C) at 23:45, 25 July 2012 (UTC)