Template:Periodic table legend and Template:Periodic table legend/sandbox: Difference between pages
Appearance
(Difference between pages)
Content deleted Content added
Fix too small font per MOS:FONTSIZE. Fonts may not go below 85% of nominal, and this template is often used inside templates where the font size is already set to 85%. |
←Replaced content with 'x' Tag: Replaced |
||
Line 1: | Line 1: | ||
x |
|||
<includeonly> |
|||
<div role="presentation" id="periodic-table-legend" style="border: 1px solid #a2a9b1; width:100%; line-height:120%; text-align:center; vertical-align:top; background:{{element color|table5}}; margin:{{yesno|{{{child|yes}}}|yes=0|no=0.5em 0 0 0}}; {{{style|}}}"><!-- |
|||
If not explicitly not a child, add a div with a navbar. |
|||
-->{{yesno|{{{child|yes}}}|yes=|no= |
|||
<div style="font-size:112%;/* back to 100% */margin:2px;">{{navbar-header| '''{{{caption|Legend for the [[Periodic table|periodic table]]}}}''' | Template:Periodic table legend }}</div>}}<!-- |
|||
Erroneous (unnumbered) parameters: |
|||
-->{{#if:{{{text|}}}{{{theme|}}}{{{unknown|}}}|<br />{{error|Error using {{tl|Periodic table legend}}: use numbered parameters: {{para|theme''1''}}, {{para|unknown''1''}}|tag=span}}}}<!-- |
|||
Invoke sub-components: |
|||
--><div style="{{yesno|{{{child|yes}}}|yes=|no=border-top: 1px solid #a2a9b1;}}padding:0.3em;"> |
|||
{{Periodic table legend/{{ucfirst:{{{theme1|error}}}}}|theme={{{theme1|}}}|text={{#ifeq:{{{text1|¬}}}|¬|%omitted%|{{#ifeq:{{{text1|}}}||%blank%|{{{text1|<!--impossible-->}}}}}}}|unknown={{{unknown1|}}}|predicted={{{predicted1|}}}|sa={{{sa1|}}}|eka-sa={{{eka-sa1|}}}|border={{{border1|}}}}} |
|||
</div><!-- |
|||
-->{{#if:{{{theme2|}}}|<div style="border-top: 1px solid #a2a9b1;padding:0.3em;"> |
|||
{{Periodic table legend/{{ucfirst:{{{theme2|error}}}}}|theme={{{theme2|}}}|text={{#ifeq:{{{text2|¬}}}|¬|%omitted%|{{#ifeq:{{{text2|}}}||%blank%|{{{text2|<!--impossible-->}}}}}}}|unknown={{{unknown2|}}}|predicted={{{predicted2|}}}|sa={{{sa2|}}}|eka-sa={{{eka-sa2|}}}|border={{{border2|}}}}} </div>}}<!-- |
|||
-->{{#if:{{{theme3|}}}|<div style="border-top: 1px solid #a2a9b1;padding:0.3em;"> |
|||
{{Periodic table legend/{{ucfirst:{{{theme3|error}}}}}|theme={{{theme3|}}}|text={{#ifeq:{{{text3|¬}}}|¬|%omitted%|{{#ifeq:{{{text3|}}}||%blank%|{{{text3|<!--impossible-->}}}}}}}|unknown={{{unknown3|}}}|predicted={{{predicted3|}}}|sa={{{sa3|}}}|eka-sa={{{eka-sa3|}}}|border={{{border3|}}}}} </div>}}<!-- |
|||
-->{{#if:{{{theme4|}}}|<div style="border-top: 1px solid #a2a9b1;padding:0.3em;"> |
|||
{{Periodic table legend/{{ucfirst:{{{theme4|error}}}}}|theme={{{theme4|}}}|text={{#ifeq:{{{text4|¬}}}|¬|%omitted%|{{#ifeq:{{{text4|}}}||%blank%|{{{text4|<!--impossible-->}}}}}}}|unknown={{{unknown4|}}}|predicted={{{predicted4|}}}|sa={{{sa4|}}}|eka-sa={{{eka-sa4|}}}|border={{{border4|}}}}} </div>}} |
|||
</div></includeonly><!-- |
|||
--><noinclude>{{documentation}}</noinclude> |