Difference between revisions of "Template:PatternPopulationAndBoundingBox"
Jump to navigation
Jump to search
Apple Bottom (talk | contribs) (Created page with "<includeonly><!-- Display population --><tr> <th> Number of cells </th> <td> {{#if: {{{c|}}} | {{#iferror: {{#expr: floor({{{c}}})}} | {{{c}}} | {{#ifexpr: {{{c|}}} >= 1...") |
Apple Bottom (talk | contribs) |
||
Line 1: | Line 1: | ||
<includeonly><!-- | <includeonly><!-- | ||
Display population | Display population, if known/specified | ||
--><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}}}]] | [[:Category:Patterns with {{{c}}} cells|{{{c}}}]] }} }} | Unknown }} </td></tr> | ||
}}<!-- | |||
Display bounding box, if known | Display bounding box, if known |
Revision as of 20:29, 18 February 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.