ଉଇକିପିଡ଼ିଆ:Infobox modules
Many Infoboxes can take another template, including another infobox, as a module (or child-, or sub-template).
Inversely, some infoboxes can have other templates, and other templates, are configured so that they may be embedded as a "child" or "module" infobox within another.
When embedding a template it is usually necessary to set |embed=yes (or |child=yes) in the embedded (child) template.
The child template is entered as the value of a parameter in the parent, usually |module= or |embedded=.
Converting an Infobox
[ସମ୍ପାଦନା]Sir Fred Hoyle | |
|---|---|
| ଜନ୍ମ | ୨୪ ଜୁନ ୧୯୧୫ |
| ମୃତ୍ୟୁ | ୨୦ ଅଗଷ୍ଟ ୨୦୦୧ (ବୟସ ୮୬) Bournemouth, England |
| ଜାତୀୟତା | British |
| ସନ୍ତାନ |
|
| ଶିକ୍ଷାନୁଷ୍ଠାନ | Emmanuel College, Cambridge |
| ପ୍ରସିଦ୍ଧି | |
| ପୁରସ୍କାର |
|
| ବିଜ୍ଞାନୀ ଜୀବନ | |
| କ୍ଷେତ୍ର | Astronomy |
| କର୍ମାନୁଷ୍ଠାନ | Institute of Astronomy, Cambridge |
| ଶିକ୍ଷକୀୟ ଉପଦେଷ୍ଟା |
|
| ଡକ୍ଟରୀ ଛାତ୍ର | |
| ଜଣାଶୁଣା ଛାତ୍ର | Paul C. W. Davies |
| ଆଦର୍ଶ | |
In order to be configured for potential use as a module, an infobox must have a few adaptations, including modified styling, the suppression of the template's name display, and the addition of a subheading. Here is an example adaptation; results shown to the right; note the "Scientific career" subheading.
Infobox person
[ସମ୍ପାଦନା]{{Infobox person}} can have another biographical infobox (or infoboxes - up to six slots are available) as a Module. Those available are listed in Category:Biographical templates usable as a module (NB may not yet be fully populated). See, for example, this edit using {{Infobox scientist}} as the child template (results shown alongside).
Infobox person can also take other child templates, for example, {{Listen}}. See this example.
Example edits
[ସମ୍ପାଦନା]Embedded infoboxes
[ସମ୍ପାଦନା]- Instance of {{Infobox musical artist}} in {{Infobox person}}
Other embedded templates
[ସମ୍ପାଦନା]- Instance of {{Listen}} (audio player) embedded in {{Infobox person}}
- Instance of {{Designation list}} in {{Infobox building}}