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) |
Usage
In {{Infobox element}}, internally. Values from |crystal structure=
and |crystal structure 2=
are fed into this template, and returned is either a wikilink or an image name.
|crystal structure=diamond cubic
{{Infobox element/crystal structure|{{{crystal structure|}}}}}
→ face-centered diamond-cubic{{Infobox element/crystal structure|{{{crystal structure|}}}|return=image}}
→ Diamond cubic crystal structure.svg
Examples
No input
- Default returns
- Template:Infobox element/crystal structure wikilink/example Example element: hassium
- Template:Infobox element/crystal structure wikilink/example
- Template:Infobox element/crystal structure wikilink/example
- set default return text:
{{Infobox element/crystal structure wikilink|xyz crystal|default=(input not recognised)}}
→ Template:Infobox element/crystal structure wikilink