سانچہ:Periodic table legend/دستاویز

آزاد دائرۃ المعارف، ویکیپیڈیا سے

This template is a wrapper for a number of legends, each called a theme, used in periodic tables. Examples of themes are: category, block, state of matter. Each theme can have individual settings for that theme, for example to show "predicted" or "unknown".

استعمال[ترمیم]

The wrapper itself can have settings:

{{Periodic table legend
|child=yes/no (no: stand alone table; default=yes: inside another table, usually the PT table)
|caption= (text to appear as caption for the legend block)
|style= (set style)
...
|}

All parameters looks like:

{{Periodic table legend
|child=
|caption=
|style=

|theme1=
|text1=
|predicted1=
|sa1=
|eka-sa1=
|unknown1=
|border1=

|themeN=
|textN=
|predictedN=
|saN=
|eka-saN=
|unknownN=
|borderN=
<!-- (N = 1, 2, 3, 4) -->
}}

Example[ترمیم]

{{Periodic table legend
|child=no
|caption=Example legend with three themes

|theme1=Category|predicted1=no|sa1=yes|eka-sa1=no|unknown1=yes
|theme2=State of matter|predicted2=no|sa2=yes|eka-sa2=no|unknown2=yes
|theme3=Occurrence|predicted3=no|sa3=yes|eka-sa3=no|unknown3=yes|border3=13
}}
Example legend with three themes
Background color shows subcategory in the metal–metalloid–nonmetal trend:
دھات Metalloid Nonmetal Unknown
chemical
properties
Alkali metal Alkaline earth metal Super­actinide Lan­thanide اکٹینائڈ Transition metal Post-​transition metal Polyatomic nonmetal Diatomic nonmetal نبیل فارغہ
سیاہ=ٹھوس سبز=مائع سرخ=گیس سرمئی=نامعلوم ایٹمی نمبر کا رنگ مادے کی حالت کو ظاہر کرتا ہے ( 0 °C اور 1 atm)
Primordial From decay Synthetic Undiscovered Border shows natural occurrence of the element

Themes[ترمیم]

The following themes are recognised (note: the caption links are added here for ease)

Category[ترمیم]

|theme1=Category
|unknown1=yes
|predicted1=yes
|sa1=yes
|eka-sa1=yes
|text1=This is the legend theme "Category".
Background color shows subcategory in the metal–metalloid–nonmetal trend:
دھات Metalloid Nonmetal Unknown
chemical
properties
Alkali metal Alkaline earth metal Super­actinide Eka-​super­actinide Lan­thanide اکٹینائڈ Transition metal Post-​transition metal Polyatomic nonmetal Diatomic nonmetal نبیل فارغہ
predicted predicted predicted predicted     predicted predicted predicted predicted predicted predicted

Category compact[ترمیم]

|theme1=Category compact
|unknown1=yes
|predicted1=yes
|sa1=yes
|eka-sa1=yes

سانچہ:Periodic table legend/Category compact

State of matter[ترمیم]

|theme1=State of matter
|predicted1=yes
|unknown1=yes
سیاہ=ٹھوس سبز=مائع سرخ=گیس سرمئی=نامعلوم ایٹمی نمبر کا رنگ مادے کی حالت کو ظاہر کرتا ہے ( 0 °C اور 1 atm)

Occurrence[ترمیم]

|theme1=Occurrence
|unknown1=yes
Primordial From decay Synthetic Undiscovered Border shows natural occurrence of the element

Valence[ترمیم]

|theme1=Valence
|unknown1=yes

سانچہ:Periodic table legend/Valence

Metal–nonmetal[ترمیم]

|theme1=Metal–nonmetal
|unknown1=yes

سانچہ:Periodic table legend/Metal–nonmetal

Block[ترمیم]

|theme1=Block
|predicted1=yes
|unknown1=yes

سانچہ:Periodic table legend/Block

Age of discovery[ترمیم]

|theme1=Age of discovery

سانچہ:Periodic table legend/Age of discovery

Goldschmidt[ترمیم]

|theme1=Goldschmidt

سانچہ:Periodic table legend/Goldschmidt

Janet left step[ترمیم]

|caption=Janet category compact
|theme1=Janet category compact

سانچہ:Periodic table legend/Janet category compact

مثال مضامین[ترمیم]

Theme description text options[ترمیم]

  • It is possible to override or suppress the theme description using |text1=:
|text1=My personal text → description as entered
|text1= (blank) → no description at all
| (omitted) → default description ("category metal–nonmetal ragne")

تکنیکی[ترمیم]

improvements to ponder
  • Check (remove) repeated %-fonts (may be too small in the end - recently introduced?)
  • Subpages are spelled using ..., so we can have /Category and /Category/sandbox.
  • Always allow /sandbox systematically (change spellings?)
  • /sandbox has link to source template; live one too by option
  • Warn for "predicted"= unnumebred too

مزید دیکھیے[ترمیم]

سانچہ:Periodic table templates