Difference between revisions of "Template:Infobox brain"
imported>Tom (LT) (add link to Anatomical terms of neuroanatomy, consistent with other anatomical templates) |
imported>Frietjes (rewrite as a frontend for Template:Infobox anatomy) |
||
| Line 1: | Line 1: | ||
| − | {{infobox | + | {{infobox anatomy |
| − | | | + | | type = brain |
| − | | | + | | Name = {{{Name|{{{name}}}}}} |
| − | | | + | | Map{{#if:{{{map|{{{Map|}}}}}}||IGNORE_PARAMETER}} = {{{map|{{{Map|}}}}}} |
| − | | | + | | MapPos = {{{map_position|{{{MapPos|}}}}}} |
| − | | | + | | ImageMap = {{{ImageMap|{{{Imagemap|{{{image_map|}}}}}}}}} |
| + | | MapCaption = {{{map_caption|{{{MapCaption|}}}}}} | ||
| + | | Image = {{{image|{{{Image|}}}}}} | ||
| + | | Width = {{{image_size|{{{Width|}}}}}} | ||
| + | | Alt = {{{alt|}}} | ||
| + | | Caption = {{{caption|{{{Caption|}}}}}} | ||
| − | | | + | | Image2 = {{{image2|{{{Image2|}}}}}} |
| − | | | + | | Width2 = {{{image2_size|{{{Width2|{{{image_size|{{{Width|}}}}}}}}}}}} |
| + | | Alt2 = {{{alt2|}}} | ||
| + | | Caption2 = {{{caption2|{{{Caption2|}}}}}} | ||
| − | | | + | | Latin = {{{Latin|}}} |
| − | + | | PartOf = {{{part_of|{{{PartOf|{{{is_part_of|{{{IsPartOf|}}}}}}}}}}}} | |
| − | + | | System = {{{system|{{{System|}}}}}} | |
| − | + | | Components = {{{components|{{{Components|}}}}}} | |
| − | + | | Artery = {{{artery|{{{Artery|}}}}}} | |
| − | + | | Vein = {{{vein|{{{Vein|}}}}}} | |
| − | |||
| − | |||
| − | |||
| − | | | ||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | | | ||
| − | |||
| − | |||
| − | | | ||
| − | |||
| − | |||
| − | | | ||
| − | |||
| − | |||
| − | | | ||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| + | | GraySubject = {{{GraySubject|}}} | ||
| + | | GrayPage = {{{GrayPage|}}} | ||
| + | | Acronym = {{{acronym|{{{Acronym|}}}}}} | ||
| + | | BrainInfoType = {{{BrainInfoType|}}} | ||
| + | | BrainInfoNumber = {{{BrainInfoNumber|}}} | ||
| + | | MeshName = {{{MeshName|{{{Meshname|{{{MeSHname|}}}}}}}}} | ||
| + | | MeshYear = {{{MeshYear|2007}}} | ||
| + | | Code = {{{code|{{{Code|}}}}}} | ||
| + | | NeuroLexID = {{{NeuroLexID|}}} | ||
| + | | Dorlands = {{{Dorlands|}}} | ||
| + | | DorlandsID = {{{DorlandsSuf|{{{DorlandsID|}}}}}} | ||
| + | | BamsSlug = {{{BamsSlug|}}} | ||
| + | | FMA = {{{FMA|{{#property:P1402}}}}} | ||
}}{{main other| | }}{{main other| | ||
{{#ifeq:{{{1|♦}}}|♦||[[Category:Medicine infobox template using deprecated parameters|1{{PAGENAME}}]] | {{#ifeq:{{{1|♦}}}|♦||[[Category:Medicine infobox template using deprecated parameters|1{{PAGENAME}}]] | ||
| + | }}{{#ifeq:{{{TA98|♦}}}|♦||[[Category:Medicine infobox template using deprecated parameters|T{{PAGENAME}}]] | ||
}}{{#ifeq:{{{map|♦}}}{{{Map|♦}}}|♦♦||[[Category:Medicine infobox template using deprecated parameters|M{{PAGENAME}}]] | }}{{#ifeq:{{{map|♦}}}{{{Map|♦}}}|♦♦||[[Category:Medicine infobox template using deprecated parameters|M{{PAGENAME}}]] | ||
}}{{#ifeq:{{{BoxWidth|♦}}}{{{boxwidth|♦}}}|♦♦||[[Category:Medicine infobox template using deprecated parameters|W{{PAGENAME}}]] | }}{{#ifeq:{{{BoxWidth|♦}}}{{{boxwidth|♦}}}|♦♦||[[Category:Medicine infobox template using deprecated parameters|W{{PAGENAME}}]] | ||
Revision as of 19:50, 17 November 2014
| {{{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]]
| 30px | 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. |