Template:Alg4

From Speedsolving.com Wiki
Revision as of 23:37, 8 April 2013 by Cmowla (talk | contribs) (I added in a column for author name.)
Alg Algorithm (SQTM,STM) Author [X]


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.garron.us using this template (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}}

Alg r2 B2 U2 l U2 r' U2 r U2 F2 r F2 l' B2 r2 (SQTM,STM) Author [X]


  • 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)}}
Alg r2 B2 U2 l U2 r' U2 r U2 F2 r F2 l' B2 r2 (25,15) Author [X]


  • Some 4x4x4 algorithms have been named. Therefore I made it optional to add the name of an algorithm. Simply add the following:

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

Algorithm Name r2 B2 U2 l U2 r' U2 r U2 F2 r F2 l' B2 r2 (25,15) Author [X]


  • 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)|Sune|cube=3x3x3}}|}

Sune R U R' U R U2 R' (8,7) Author [X]


  • And finally, to put the original author's name, 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)|Algorithm Name|John Doe}}

Algorithm Name r2 B2 U2 l U2 r' U2 r U2 F2 r F2 l' B2 r2 (25,15) John Doe [X]