Predloga:Infopolje Element/crystal structure
Uporaba
[uredi kodo]In {{Infopolje 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 {Infopolje Element}:
{{Infopolje Element/crystal structure|{{{crystal structure|}}}}}
⊟ diamantna kubična- and
{{Infopolje 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 {Infopolje Element}).
Zgledi
[uredi kodo]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
[uredi kodo]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 Kategorija:Predloga za infopolja elementov, ki potrebujejo pozornost under Δ.