Difference between revisions of "Template:Alg5"

From Speedsolving.com Wiki
m
m
Line 4: Line 4:
 
| style="padding: 0px 5px; background: #F0F0F0; width: 750px; border: 1px solid #CCC;" | {{{1|Alg in Old WCA}}}
 
| style="padding: 0px 5px; background: #F0F0F0; width: 750px; border: 1px solid #CCC;" | {{{1|Alg in Old WCA}}}
  
| style="padding: 0px 5px; background: #F8F8F8; width: 45px; text-align: center; border: 1px solid #CCC;" | [http://alg.cubing.net/?puzzle={{{puzzle|{{{cube|4x4x4}}}}}}&type=alg&alg={{urlencode:{{{alg|{{{2|}}}}}} |PATH}} {{alg|{{{2|SiGN}}}}}]
+
| style="padding: 0px 5px; background: #F8F8F8; width: 45px; text-align: center; border: 1px solid #CCC;" | [http://alg.cubing.net/?puzzle={{{puzzle|{{{cube|4x4x4}}}}}}&type=alg&alg={{urlencode:{{{stage|{{{2|}}}}}} |PATH}} {{{stage|{{{2|SiGN}}}}}}]
  
 
| style="padding: 0px 5px; background: #F8F8F8; width: 45px; text-align: center; border: 1px solid #CCC;" | {{{stage|{{{3|(BQTM,BHTM)}}}}}}
 
| style="padding: 0px 5px; background: #F8F8F8; width: 45px; text-align: center; border: 1px solid #CCC;" | {{{stage|{{{3|(BQTM,BHTM)}}}}}}

Revision as of 21:26, 6 January 2018

Speedsolving Logo tiny.gif Alg in Old WCA SiGN (BQTM,BHTM) Alg Name author []


The Template

This template is a derivative work/variation of "Template:Alg". It was specifically created for long algorithms for the 4x4x4 cube so that they wouldn't wrap to the next line and increase the length of the page unnecessarily. In addition, a new column for move count (SQTM,STM) has been added, and it is optional to add a name to an algorithm, should it have one.


Example

Assuming that you already know the syntax for Template:Alg, then if you want to link the algorithm: r2 B2 U2 l U2 r' U2 r U2 F2 r F2 l' B2 r2

to alg.cubing.net using this template (all algorithms are assumed to be in SiGN notation), then simply put a 4 next to Alg. {{Alg4|r2 B2 U2 l U2 r' U2 r U2 F2 r F2 l' B2 r2}}

Speedsolving Logo tiny.gif Alg r2 B2 U2 l U2 r' U2 r U2 F2 r F2 l' B2 r2 (SQTM,STM) author []


  • Notice that this template inserts an extra column not in alg template which displays "(SQTM,STM)".
  • I, cmowla, the creator of this alg template variation prefers to have the move count for 4x4x4 algorithms shown for convenience and organization. If you do not like this option, you may create a new template or just use Template:Alg.
  • To write the length of the example algorithm above (if you don't do this, then "(SQTM,STM)" will remain, which is an incentive to actually add the move count), which is 25 SQTM and 15 STM, simply add the following: {{Alg4|r2 B2 U2 l U2 r' U2 r U2 F2 r F2 l' B2 r2|(25,15)}}
Speedsolving Logo tiny.gif Alg r2 B2 U2 l U2 r' U2 r U2 F2 r F2 l' B2 r2 (25,15) author []


  • To put the original author's name (if you don't do this, then "author" will remain...of course, leave it like this if you are not the original author or are not 100% positive who the original author is: just hearing about from someone isn't instant verification that they were the original author), we add the following (let's suppose the name is John Doe):

{{Alg4|r2 B2 U2 l U2 r' U2 r U2 F2 r F2 l' B2 r2|(25,15)|John Doe}}

Speedsolving Logo tiny.gif Alg r2 B2 U2 l U2 r' U2 r U2 F2 r F2 l' B2 r2 (25,15) John Doe []


  • Some 4x4x4 algorithms have been named. Therefore I made it optional to add the name of an algorithm. Simply add the following (notice that we have to first write the author's name):

{{Alg4|r2 B2 U2 l U2 r' U2 r U2 F2 r F2 l' B2 r2|(25,15)|author|Algorithm Name}}

Speedsolving Logo tiny.gif Algorithm Name r2 B2 U2 l U2 r' U2 r U2 F2 r F2 l' B2 r2 (25,15) author []


  • You may use this template for any size cube, should you wish to have more space for the algorithm or inserting move counts (you can already name algorithms using Alg:Template by putting a "|(Algorithm Name" before the concluding }} code).


  • For example, the code for sune on the 3x3x3 is the following, (code for width reduction has been included to reduce the length of the algorithm box.

{|width="35%" |(enter)|{{Alg4|R U R' U R U2 R'|(8,7)|author|Sune|cube=3x3x3}}|}

Speedsolving Logo tiny.gif Sune R U R' U R U2 R' (8,7) author []