Difference between revisions of "Template:Symmetry"

From LifeWiki
Jump to navigation Jump to search
(Fix diagonal bilateral category, per Category talk:Patterns with diagonal bilateral symmetry.)
 
(One intermediate revision by one other user not shown)
Line 30: Line 30:


This template should not be used if the pattern has no symmetry of any kind.
This template should not be used if the pattern has no symmetry of any kind.
[[Category:Categorization templates]]
[[Category:Article categorization templates]]
</noinclude>
</noinclude>
<includeonly>
<includeonly>
{{#ifeq:{{NAMESPACE}}|User||
{{#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]]}}
Line 42: Line 46:
{{#ifeq: {{{osc|}}} | turn180 | [[Category:Non-flipping oscillators that turn 180 degrees]]}}
{{#ifeq: {{{osc|}}} | turn180 | [[Category:Non-flipping oscillators that turn 180 degrees]]}}
{{#ifeq: {{{osc|}}} | turn90 | [[Category:Non-flipping oscillators that turn 90 degrees]]}}
{{#ifeq: {{{osc|}}} | turn90 | [[Category:Non-flipping oscillators that turn 90 degrees]]}}
}}
</includeonly>
</includeonly>

Latest revision as of 18:57, 29 December 2020

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.