Template:Infobox element/symbol-to-block
Jump to navigation
Jump to search
data-sort-value="9999" |#ddd
Usage[edit source]
{{Infobox element/symbol-to-block|symbol=}}
- default: returns plain text: Template:Mono
Formatting options[edit source]
|format=letter
- Returns bare letter: s, p, d, f, or g: Hg → data-sort-value="3080" |#99ccff
|format=wl
- Returns wikilink, like
[[Block (periodic table)#s-block|s-block]]
- Returns wikilink, like
|format=wlfirst
- Returns wikilink when first mentioned in Z-order (= H, B, Sc, La, Ubu → s, p, d, f, g)
|format=bgcolor
(tablecell)
- Returns background color for block, used in tablecell
{{Infobox element/symbol-to-block|symbol=Hg |format=bgcolor }}
→ data-sort-value="3080" |#99ccff
|format=ptsort, pipe
(in tablecell)
- Adds a hidden sort-key to order: 1. by block s<p<d<f<g, 2. per block: by Z.
{{Infobox element/symbol-to-block|symbol=Hg |format=ptsort, pipe}}
→data-sort-value="3080" | d-block
- Applied in Template:Slink below.
Format parameters can be combined using comma's:
|format=letter, wl
- for Hg: → data-sort-value="3080" |#99ccff
settings[edit source]
>= E121: | Ubu | Ubb | Ubt | Ubq | Ubp | Ubh = g-block
- Background colors returned
{{Element color}} (definition) → Template:Tlf (following)
- Template:Element color/example = Template:Mono
- Template:Element color/example = Template:Mono
- Template:Element color/example = Template:Mono
- Template:Element color/example = Template:Mono
- Template:Element color/example = Template:Mono
- Template:Element color/example = Template:Mono not implemented
- Template:Element color/example = Template:Mono not implemented