Template:Infobox element/crystal structure/doc

From indicwiki
< Template:Infobox element‎ | crystal structure
Revision as of 10:41, 23 May 2022 by Sarika (talk | contribs) (Created page with "{{Documentation subpage}} <!-- Categories and interwikis go at the bottom of this page. --> == Usage == In {{tl|Infobox element}}, internally. The value from {{para|crystal st...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

Jump to navigation Jump to search

Usage[edit source]

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|}}}}} → Template:Engvar
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[edit source]

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:  Template:Engvar
en-GB:  Template:Engvar
en-OED: Template:Engvar
image:Monoclinic-base-centered.svg 60px
monoclinic base centered en-US:  Template:Engvar
en-GB:  Template:Engvar
en-OED: Template:Engvar
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:  Template:Engvar
en-GB:  Template:Engvar
en-OED: Template:Engvar
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:  Template:Engvar (bcc)
en-GB:  Template:Engvar (bcc)
en-OED: Template:Engvar (bcc)
image:Cubic-body-centered.svg 60px
body centered cubic en-US:  Template:Engvar (bcc)
en-GB:  Template:Engvar (bcc)
en-OED: Template:Engvar (bcc)
image:Cubic-body-centered.svg 60px
cubic body centered en-US:  Template:Engvar (bcc)
en-GB:  Template:Engvar (bcc)
en-OED: Template:Engvar (bcc)
image:Cubic-body-centered.svg 60px
fcc en-US:  Template:Engvar (fcc)
en-GB:  Template:Engvar (fcc)
en-OED: Template:Engvar (fcc)
image:Cubic-face-centered.svg 60px
cubic face centered en-US:  Template:Engvar (fcc)
en-GB:  Template:Engvar (fcc)
en-OED: Template:Engvar (fcc)
image:Cubic-face-centered.svg 60px
face centered cubic en-US:  Template:Engvar (fcc)
en-GB:  Template:Engvar (fcc)
en-OED: Template:Engvar (fcc)
image:Cubic-face-centered.svg 60px
diamond Template:Engvar image:Diamond cubic crystal structure.svg 60px
diamond cubic Template:Engvar image:Diamond cubic crystal structure.svg 60px
facecentered orthorhombic face-centered orthorhombic image:Orthorhombic-face-centered.svg 60px

Unknown input[edit source]

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[edit source]

Template:Crystal systems