Difference between revisions of "Template:Element cell/period"
Jump to navigation
Jump to search
imported>DePiep |
imported>DePiep |
||
| Line 1: | Line 1: | ||
<span class="nounderlines" style="font-size:150%;"><!-- | <span class="nounderlines" style="font-size:150%;"><!-- | ||
-->{{#switch:{{{format|}}} | -->{{#switch:{{{format|}}} | ||
| − | |#default={{#switch:{{{period|0}}} | + | |#default={{#switch:{{{1|{{{period|0}}}}}} |
||0=[[Period (periodic table)|Period]] | ||0=[[Period (periodic table)|Period]] | ||
|#default=[[Period (periodic table)|{{{period|0}}}]] | |#default=[[Period (periodic table)|{{{period|0}}}]] | ||
| Line 15: | Line 15: | ||
}}<!-- | }}<!-- | ||
---> | ---> | ||
| − | |nolink={{#switch:{{{period|0}}} | + | |nolink={{#switch:{{{1|{{{period|0}}}}}} |
||0=Period | ||0=Period | ||
|1=① | |1=① | ||
Revision as of 22:39, 5 July 2019
- A {{Periodic table/period|1}} → Template:Periodic table/period
- B {{Periodic table/period|period=1}} → Template:Periodic table/period
- C {{Periodic table/period|period=1|format=nolink}} → Template:Periodic table/period
|font-size=, for example|font-size=200%. Default = 150%. Note that Tthe table may have set "font-size:85%" (so nested: 85% * 200% = 170% effective).
| Group | 1 |
|---|---|
| Template:Periodic table/period | [[hydrogen |]] |
| Template:Periodic table/period | [[lithium |]] |
| Template:Periodic table/period | [[sodium |]] |
| ④ | [[potassium |]] |
| Template:Periodic table/period |
|---|
| Template:Periodic table/period |
Usage
Assumed table font-size:90%
{{Element cell/period
|
}}
Or: use |period=period to return a link to Period (periodic table)
Test
Template:Periodic table/period/doc
| The above documentation is transcluded from Template:Element cell/period/doc. (edit | history) Editors can experiment in this template's sandbox (create | mirror) and testcases (create) pages. Please add categories to the /doc subpage. Subpages of this template. |