Difference between revisions of "Template:Alg5"

From Speedsolving.com Wiki
m
m
(41 intermediate revisions by the same user not shown)
Line 3: Line 3:
 
| style="padding: 1px 5px; background: #FFFFFF; width: 18px; border: 1px solid #CCC;" | [[Image:Speedsolving Logo tiny.gif|link=]]
 
| style="padding: 1px 5px; background: #FFFFFF; width: 18px; border: 1px solid #CCC;" | [[Image:Speedsolving Logo tiny.gif|link=]]
  
| style="padding: 0px 5px; background: #F0F0F0; width: 750px; border: 1px solid #CCC;" | {{{1|Alg in Old WCA}}} [http://alg.cubing.net/?puzzle={{{puzzle|{{{cube|4x4x4}}}}}}&type=alg&alg={{urlencode:{{{alg|{{{2|}}}}}} |PATH}} [SiGN]]
+
| style="padding: 0px 5px; background: #F0F0F0; width: 750px; border: 1px solid #CCC;" | {{{wca}}}
  
| style="padding: 0px 5px; background: #F8F8F8; width: 45px; text-align: center; border: 1px solid #CCC;" | {{{3|(BQTM,BHTM)}}}
+
| 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:{{{sign}}} |PATH}} {{{length|}}}]
  
| style="padding: 0px 5px; background: #F8F8F8; width: 150px; text-align: center; border: 1px solid #CCC;"| {{{4|Alg Name}}}
+
| style="padding: 0px 5px; background: #F8F8F8; width: 120px; text-align: center; border: 1px solid #CCC;" | {{{name}}}
  
| style="padding: 0px 5px; background: #F8F8F8; width: 150px; text-align: center; border: 1px solid #CCC;" | {{{5|author}}}
+
| style="padding: 0px 0px; background: #E8E8E8; width: 0px; border: 0px solid #CCC;" | {{{wide}}}
  
| style="padding: 0px 5px; background: #E8E8E8; width: 55px; text-align: center; border: 1px solid #CCC;" | {{{6|[{{{url|}}}]}}}
+
| style="padding: 0px 5px; background: #F8F8F8; width: 225px; text-align: center; border: 1px solid #CCC;" | {{{author}}}
 +
 
 +
| style="padding: 0px 0px; background: #E8E8E8; width: 0px; border: 0px solid #CCC;" | [{{{url|}}}]
 
|}
 
|}
 
<noinclude>
 
<noinclude>
Line 18: Line 20:
 
==The Template==
 
==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.
+
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 (BQTM,BHTM) has been added, and it is optional to add a name to an algorithm, should it have one.  This template was written to accompany the new format of the 4x4x4 parity algorithms wiki page and also the fact that alg.garron.us does not support old WCA notation.
  
  
'''Example'''
+
'''Example 1'''
  
Assuming that you already know the syntax for Template:Alg, then if you want to link the algorithm:
+
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.
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.
+
<pre>
<span style="font-family: Courier;"><nowiki>{{Alg4|r2 B2 U2 l U2 r' U2 r U2 F2 r F2 l' B2 r2}}</nowiki></span>
+
{{Alg5
{{Alg4|r2 B2 U2 l U2 r' U2 r U2 F2 r F2 l' B2 r2}}
+
|wca=r2 B2 U2 l U2 r' U2 r U2 F2 r F2 l' B2 r2
 +
|sign=2R2 B2 U2 2L U2 2R' U2 2R U2 F2 2R F2 2L' B2 2R2
 +
|length=(25,15)
 +
|name=Old Standard Alg
 +
|wide=
 +
|author=
 +
|url=http://www.stefan-pochmann.info/spocc/other_stuff/4x4_5x5_algs/?section=FixOrientationParity
 +
}}
 +
</pre>
  
*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.
+
{{Alg5
 +
|wca=r2 B2 U2 l U2 r' U2 r U2 F2 r F2 l' B2 r2
 +
|sign=2R2 B2 U2 2L U2 2R' U2 2R U2 F2 2R F2 2L' B2 2R2
 +
|length=(25,15)
 +
|name=Old Standard Alg
 +
|wide=Y
 +
|author=
 +
|url=http://www.stefan-pochmann.info/spocc/other_stuff/4x4_5x5_algs/?section=FixOrientationParity
 +
}}
 +
 
 +
Since the current incarnation of alg.cubing.net (as of the date of this edit) does not support Old WCA notation (where lower case letters represent inner slice turns, and Rw = (Rr), for example) and the majority of cubers who can read notation have a much easier time reading Old WCA, one can see above that the algorithm is displayed in Old WCA notation but is liked to alg.cubing.net via the move count slot in the algorithm template.
 +
 
 +
*Note that the url parameter is for providing readers a forum post, video link, etc., of where to find the original (or one of the original) locations an algorithm was popularized--or better yet--first published.
  
