Template:UnitCell: Difference between revisions

From LifeWiki
Jump to navigation Jump to search
Remove user pages from categories
removed unit cell categories per tiki bar
Line 25: Line 25:
<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".
Display population and bounding box.


-->{{PatternPopulationAndBoundingBox
-->{{PatternPopulationAndBoundingBox
Line 31: Line 31:
|bx      = {{{bx|}}}
|bx      = {{{bx|}}}
|by      = {{{by|}}}
|by      = {{{by|}}}
|catextra = Unit cells
}}<!--
}}<!--


Line 42: Line 41:
<tr>
<tr>
<th> [[Period#Oscillators|Period]] </th>
<th> [[Period#Oscillators|Period]] </th>
<td> {{#if: {{{p|}}} | [[:Category:Unit cells with period {{{p}}}|{{{p}}}]] | Unknown }} </td></tr><!--
<td> {{#if: {{{p|}}} | {{{p}}} | Unknown }} </td></tr><!--


Display an infobox divider
Display an infobox divider
Line 102: Line 101:
[[Category:Patterns]]
[[Category:Patterns]]
[[Category:Unit cells]]
[[Category:Unit cells]]
{{#if: {{{type|}}} | [[Category:{{{type|}}}s]] }}{{#if: {{{p|}}} | [[Category:Unit cells with period {{{p}}}]] }}{{#if: {{{sx|}}}{{{sy|}}} | [[Category:Unit cells with cell size {{{sx}}}&times;{{{sy}}}]] }}
}}
}}
</includeonly>
</includeonly>

Revision as of 00:21, 11 May 2021

Unit Cell Name
image
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