Template:Infobox element/crystal structure
Usage
changeIn {{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
changeThese 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.
Unknown input
changeOnly 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 Δ.