*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: <span style="font-family: Courier;"><nowiki>{{Alg4|r2 B2 U2 l U2 r' U2 r U2 F2 r F2 l' B2 r2|(25,15)}}</nowiki></span>
+
*To use this template, one must write an algorithm in Old WCA notation and SiGN notation in their respective parameters and must supply a move count ordered pair.  '''Any of the other parameters may be left blank.'''
{{Alg4|r2 B2 U2 l U2 r' U2 r U2 F2 r F2 l' B2 r2|(25,15)}}
 
  
*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):
 
<span style="font-family: Courier;"><nowiki>{{Alg4|r2 B2 U2 l U2 r' U2 r U2 F2 r F2 l' B2 r2|(25,15)|John Doe}}</nowiki></span>
 
{{Alg4|r2 B2 U2 l U2 r' U2 r U2 F2 r F2 l' B2 r2|(25,15)|John Doe|notation=WCA}}
 
  
*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):
+
'''Example 2'''
<span style="font-family: Courier;"><nowiki>{{Alg4|r2 B2 U2 l U2 r' U2 r U2 F2 r F2 l' B2 r2|(25,15)|author|Algorithm Name}}</nowiki></span>
+
<pre>
{{Alg4|r2 B2 U2 l U2 r' U2 r U2 F2 r F2 l' B2 r2|(25,15)|author|Algorithm Name|notation=WCA}}
+
{{Alg5
 +
|wca=r2 B2 U2 l U2 r' U2 r U2 F2 r F2 l' B2 r2
 +
|sign=2R2 B2 U2 2L U2 2R' U2 2R U2 F2 2R F2 2L' B2 2R2
 +
|length=(25,15)
 +
|name=
 +
|wide=Y
 +
|author=John Doe
 +
|url=
 +
}}
 +
</pre>
  
*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).
+
=
  
 +
{{Alg5
 +
|wca=r2 B2 U2 l U2 r' U2 r U2 F2 r F2 l' B2 r2
 +
|sign=2R2 B2 U2 2L U2 2R' U2 2R U2 F2 2R F2 2L' B2 2R2
 +
|length=(25,15)
 +
|name=
 +
|wide=Y
 +
|author=John Doe
 +
|url=
 +
}}
  
*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.
 
<span style="font-family: Courier;"><nowiki>{|width="35%" |(enter)|{{Alg4|R U R' U R U2 R'|(8,7)|author|Sune|cube=3x3x3}}|}</nowiki>
 
  
{|width="35%" |
+
*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.
|{{Alg4|R U R' U R U2 R'|(8,7)|author|Sune|cube=3x3x3}}|}
 

Revision as of 20:37, 8 September 2018

Speedsolving Logo tiny.gif {{{wca}}} [1] {{{name}}} {{{wide}}} {{{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 (BQTM,BHTM) has been added, and it is optional to add a name to an algorithm, should it have one. This template was written to accompany the new format of the 4x4x4 parity algorithms wiki page and also the fact that alg.garron.us does not support old WCA notation.


Example 1

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.

{{Alg5
|wca=r2 B2 U2 l U2 r' U2 r U2 F2 r F2 l' B2 r2
|sign=2R2 B2 U2 2L U2 2R' U2 2R U2 F2 2R F2 2L' B2 2R2
|length=(25,15)
|name=Old Standard Alg
|wide=
|author=
|url=http://www.stefan-pochmann.info/spocc/other_stuff/4x4_5x5_algs/?section=FixOrientationParity
}}

=

Speedsolving Logo tiny.gif r2 B2 U2 l U2 r' U2 r U2 F2 r F2 l' B2 r2 (25,15) Old Standard Alg Y [2]


Since the current incarnation of alg.cubing.net (as of the date of this edit) does not support Old WCA notation (where lower case letters represent inner slice turns, and Rw = (Rr), for example) and the majority of cubers who can read notation have a much easier time reading Old WCA, one can see above that the algorithm is displayed in Old WCA notation but is liked to alg.cubing.net via the move count slot in the algorithm template.

  • Note that the url parameter is for providing readers a forum post, video link, etc., of where to find the original (or one of the original) locations an algorithm was popularized--or better yet--first published.
  • To use this template, one must write an algorithm in Old WCA notation and SiGN notation in their respective parameters and must supply a move count ordered pair. Any of the other parameters may be left blank.


Example 2

{{Alg5
|wca=r2 B2 U2 l U2 r' U2 r U2 F2 r F2 l' B2 r2
|sign=2R2 B2 U2 2L U2 2R' U2 2R U2 F2 2R F2 2L' B2 2R2
|length=(25,15)
|name=
|wide=Y
|author=John Doe
|url=
}}

=

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


  • 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.