Difference between revisions of "Template:Infobox brain"
imported>Tom (LT) |
imported>Tom (LT) (add location parameter) |
||
| Line 11: | Line 11: | ||
| Caption2 = {{{caption2|{{{Caption2|}}}}}} | | Caption2 = {{{caption2|{{{Caption2|}}}}}} | ||
| Latin = {{{Latin|}}} | | Latin = {{{Latin|}}} | ||
| + | | Location = {{{Location|}}} | ||
| PartOf = {{{Part_of|{{{part_of|{{{PartOf|{{{is_part_of|{{{IsPartOf|}}}}}}}}}}}}}}} | | PartOf = {{{Part_of|{{{part_of|{{{PartOf|{{{is_part_of|{{{IsPartOf|}}}}}}}}}}}}}}} | ||
| Components = {{{components|{{{Components|}}}}}} | | Components = {{{components|{{{Components|}}}}}} | ||
| Line 20: | Line 21: | ||
| Pronunciation = {{{pronunciation|{{{Pronunciation|}}}}}} | | Pronunciation = {{{pronunciation|{{{Pronunciation|}}}}}} | ||
| Function = {{{Function|}}} | | Function = {{{Function|}}} | ||
| − | }}{{#invoke:Check for unknown parameters|check|unknown={{main other|[[Category:Anatomy infobox template using unsupported parameters|_VALUE_{{PAGENAME}}]]}}|preview=Page using [[Template:Infobox brain]] with unknown parameter "_VALUE_"|ignoreblank=y| Acronym | acronym | alt | alt2 | Artery | artery | Caption | caption | Caption2 | caption2 | Components | components | Image | image | image_size | Image2 | image2 | image2_size | is_part_of | IsPartOf | Latin | name | Name | Part_of | part_of | PartOf | Precursor | precursor | System | system | Vein | vein | Width | Width2 | Pronunciation | pronunciation | Function | + | }}{{#invoke:Check for unknown parameters|check|unknown={{main other|[[Category:Anatomy infobox template using unsupported parameters|_VALUE_{{PAGENAME}}]]}}|preview=Page using [[Template:Infobox brain]] with unknown parameter "_VALUE_"|ignoreblank=y| Acronym | acronym | alt | alt2 | Artery | artery | Caption | caption | Caption2 | caption2 | Components | components | Image | image | image_size | Image2 | image2 | image2_size | is_part_of | IsPartOf | Latin | Location | name | Name | Part_of | part_of | PartOf | Precursor | precursor | System | system | Vein | vein | Width | Width2 | Pronunciation | pronunciation | Function |
}}<noinclude> | }}<noinclude> | ||
{{Documentation}}<!-- place category links on the /doc sub-page, not here --> | {{Documentation}}<!-- place category links on the /doc sub-page, not here --> | ||
</noinclude> | </noinclude> | ||
Latest revision as of 07:30, 17 May 2018
| {{{name}}} | |
|---|---|
| Synonyms | Script error: No such module "If empty". |
| Identifiers | |
| MeSH | Template:Wikidata |
| NeuroNames | Template:Wikidata |
| NeuroLex ID | Template:Wikidata |
| TA98 | Template:TA98 |
| TA2 | Template:Wikidata |
| TH | Template:Str rep.html {{#property:P1694}} |
| TE | Template:TerminologiaEmbryologica |
| FMA | {{#property:P1402}} |
| Anatomical terms of neuroanatomy [[[d:Script error: No such module "Wikidata".|edit on Wikidata]]] | |
[[Category:Infobox templates|Template:Remove first word]]
| This template uses Lua: |
{{Infobox brain}} displays a right-side infobox showing information about areas of the human brain, allowing 2 images to be displayed at the top of the box.
Contents
Usage
| This infobox is one of a series that use |
| {{Infobox anatomy}} |
|---|
| Gross |
|
| Neuro |
|
| Micro |
|
| Other |
The template is invoked using double-brace syntax (with the result similar to that shown at the right), coded as follows:
{{Infobox brain
| name =
| Latin =
| image =
| caption =
| image2 =
| caption2 =
| part_of =
| components =
| artery =
| vein =
| acronym =
| Function =
}}
Standard parameters
Template:Uses Wikidata This infobox is one in a series of anatomy infoboxes, all of which share common parameters. These include:
| Details | |
|---|---|
| Name | = English name for structure |
| Pronunciation | = Pronunciation of name, if term is not commonly used |
| Image | = top image (omit "Image:") |
| Width | = width of top image (in pixels, default=250) |
| Caption | = caption under top image |
| Image2 | = second top image (omit "Image:") |
| Width2 | = width of second image (in pixels, default=250) |
| Caption2 | = caption under second top image |
| System | = Relevant body system (e.g., Circulatory system) |
| Identifiers | |
| Latin | = Latin name for structure |
| Greek | = Greek name for structure, if relevant to anatomy / medical use |
| Acronym | = Acronym, if in common use |
| Autofilled | |
| TA, TH, TE, MeSH, FMA, NeuroLex, NeuroNames | These fields are automatically filled from Wikidata, and edits can no longer be made through infoboxes. |
| Link | All templates in this series provide a link to the relevant Anatomical terminology articles - eg Anatomical terms of bone for Template:Infobox bone, etc. |
Unique parameters
The template parameters unique to this template are (case sensitive):
| Components | = Sub areas of this part of the brain |
| PartOf | = If this part of the brain is a part of a larger structure |
| Function | = The function of this part of the brain |
Most parameters begin with a capital letter.
Example
For an example, see:
Tracking categories
See also
- Template:Infobox nerve - nerves of the body
- Template:Infobox neuron - nerves of the body
An infobox for structures in the brain.
| Parameter | Description | Type | Status | |
|---|---|---|---|---|
| Name | Name name | no description | String | required |
| Image | Image image | no description | String | suggested |
| Width | Width image_size | no description | Unknown | optional |
| Alt | alt | no description | Unknown | optional |
| Caption | Caption caption | no description | String | optional |
| Image2 | Image2 image2 | no description | Unknown | optional |
| Width2 | Width2 image2_size | no description | Unknown | optional |
| Alt2 | alt2 | no description | Unknown | optional |
| Caption2 | Caption2 caption2 | no description | Unknown | optional |
| Latin | Latin | no description | Unknown | optional |
| PartOf | PartOf Part_of part_of is_part_of IsPartOf | If the structure belongs to a larger or more inclusive structure within the brain
| String | optional |
| Components | Components components | Parts of this structure | String | optional |
| Artery | Artery artery | no description
| String | optional |
| Vein | Vein vein | no description | String | optional |
| Precursor | Precursor precursor | no description | Unknown | optional |
| System | System system | The system that this structure is involved in
| String | suggested |
| Acronym | Acronym acronym | Any '''commonly used''' acronyms that represent this structure | String | optional |
| Pronunciation | Pronunciation pronunciation | no description | String | optional |
| Function | Function | The function of this structure | String | suggested |
| Location | Location | The location of this structure | String | suggested |
| The above documentation is transcluded from Template:Infobox brain/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. |