Jump to content

Template:Infobox element/symbol-to-metal-moid-nonmetal

From Elite Dangerous Wiki
Template documentation follows
Note: the template above may sometimes be partially or fully invisible.
Visit "Template:Infobox element/symbol-to-metal-moid-nonmetal/doc" to edit its documentation if it is available. (How does this work?)


Usage

  • |symbol=He

Overview for the elements

Z Symbol Name Shy-
phen
AQ QID P487 enwiki:zh
[[E]] [[E]] [[E]] [[E]]
1 H hydrogen hydro­gen FA d:Q556 {{#statements:P487|from=Q556}} 氫 from=Q556}}
2 He helium he­lium B d:Q560 {{#statements:P487|from=Q560}} 氦 from=Q560}}
3 Li lithium lith­ium B d:Q568 {{#statements:P487|from=Q568}} 鋰 from=Q568}}
4 Be beryllium beryl­lium GA d:Q569 {{#statements:P487|from=Q569}} 鈹 from=Q569}}
5 B boron boron GA d:Q618 {{#statements:P487|from=Q618}} 硼 from=Q618}}
6 C carbon carbon GA d:Q623 {{#statements:P487|from=Q623}} 碳 from=Q623}}
7 N nitrogen nitro­gen GA d:Q627 {{#statements:P487|from=Q627}} 氮 from=Q627}}
8 O oxygen oxy­gen FA d:Q629 {{#statements:P487|from=Q629}} 氧 from=Q629}}
9 F fluorine fluor­ine FA d:Q650 {{#statements:P487|from=Q650}} 氟 from=Q650}}
10 Ne neon neon B d:Q654 {{#statements:P487|from=Q654}} 氖 from=Q654}}
11 Na sodium so­dium GA d:Q658 {{#statements:P487|from=Q658}} 鈉 from=Q658}}
12 Mg magnesium magne­sium B d:Q660 {{#statements:P487|from=Q660}} 鎂 from=Q660}}
13 Al aluminium alumin­ium GA d:Q663 {{#statements:P487|from=Q663}} 鋁 from=Q663}}
14 Si silicon sili­con GA d:Q670 {{#statements:P487|from=Q670}} 矽 from=Q670}}
15 P phosphorus phos­phorus B d:Q674 {{#statements:P487|from=Q674}} 磷 from=Q674}}
16 S sulfur sulfur B d:Q682 {{#statements:P487|from=Q682}} 硫 from=Q682}}
17 Cl chlorine chlor­ine GA d:Q688 {{#statements:P487|from=Q688}} 氯 from=Q688}}
18 Ar argon argon B d:Q696 {{#statements:P487|from=Q696}} 氬 from=Q696}}
19 K potassium potas­sium GA d:Q703 {{#statements:P487|from=Q703}} 鉀 from=Q703}}
20 Ca calcium cal­cium GA d:Q706 {{#statements:P487|from=Q706}} 鈣 from=Q706}}
21 Sc scandium scan­dium GA d:Q713 {{#statements:P487|from=Q713}} 鈧 from=Q713}}
22 Ti titanium tita­nium GA d:Q716 {{#statements:P487|from=Q716}} 鈦 from=Q716}}
23 V vanadium vana­dium GA d:Q722 {{#statements:P487|from=Q722}} 釩 from=Q722}}
24 Cr chromium chrom­ium GA d:Q725 {{#statements:P487|from=Q725}} 鉻 from=Q725}}
25 Mn manganese manga­nese GA d:Q731 {{#statements:P487|from=Q731}} 錳 from=Q731}}
26 Fe iron iron B d:Q677 {{#statements:P487|from=Q677}} 鐵 from=Q677}}
27 Co cobalt cobalt GA d:Q740 {{#statements:P487|from=Q740}} 鈷 from=Q740}}
28 Ni nickel nickel GA d:Q744 {{#statements:P487|from=Q744}} 鎳 from=Q744}}
29 Cu copper copper GA d:Q753 {{#statements:P487|from=Q753}} 銅 from=Q753}}
30 Zn zinc zinc FA d:Q758 {{#statements:P487|from=Q758}} 鋅 from=Q758}}
31 Ga gallium gallium GA d:Q861 {{#statements:P487|from=Q861}} 鎵 from=Q861}}
32 Ge germanium germa­nium FA d:Q867 {{#statements:P487|from=Q867}} 鍺 from=Q867}}
33 As arsenic arsenic B d:Q871 {{#statements:P487|from=Q871}} 砷 from=Q871}}
34 Se selenium sele­nium GA d:Q876 {{#statements:P487|from=Q876}} 硒 from=Q876}}
35 Br bromine bromine GA d:Q879 {{#statements:P487|from=Q879}} 溴 from=Q879}}
36 Kr krypton kryp­ton GA d:Q888 {{#statements:P487|from=Q888}} 氪 from=Q888}}
37 Rb rubidium rubid­ium GA d:Q895 {{#statements:P487|from=Q895}} 銣 from=Q895}}
38 Sr strontium stront­ium GA d:Q938 {{#statements:P487|from=Q938}} 鍶 from=Q938}}
39 Y yttrium yttrium FA d:Q941 {{#statements:P487|from=Q941}} 釔 from=Q941}}
40 Zr zirconium zirco­nium GA d:Q1038 {{#statements:P487|from=Q1038}} 鋯 from=Q1038}}
41 Nb niobium nio­bium FA d:Q1046 {{#statements:P487|from=Q1046}} 鈮 from=Q1046}}
42 Mo molybdenum molyb­denum GA d:Q1053 {{#statements:P487|from=Q1053}} 鉬 from=Q1053}}
43 Tc technetium tech­netium FA d:Q1054 {{#statements:P487|from=Q1054}} 鎝 from=Q1054}}
44 Ru ruthenium ruthe­nium GA d:Q1086 {{#statements:P487|from=Q1086}} 釕 from=Q1086}}
45 Rh rhodium rho­dium GA d:Q1087 {{#statements:P487|from=Q1087}} 銠 from=Q1087}}
46 Pd palladium pallad­ium B d:Q1089 {{#statements:P487|from=Q1089}} 鈀 from=Q1089}}
47 Ag silver silver GA d:Q1090 {{#statements:P487|from=Q1090}} 銀 from=Q1090}}
48 Cd cadmium cad­mium GA d:Q1091 {{#statements:P487|from=Q1091}} 鎘 from=Q1091}}
49 In indium indium GA d:Q1094 {{#statements:P487|from=Q1094}} 銦 from=Q1094}}
50 Sn tin tin B d:Q1096 {{#statements:P487|from=Q1096}} 錫 from=Q1096}}
51 Sb antimony anti­mony GA d:Q1099 {{#statements:P487|from=Q1099}} 銻 from=Q1099}}
52 Te tellurium tellur­ium GA d:Q1100 {{#statements:P487|from=Q1100}} 碲 from=Q1100}}
53 I iodine iodine GA d:Q1103 {{#statements:P487|from=Q1103}} 碘 from=Q1103}}
54 Xe xenon xenon FA d:Q1106 {{#statements:P487|from=Q1106}} 氙 from=Q1106}}
55 Cs caesium cae­sium FA d:Q1108 {{#statements:P487|from=Q1108}} 銫 from=Q1108}}
56 Ba barium ba­rium GA d:Q1112 {{#statements:P487|from=Q1112}} 鋇 from=Q1112}}
57 La lanthanum lan­thanum GA d:Q1801 {{#statements:P487|from=Q1801}} 鑭 from=Q1801}}
58 Ce cerium cerium B d:Q1385 {{#statements:P487|from=Q1385}} 鈰 from=Q1385}}
59 Pr praseodymium praseo­dymium GA d:Q1386 {{#statements:P487|from=Q1386}} 鐠 from=Q1386}}
60 Nd neodymium neo­dymium B d:Q1388 {{#statements:P487|from=Q1388}} 釹 from=Q1388}}
61 Pm promethium prome­thium GA d:Q1809 {{#statements:P487|from=Q1809}} 鉕 from=Q1809}}
62 Sm samarium sama­rium GA d:Q1819 {{#statements:P487|from=Q1819}} 釤 from=Q1819}}
63 Eu europium europ­ium B d:Q1396 {{#statements:P487|from=Q1396}} 銪 from=Q1396}}
64 Gd gadolinium gadolin­ium B d:Q1832 {{#statements:P487|from=Q1832}} 釓 from=Q1832}}
65 Tb terbium ter­bium GA d:Q1838 {{#statements:P487|from=Q1838}} 鋱 from=Q1838}}
66 Dy dysprosium dyspro­sium GA d:Q1843 {{#statements:P487|from=Q1843}} 鏑 from=Q1843}}
67 Ho holmium hol­mium GA d:Q1846 {{#statements:P487|from=Q1846}} 鈥 from=Q1846}}
68 Er erbium erbium B d:Q1849 {{#statements:P487|from=Q1849}} 鉺 from=Q1849}}
69 Tm thulium thulium GA d:Q1853 {{#statements:P487|from=Q1853}} 銩 from=Q1853}}
70 Yb ytterbium ytter­bium GA d:Q1855 {{#statements:P487|from=Q1855}} 鐿 from=Q1855}}
71 Lu lutetium lute­tium GA d:Q1857 {{#statements:P487|from=Q1857}} 鎦 from=Q1857}}
72 Hf hafnium haf­nium GA d:Q1119 {{#statements:P487|from=Q1119}} 鉿 from=Q1119}}
73 Ta tantalum tanta­lum GA d:Q1123 {{#statements:P487|from=Q1123}} 鉭 from=Q1123}}
74 W tungsten tung­sten GA d:Q743 {{#statements:P487|from=Q743}} 鎢 from=Q743}}
75 Re rhenium rhe­nium GA d:Q737 {{#statements:P487|from=Q737}} 錸 from=Q737}}
76 Os osmium os­mium GA d:Q751 {{#statements:P487|from=Q751}} 鋨 from=Q751}}
77 Ir iridium iridium B d:Q877 {{#statements:P487|from=Q877}} 銥 from=Q877}}
78 Pt platinum plat­inum GA d:Q880 {{#statements:P487|from=Q880}} 鉑 from=Q880}}
79 Au gold gold B d:Q897 {{#statements:P487|from=Q897}} 金 from=Q897}}
80 Hg mercury mer­cury GA d:Q925 {{#statements:P487|from=Q925}} 汞 from=Q925}}
81 Tl thallium thallium GA d:Q932 {{#statements:P487|from=Q932}} 鉈 from=Q932}}
82 Pb lead lead FA d:Q708 {{#statements:P487|from=Q708}} 鉛 from=Q708}}
83 Bi bismuth bis­muth GA d:Q942 {{#statements:P487|from=Q942}} 鉍 from=Q942}}
84 Po polonium polo­nium GA d:Q979 {{#statements:P487|from=Q979}} 釙 from=Q979}}
85 At astatine asta­tine FA d:Q999 {{#statements:P487|from=Q999}} 砈 from=Q999}}
86 Rn radon radon B d:Q1133 {{#statements:P487|from=Q1133}} 氡 from=Q1133}}
87 Fr francium fran­cium FA d:Q671 {{#statements:P487|from=Q671}} 鍅 from=Q671}}
88 Ra radium ra­dium GA d:Q1128 {{#statements:P487|from=Q1128}} 鐳 from=Q1128}}
89 Ac actinium actin­ium GA d:Q1121 {{#statements:P487|from=Q1121}} 錒 from=Q1121}}
90 Th thorium thor­ium FA d:Q1115 {{#statements:P487|from=Q1115}} 釷 from=Q1115}}
91 Pa protactinium protac­tinium GA d:Q1109 {{#statements:P487|from=Q1109}} 鏷 from=Q1109}}
92 U uranium ura­nium B d:Q1098 {{#statements:P487|from=Q1098}} 鈾 from=Q1098}}
93 Np neptunium neptu­nium GA d:Q1105 {{#statements:P487|from=Q1105}} 錼 from=Q1105}}
94 Pu plutonium pluto­nium FA d:Q1102 {{#statements:P487|from=Q1102}} 鈽 from=Q1102}}
95 Am americium ameri­cium GA d:Q1872 {{#statements:P487|from=Q1872}} 鋂 from=Q1872}}
96 Cm curium curium GA d:Q1876 {{#statements:P487|from=Q1876}} 鋦 from=Q1876}}
97 Bk berkelium berkel­ium GA d:Q1882 {{#statements:P487|from=Q1882}} 鉳 from=Q1882}}
98 Cf californium califor­nium FA d:Q1888 {{#statements:P487|from=Q1888}} 鉲 from=Q1888}}
99 Es einsteinium einstei­nium GA d:Q1892 {{#statements:P487|from=Q1892}} 鑀 from=Q1892}}
100 Fm fermium fer­mium GA d:Q1896 {{#statements:P487|from=Q1896}} 鐨 from=Q1896}}
101 Md mendelevium mende­levium GA d:Q1898 {{#statements:P487|from=Q1898}} 鍆 from=Q1898}}
102 No nobelium nobel­ium GA d:Q1901 {{#statements:P487|from=Q1901}} 鍩 from=Q1901}}
103 Lr lawrencium lawren­cium GA d:Q1905 {{#statements:P487|from=Q1905}} 鐒 from=Q1905}}
104 Rf rutherfordium ruther­fordium GA d:Q1226 {{#statements:P487|from=Q1226}} 鑪 from=Q1226}}
105 Db dubnium dub­nium FA d:Q1232 {{#statements:P487|from=Q1232}} 𨧀 from=Q1232}}
106 Sg seaborgium sea­borgium GA d:Q1234 {{#statements:P487|from=Q1234}} 𨭎 from=Q1234}}
107 Bh bohrium bohr­ium GA d:Q1249 {{#statements:P487|from=Q1249}} 𨨏 from=Q1249}}
108 Hs hassium has­sium FA d:Q1252 {{#statements:P487|from=Q1252}} 𨭆 from=Q1252}}
109 Mt meitnerium meit­nerium GA d:Q1258 {{#statements:P487|from=Q1258}} 䥑 from=Q1258}}
110 Ds darmstadtium darm­stadtium GA d:Q1266 {{#statements:P487|from=Q1266}} 鐽 from=Q1266}}
111 Rg roentgenium roent­genium GA d:Q1272 {{#statements:P487|from=Q1272}} 錀 from=Q1272}}
112 Cn copernicium coper­nicium GA d:Q1278 {{#statements:P487|from=Q1278}} 鎶 from=Q1278}}
113 Nh nihonium nihon­ium FA d:Q1301 {{#statements:P487|from=Q1301}} 鉨 from=Q1301}}
114 Fl flerovium flerov­ium GA d:Q1302 {{#statements:P487|from=Q1302}} 鈇 from=Q1302}}
115 Mc moscovium moscov­ium GA d:Q1303 {{#statements:P487|from=Q1303}} 鏌 from=Q1303}}
116 Lv livermorium liver­morium GA d:Q1304 {{#statements:P487|from=Q1304}} 鉝 from=Q1304}}
117 Ts tennessine tenness­ine FA d:Q1306 {{#statements:P487|from=Q1306}} 鿬 from=Q1306}}
118 Og oganesson oga­nesson FA d:Q1307 {{#statements:P487|from=Q1307}} 鿫 from=Q1307}}
119 Uue ununennium unun­ennium GA d:Q1139 {{#statements:P487|from=Q1139}} from=Q1139}}
120 Ubn unbinilium unbi­nilium GA d:Q1146 {{#statements:P487|from=Q1146}} from=Q1146}}
121 Ubu unbiunium unbi­unium GA d:Q1466 {{#statements:P487|from=Q1466}} from=Q1466}}
122 Ubb unbibium unbi­bium GA d:Q7425 {{#statements:P487|from=Q7425}} from=Q7425}}
123 Ubt unbitrium unbi­trium Redirect d:Q428758 {{#statements:P487|from=Q428758}} from=Q428758}}
124 Ubq unbiquadium unbi­quad­ium GA d:Q428741 {{#statements:P487|from=Q428741}} from=Q428741}}
125 Ubp unbipentium unbi­pent­ium Redirect d:Q428685 {{#statements:P487|from=Q428685}} from=Q428685}}
126 Ubh unbihexium unbi­hex­ium GA d:Q54377 {{#statements:P487|from=Q54377}} from=Q54377}}
[[|err]] [[]] d: {{#statements:P487|from=}} from=}}

See also

Template:Infobox element invokes Module:Navbox using Lua.

Usage

This template can be used to make a standard navigation box. It is intended for use within another template that standardises the title and contents of the box (see Template:ShipNavbox). This template SHOULD NOT be used directly within articles, as it creates a maintenance burden to do so whenever the contents of the box have to be updated.

The purpose of this template is to standardise the attributes of all navigation boxes, for example, their colours and other CSS attributes. The template is fairly simple, and could be extended to add other features in the future. Using this template allows changes to be implemented much quicker and easier than editing each template separately.

Syntax

{{navbox
|state      = uncollapsed, collapsed, plain, autocollapse (default)
|name       = mandatory - name of the template
|style      = optional - style for the whole table
|title      = mandatory - navbox header
|gtitleN    = optional - title of N-th group of items
|styleN     = optional - style for groupN; i.e. text-align
|groupN     = mandatory - list of groups of items
|fstyle     = optional - style for footer ; i.e. text-align
|footer     = optional - navbox footer
}}
  • Groups: Currently there is no technical limit to the maximum number of groups.
    • Groups of items can be added as parameters: group1, group2, group3, ... up to groupN.
  • Group title: Each group has its own title parameter: gtitle1, gtitle2, gtitle3, ... up to gtitleN. Note that the default width for the first column is 15%.
  • Group style: Style may also be customised to each group in: style1, style2, style3, ... up to styleN.
    • Note that neither the title nor the items have any wiki-links built into the template. As a result, users of the template are free to use wiki-links as they wish.
  • Line breaks: Line-breaks (<br />) are unnecessary, as text wrapping is done automatically by the template. This also includes links and text in gtitleN and groupN.
  • Bullets: Create unordered lists with lines beginning with *.
  • Pipe links: Because of the nature of template syntax, it may be necessary to use Template:! ({{!}}).

States

  • Autocollapse: By default, the state of a navbox is "autocollapsed". This means that if the number of navboxes in a page exceeds the maximum allocation of the collapsible navboxes, then the remaining navboxes are collapsed automatically. For more information (or to change the setting), see MediaWiki:Common.js.
    • Currently, the autocollapse allocation is 2 (see MediaWiki:Common.js). This means that if there are 3 navboxes in a page, the third and subsequent navboxes will be collapsed automatically.
  • Uncollapsed: Forces the navbox to be displayed.
    • All of the navboxes in this documentation are in the uncollapsed state.
  • Collapsed: The reverse of uncollapsed. Forces the navbox to be hidden instead.
    • Navboxes with a height of more than 300 pixels will also be collapsed automatically. For more information (or to change the setting), see MediaWiki:Common.js.
  • Plain: Removes the "show/hide" link.

Sub-groups

  • For larger navboxes, it may be necessary to include sub-groups within a particular group of items. It is also possible to collapsible navboxes within the parent navbox, see Collapsible sub-groups.
  • To create sub-groups within {{navbox}}, certain parameters are to be included:
    • The parent navbox group (i.e. group2 in the example below) requires the type parameter (gtype2 = Subgroup).
    • The nested navbox (sub-group) requires the inclusion of the sub-group parameter (subgroup = yes). This enables the template to differentiate between the sub-group and the parent navbox.
{{navbox
|name    =
|title   =
|gtitle1 =
|group1  =
|gtitle2 =  
|gtype2  = Subgroup (mandatory)
|group2  = 
  {{navbox
  |subgroup = yes (mandatory)
  |gtitle1  = 
  |group1   =
  |gtitle2  = 
  |group2   = 
  }}
}}

Collapsible sub-groups

  • For extremely long navboxes, it is recommended to use collapsible navboxes within the parent navbox. Further sub-groups can then be added to these collapsible navboxes.
  • To create collapsible sub-groups within {{navbox}}, these parameters need to be included:
    • The parent navbox is almost always uncollapsed (state=uncollapsed).
    • The parent navbox group (i.e. group1 in the example below) requires the type parameter (gtype1 = Subgroup).
    • The nested collapsible navbox requires the inclusion of the collapsible parameter (collapsible = yes). This enables the template to differentiate between the collapsible navbox and the parent navbox.
    • The nested collapsible navbox is forcefully collapsed (state=collapsed).
{{navbox
|state  = uncollapsed
|name   = 
|gtype1 = Subgroup
|group1 = 
  {{navbox
  |collapsible = yes
  |state   = collapsed
  |title   = 
  |gtitle1 = 
  |group1  = 
  |gtitle2 = 
  |group2  = 
  }}
}}

Use of images

  • The use of images in navboxes is permitted, but please resize the images to keep them small. Inventory-sized images (25-30 pixels) are recommended.
  • Please use {{t|plink}} to create links with images. Use {{t|plink}} for any case where text is not desired after the link. It functions the same as {{t|plink}}, but it does not produce a wikilink in text. Use {{t|chatl}} to link chatheads. These templates create links for both the image and text (except for {{t|plink}}) using far less wikicode than the standard syntax.

Link and file share the same name

{{plink|Item}}

File name differs from the link

{{plink|Item|File}}

Link and file share the same name, but different text is desired to display

{{plink|Item|alt=Text}}

File name differs from the link and different text is desired to display

{{plink|Item|File|alt=Text}}

Categorising

Navboxes are very useful for transcluding categories onto a large number of pages that share both a trait and the navigation box. For example: Template:ShipNavbox transcludes Category:Ships onto every page that uses it.

There are 2 methods of categorising pages with navboxes:

The first way is with {{t|Ctg}}. This is the preferred method, and can be used in most cases. The rules and operations for the Category handler template are very simple; however, they are enough to produce the desired results on most pages.

Categorisation should only be used on a template for large-scale addition. It is unhelpful, for example, to use a rule that only applies to 1 page.

Examples

To see the following navboxes in action, see Template:Navbox.

Single line navbox with centered list

{{navbox
|name    = 
|title   = 
|style1  = text-align:center
|group1  =
}}
{{navbox
|name    = 
|title   = 
|gtitle1 = 
|group1  = 
|footer  = Centered footer
}}
{{navbox
|name    = 
|title   = 
|gtitle1 = 
|group1  = 
|fstyle  = text-align:right
|footer  = Right-aligned footer
}}

Multiple line navbox

{{navbox
|name    = 
|title   = 
|gtitle1 = Group title 1
|group1  = 
|gtitle2 = Group title 2
|group2  = 
|gtitle3 = Group title 3
|group3  = 
}}

Collapsed navbox

{{navbox
|state   = collapsed
|name    = 
|title   = 
|style1  = text-align:center
|group1  = 
}}

Plain navbox with Tnavbar

{{navbox
|state   = plain
|name    = 
|title   = 
|style1  = text-align:center
|group1  = 
}}

Plain navbox without Tnavbar

{{navbox
|state   = plain
|title   = 
|style1  = text-align:center
|group1  = 
}}

Complicated navbox

{{navbox
|state   = uncollapsed
|name    = 
|title   = 
|gtitle1 = Level 1 Title 1
|group1  = 
|gtitle2 = Level 1 Title 2
|group2  = 
|gtitle3 = Level 1 Title 3
|group3  = 
|gtitle4 = Level 1 Title 4
|group4  = 
|gtitle5 = Level 1 Title 5
|gtype5  = Subgroup
|group5  = 
  {{navbox
  |subgroup = Yes
  |gtitle1  = Level 2 Title 1
  |group1   =
  |gtitle2  = Level 2 Title 2
  |group2   =
  |gtitle3  = Level 2 Title 3
  |gtype3   = Subgroup
  |group3   = 
    {{navbox
    |subgroup = Yes
    |gtitle1  = Level 3 Title 1
    |group1   =
    |gtitle2  = Level 3 Title 2
    |group2   =
    }}
  |gtitle4  = Level 2 Title 4
  |group4   = 
  }}
|gtitle6 = Level 1 Title 6
|group6  = 
|gtitle7 = Level 1 Title 7
|group7  = 
|fstyle  = 
|footer  = 
}}

Preventing unwanted documentation

The Navbox template's documentation is automatically transcluded under the navbox on any Template namespace page. It is not transcluded when used as a sub-group or collapsible sub-group template (subgroup= yes or collapsible=yes).

Should the documentation appear when it is unwanted, it can be hidden by setting the doc parameter doc=no on the template. In most cases, the doc parameter is NOT used and the parameter is removed completely.