Template:UnitCell: Difference between revisions
Jump to navigation
Jump to search
Apple Bottom (talk | contribs) mNo edit summary |
Apple Bottom (talk | contribs) Use Template:PatternPopulationAndBoundingBox; group "generic" parameters at top of infobox |
||
| Line 14: | Line 14: | ||
<tr> | <tr> | ||
<th> Pattern type </th> | <th> Pattern type </th> | ||
<td> {{#if: {{{type|}}} | [[{{{type|}}}]]<br /> }}[[Unit cell]] </td></tr> | <td> {{#if: {{{type|}}} | [[{{{type|}}}]]<br /> }}[[Unit cell]] </td></tr><!-- | ||
Display population and bounding box. Passing catextra= ensures we also get unit cell-specific categories, e.g. "Unit cells with ... cells". | |||
-->{{PatternPopulationAndBoundingBox | |||
|c = {{{c|}}} | |||
|bx = {{{bx|}}} | |||
|by = {{{by|}}} | |||
|catextra = Unit cells | |||
}}<!-- | |||
Display an infobox divider | |||
-->{{InfoboxDivider}} | |||
<tr> | <tr> | ||
<th> Cell size </th> | <th> Cell size </th> | ||
| Line 83: | Line 90: | ||
[[Category:Patterns]] | [[Category:Patterns]] | ||
[[Category:Unit cells]] | [[Category:Unit cells]] | ||
{{#if: {{{type|}}} | [[Category:{{{type|}}}s]] | {{#if: {{{type|}}} | [[Category:{{{type|}}}s]] }}{{#if: {{{p|}}} | [[Category:Unit cells with period {{{p}}}]] }}{{#if: {{{sx|}}}{{{sy|}}} | [[Category:Unit cells with cell size {{{sx}}}×{{{sy}}}]] }} | ||
</includeonly> | </includeonly> | ||
Revision as of 20:50, 18 February 2018
| Unit Cell Name | ||
| ||
| Pattern type | Unit cell | |
|---|---|---|
| Cell size | Unknown | |
| Period | Unknown | |
| Discovered by | Unknown | |
| Year of discovery | Unknown | |
This is an infobox template for unit cells. An example can be seen to the right. For general information about how to use pattern templates, see LifeWiki:Pattern pages. To see a live example of this template in action, see OTCA metapixel.
Special parameters
The following parameter should be specified:
- p: the period of the unit cell.
- sx, sy: the size of the unit cell (not its bounding box).
Pattern templates
- Template:Agar
- Template:Conduit
- Template:Crawler
- Template:Fuse
- Template:GrowingSpaceship
- Template:Gun
- Template:Methuselah
- Template:MovingBreeder
- Template:Oscillator
- Template:OscillatorComponent
- Template:Pattern
- Template:Puffer
- Template:Reflector
- Template:Rotor
- Template:Sawtooth
- Template:Spaceship
- Template:StillLifeComponent
- Template:Stilllife
- Template:UnitCell
- Template:Wave
- Template:Wick
- Template:Wickstretcher
