Template:Infobox element/crystal structure/doc

From blackwiki
< Template:Infobox element‎ | crystal structure
Revision as of 18:43, 25 April 2020 by imported>Vanisaac (→‎See also: clean up per WP:CAT#T and WP:AWBREQ add template:Sandbox other)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

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 60px
triclinic triclinic image:Triclinic.svg 60px
base centered monoclinic en-US:  base-centered monoclinic
en-GB:  base-centred monoclinic
en-OED: base-centred monoclinic
image:Monoclinic-base-centered.svg 60px
monoclinic base centered en-US:  base-centered monoclinic
en-GB:  base-centred monoclinic
en-OED: base-centred monoclinic
image:Monoclinic-base-centered.svg 60px
simple monoclinic simple monoclinic image:Monoclinic.svg 60px
monoclinic monoclinic image:Monoclinic.svg 60px
simple orthorhombic simple orthorhombic image:Orthorhombic.svg 60px
orthorhombic orthorhombic image:Orthorhombic.svg 60px
tetragonal tetragonal image:Tetragonal.svg 60px
body centered tetragonal en-US:  body-centered tetragonal
en-GB:  body-centred tetragonal
en-OED: body-centred tetragonal
image:Tetragonal-body-centered.svg 60px
simple trigonal trigonal image:Rhombohedral.svg 60px
trigonal trigonal image:Rhombohedral.svg 60px
rhombohedral rhombohedral image:Rhombohedral.svg 60px
simple hexagonal simple hexagonal image:Hexagonal.svg 60px
hexagonal hexagonal image:Hexagonal.svg 60px
hcp hexagonal close-packed (hcp) image:Hexagonal close packed.svg 60px
hexagonal close packed hexagonal close-packed (hcp) image:Hexagonal close packed.svg 60px
dhcp double hexagonal close-packed (dhcp) image:Hexagonal.svg 60px
double hexagonal close packed double hexagonal close-packed (dhcp) image:Hexagonal.svg 60px
simple cubic primitive cubic image:Lattic simple cubic.svg 60px
primitive cubic primitive cubic image:Lattic simple cubic.svg 60px
cubic cubic image:Cubic.svg 60px
bcc en-US:  body-centered cubic (bcc)
en-GB:  body-centred cubic (bcc)
en-OED: body-centred cubic (bcc)
image:Cubic-body-centered.svg 60px
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 60px
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 60px
fcc en-US:  face-centered cubic (fcc)
en-GB:  face-centred cubic (fcc)
en-OED: face-centred cubic (fcc)
image:Cubic-face-centered.svg 60px
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 60px
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 60px
diamond face-centered diamond-cubic image:Diamond cubic crystal structure.svg 60px
diamond cubic face-centered diamond-cubic image:Diamond cubic crystal structure.svg 60px

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