Template:PatternPopulationAndBoundingBox: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
No edit summary |
||
| Line 25: | Line 25: | ||
-->{{#ifeq:{{NAMESPACE}}|User|| | -->{{#ifeq:{{NAMESPACE}}|User|| | ||
{{#if: {{{c|}}} | {{#iferror: {{#expr: floor({{{c}}})}} | | {{# | {{#if: {{{c|}}} | {{#iferror: {{#expr: floor({{{c}}})}} | | {{#if: {{{catextra|}}} | [[Category:{{{catextra|}}} with {{CellsCategoryName|{{{c}}}}} cells]] }} {{#if: {{{periodic|}}} | [[Category:Periodic objects with minimum population {{CellsCategoryName|{{{c}}}}}]] }} [[Category:Patterns with {{CellsCategoryName|{{{c}}}}} cells]] }} | {{#if:{{NAMESPACE}}||[[Category:Patterns with unknown population]]}} }} | ||
{{#if: {{{bx|}}}{{{by|}}} | | {{#if:{{NAMESPACE}}||[[Category:Patterns with unknown bounding box]]}} }} | {{#if: {{{bx|}}}{{{by|}}} | | {{#if:{{NAMESPACE}}||[[Category:Patterns with unknown bounding box]]}} }} | ||
}}<!-- | }}<!-- | ||
Revision as of 23:01, 10 May 2021
This template displays the population and bounding box in the infobox on the right hand side of pattern pages. It should not be used on its own, but only within other pattern infobox templates such as Template:Pattern and Template:Oscillator. All of its parameters are passed in from the corresponding parameters of the template that calls it.