Template:Infobox element/crystal structure/doc

< Template:Infobox element‎ | crystal structure

Usage

In {{Infobox element}}, internally. The value from |crystal structure= is fed into this template, and returned is either a wikilink or an image name.

|crystal structure=diamond cubic (as entered in an element infobox).
Then, in {Infobox element}:
{{Infobox element/crystal structure|{{{crystal structure|}}}}}face-centered diamond-cubic
and
{{Infobox element/crystal structure|{{{crystal structure|}}}|return=image}}
Diamond cubic crystal structure.svg
Then used in [[image:...]]

Parameter |crystal structure 2= is used alike.

Any nowrap or NBSP is within this template (not in {Infobox element}).

Examples

These are most of the recognized input options. Input is case-insensistive A=a, and hyphen and spaces can be used at will: face-centered=face centered). |engvar= can be en-US (default), en-GB, en-OED; spelling of "centered/centred" is affected.

input labeled wikilink img name image note
simple triclinic simple triclinic image:Triclinic.svg Triclinic.svg
triclinic triclinic image:Triclinic.svg Triclinic.svg
base centered monoclinic en-US:  base-centered monoclinic
en-GB:  base-centred monoclinic
en-OED: base-centred monoclinic
image:Monoclinic-base-centered.svg Base-centered monoclinic.svg
monoclinic base centered en-US:  base-centered monoclinic
en-GB:  base-centred monoclinic
en-OED: base-centred monoclinic
image:Monoclinic-base-centered.svg Base-centered monoclinic.svg
simple monoclinic simple monoclinic image:Monoclinic.svg Monoclinic.svg
monoclinic monoclinic image:Monoclinic.svg Monoclinic.svg
simple orthorhombic simple orthorhombic image:Orthorhombic.svg Orthorhombic.svg
orthorhombic orthorhombic image:Orthorhombic.svg Orthorhombic.svg
tetragonal tetragonal image:Tetragonal.svg Tetragonal.svg
body centered tetragonal en-US:  body-centered tetragonal
en-GB:  body-centred tetragonal
en-OED: body-centred tetragonal
image:Tetragonal-body-centered.svg Body-centered tetragonal.svg
simple trigonal trigonal image:Rhombohedral.svg Rhombohedral.svg
trigonal trigonal image:Rhombohedral.svg Rhombohedral.svg
rhombohedral rhombohedral image:Rhombohedral.svg Rhombohedral.svg
simple hexagonal simple hexagonal image:Hexagonal.svg Hexagonal.svg
hexagonal hexagonal image:Hexagonal.svg Hexagonal.svg
hcp hexagonal close-packed (hcp) image:Hexagonal close packed.svg Hexagonal close packed.svg
hexagonal close packed hexagonal close-packed (hcp) image:Hexagonal close packed.svg Hexagonal close packed.svg
dhcp double hexagonal close-packed (dhcp) image:Hexagonal.svg Hexagonal.svg
double hexagonal close packed double hexagonal close-packed (dhcp) image:Hexagonal.svg Hexagonal.svg
simple cubic primitive cubic image:Lattic simple cubic.svg Lattic simple cubic.svg
primitive cubic primitive cubic image:Lattic simple cubic.svg Lattic simple cubic.svg
cubic cubic image:Cubic.svg Cubic.svg
bcc en-US:  body-centered cubic (bcc)
en-GB:  body-centred cubic (bcc)
en-OED: body-centred cubic (bcc)
image:Cubic-body-centered.svg Cubic-body-centered.svg
body centered cubic en-US:  body-centered cubic (bcc)
en-GB:  body-centred cubic (bcc)
en-OED: body-centred cubic (bcc)
image:Cubic-body-centered.svg Cubic-body-centered.svg
cubic body centered en-US:  body-centered cubic (bcc)
en-GB:  body-centred cubic (bcc)
en-OED: body-centred cubic (bcc)
image:Cubic-body-centered.svg Cubic-body-centered.svg
fcc en-US:  face-centered cubic (fcc)
en-GB:  face-centred cubic (fcc)
en-OED: face-centred cubic (fcc)
image:Cubic-face-centered.svg Cubic-face-centered.svg
cubic face centered en-US:  face-centered cubic (fcc)
en-GB:  face-centred cubic (fcc)
en-OED: face-centred cubic (fcc)
image:Cubic-face-centered.svg Cubic-face-centered.svg
face centered cubic en-US:  face-centered cubic (fcc)
en-GB:  face-centred cubic (fcc)
en-OED: face-centred cubic (fcc)
image:Cubic-face-centered.svg Cubic-face-centered.svg
diamond face-centered diamond-cubic image:Diamond cubic crystal structure.svg Diamond cubic crystal structure.svg
diamond cubic face-centered diamond-cubic image:Diamond cubic crystal structure.svg Diamond cubic crystal structure.svg

Unknown input

Only use existing crystal structure names and inages. When it does not exist, do not add the parameter |crystal structure=. (use |crystal structure prefix= and |crystal structure comment= in the element's infobox).

Infoboxes with unrecognised input are listed in Category:Element infobox templates that need attention under Δ.

See also

Template:Crystal systems