Template:PatternPopulationAndBoundingBox: Difference between revisions
Jump to navigation
Jump to search
m Link to frequency class category |
Remove user patterns from categories |
||
| Line 24: | Line 24: | ||
Categories | Categories | ||
-->{{#if: {{{c|}}} | {{#iferror: {{#expr: floor({{{c}}})}} | | {{#ifexpr: {{{c|}}} >= 1000 | [[Category:Patterns with 1000 or more cells]] {{#if: {{{catextra|}}} | [[Category:{{{catextra|}}} with 1000 or more cells]] }} | {{#if: {{{catextra|}}} | [[Category:{{{catextra|}}} with {{{c}}} cells]] }} [[Category:Patterns with {{{c}}} cells]] }} }} }}<!-- | -->{{#ifeq:{{NAMESPACE}}|User|| | ||
{{#if: {{{c|}}} | {{#iferror: {{#expr: floor({{{c}}})}} | | {{#ifexpr: {{{c|}}} >= 1000 | [[Category:Patterns with 1000 or more cells]] {{#if: {{{catextra|}}} | [[Category:{{{catextra|}}} with 1000 or more cells]] }} | {{#if: {{{catextra|}}} | [[Category:{{{catextra|}}} with {{{c}}} cells]] }} [[Category:Patterns with {{{c}}} cells]] }} }} }} | |||
}}<!-- | |||
Documentation | Documentation | ||
Revision as of 01:15, 10 December 2018
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.