Template:Infobox element/crystal structure/doc
Appearance
![]() | This is a documentation subpage for Template:Infobox element/crystal structure. It may contain usage information, categories and other content that is not part of the original template page. |
![]() | This template page or section is in a state of significant expansion or restructuring. You are welcome to assist in its construction by editing it as well. If this template page has not been edited in several days, please remove this template. If you are the editor who added this template and you are actively editing, please be sure to replace this template with {{in use}} during the active editing session. Click on the link for template parameters to use.
This template was last edited by DePiep (talk | contribs) 10 years ago. (Update timer) |
Contributor note: Please discuss edits first at WT:ELEMENTS. |
Usage
In {{Infobox element}}, internally. The values 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).{{Infobox element/crystal structure|{{{crystal structure|}}}}}
→ face-centered diamond-cubic{{Infobox element/crystal structure|{{{crystal structure|}}}|return=image}}
→- Diamond cubic crystal structure.svg
- Parameter
|crystal structure 2=
is treated 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).
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 Δ.