Difference between revisions of "Template:Symmetry"

From LifeWiki
Jump to navigation Jump to search
(documentation)
(Fix diagonal bilateral category, per Category talk:Patterns with diagonal bilateral symmetry.)
Line 19: Line 19:
 
* <tt>orthogonal2</tt>: Patterns with reflection symmetry in exactly one orthogonal axis ([[:Category:Patterns with bilateral orthogonal symmetry]]).
 
* <tt>orthogonal2</tt>: Patterns with reflection symmetry in exactly one orthogonal axis ([[:Category:Patterns with bilateral orthogonal symmetry]]).
 
* <tt>orthogonal4</tt>: Patterns with reflection symmetry in both orthogonal axes ([[:Category:Patterns with rectangular orthogonal symmetry]]).
 
* <tt>orthogonal4</tt>: Patterns with reflection symmetry in both orthogonal axes ([[:Category:Patterns with rectangular orthogonal symmetry]]).
* <tt>diagonal2</tt>: Patterns with reflection symmetry in exactly one diagonal axis ([[:Category:Patterns with diagonal bilateral symmetry]]).
+
* <tt>diagonal2</tt>: Patterns with reflection symmetry in exactly one diagonal axis ([[:Category:Patterns with bilateral diagonal symmetry]]).
 
* <tt>diagonal4</tt>: Patterns with reflection symmetry in both diagonal axes ([[:Category:Patterns with rectangular diagonal symmetry]]).
 
* <tt>diagonal4</tt>: Patterns with reflection symmetry in both diagonal axes ([[:Category:Patterns with rectangular diagonal symmetry]]).
 
* <tt>180degree</tt>: Patterns with 180-degree rotation symmetry ([[:Category:Patterns with 180-degree rotation symmetry]]).
 
* <tt>180degree</tt>: Patterns with 180-degree rotation symmetry ([[:Category:Patterns with 180-degree rotation symmetry]]).
Line 34: Line 34:
 
{{#ifeq: {{{1|}}} | orthogonal2 | [[Category:Patterns with bilateral orthogonal symmetry]]}}
 
{{#ifeq: {{{1|}}} | orthogonal2 | [[Category:Patterns with bilateral orthogonal symmetry]]}}
 
{{#ifeq: {{{1|}}} | orthogonal4 | [[Category:Patterns with rectangular orthogonal symmetry]]}}
 
{{#ifeq: {{{1|}}} | orthogonal4 | [[Category:Patterns with rectangular orthogonal symmetry]]}}
{{#ifeq: {{{1|}}} | diagonal2 | [[Category:Patterns with diagonal bilateral symmetry]]}}
+
{{#ifeq: {{{1|}}} | diagonal2 | [[Category:Patterns with bilateral diagonal symmetry]]}}
 
{{#ifeq: {{{1|}}} | diagonal4 | [[Category:Patterns with rectangular diagonal symmetry]]}}
 
{{#ifeq: {{{1|}}} | diagonal4 | [[Category:Patterns with rectangular diagonal symmetry]]}}
 
{{#ifeq: {{{1|}}} | 180degree | [[Category:Patterns with 180-degree rotation symmetry]]}}
 
{{#ifeq: {{{1|}}} | 180degree | [[Category:Patterns with 180-degree rotation symmetry]]}}

Revision as of 06:10, 15 October 2018

This is a template for including symmetry categories for patterns.

For example,

{{Symmetry|orthogonal4|osc=flip}}

adds the categories Category:Patterns with rectangular orthogonal symmetry and Category:Flipping oscillators to the page. Typing

{{Symmetry|180degree}}

adds only Category:Patterns with 180-degree rotation symmetry, whereas

{{Symmetry|osc=turn90}}

adds only Category:Non-flipping oscillators that turn 90 degrees.

Options are

This template should not be used if the pattern has no symmetry of any kind.