Template:PatternPopulationAndBoundingBox: Difference between revisions
Jump to navigation
Jump to search
Remove user patterns from categories |
Periodic objects with more than 1000 cells put in that category |
||
| Line 5: | Line 5: | ||
-->{{#if: {{{c|}}} | <tr> | -->{{#if: {{{c|}}} | <tr> | ||
<th> Number of [[cell]]s </th> | <th> Number of [[cell]]s </th> | ||
<td> {{#if: {{{c|}}} | {{#iferror: {{#expr: floor({{{c}}})}} | {{{c}}} | {{#ifexpr: {{{c|}}} >= 1000 | [[:Category:Patterns with 1000 or more cells|{{{c}}}]] | [[:Category:Patterns with {{{c}}} cells|{{{c}}}]] }} }} | Unknown }} </td></tr> | <td> {{#if: {{{c|}}} | {{#iferror: {{#expr: floor({{{c}}})}} | {{{c}}} | {{#ifexpr: {{{c|}}} >= 1000 | [[:Category:Patterns with 1000 or more cells|{{{c}}}]] | ||
{{#if: {{{periodic|}}} | [[Category:Periodic objects with minimum population 1000 or more]] }} | [[:Category:Patterns with {{{c}}} cells|{{{c}}}]] }} }} | Unknown }} </td></tr> | |||
}}<!-- | }}<!-- | ||
Revision as of 17:14, 27 April 2019
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.