Template:Infobox element/crystal structure/doc
This is a documentation subpage for Template:Infobox element/crystal structure. It contains usage information, categories and other content that is not part of the original template page. |
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.
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 Δ.