Difference between revisions of "Template:Infobox brain/doc"
imported>Adoniscik |
imported>Vanisaac m (→See also: clean up per WP:CAT#T and WP:AWBREQ add template:Sandbox other) |
||
| (44 intermediate revisions by 27 users not shown) | |||
| Line 1: | Line 1: | ||
| − | + | {{Documentation subpage}} | |
| + | <!-- Place categories where indicated at the bottom of this page and interwikis at Wikidata (see [[Wikipedia:Wikidata]]) --> | ||
| + | {{lua|Module:Check for unknown parameters}} | ||
| + | |||
| + | {{tld|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. | ||
==Usage== | ==Usage== | ||
| − | {{ | + | {{Anatomy infoboxes}} |
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | }} | ||
The template is invoked using double-brace syntax (with the result similar to that shown at the right), coded as follows: | The template is invoked using double-brace syntax (with the result similar to that shown at the right), coded as follows: | ||
| − | <pre | + | <pre> |
| − | {{Infobox | + | {{Infobox brain |
| − | | | + | | name = |
| − | | Latin | + | | Latin = |
| − | | | + | | image = |
| − | | | + | | caption = |
| − | | | + | | image2 = |
| − | | | + | | caption2 = |
| − | + | | part_of = | |
| − | + | | components = | |
| − | | | + | | artery = |
| − | + | | vein = | |
| − | + | | acronym = | |
| − | + | | Function = | |
| − | | | ||
| − | |||
| − | |||
| − | | | ||
| − | | | ||
| − | | | ||
| − | | | ||
| − | |||
| − | |||
| − | |||
}} | }} | ||
| − | </ | + | </pre> |
| + | |||
| + | |||
| + | ==Standard parameters== | ||
| + | {{Infobox anatomy/doc/transcludetable}} | ||
| + | |||
| + | ==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: | ||
| + | * [[Human brain]] | ||
| + | * [[Cerebral cortex]] | ||
| + | * [[Insular cortex]] | ||
| + | |||
| + | == Tracking categories == | ||
| + | * {{clc|Anatomy infobox template using unsupported parameters}} | ||
| − | == | + | == See also == |
| − | + | * [[Template:Infobox nerve]] - nerves of the body | |
| − | + | * [[Template:Infobox neuron]] - nerves of the body | |
| − | |||
| − | |||
| − | * | ||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | + | <includeonly>{{Sandbox other|| | |
| − | + | <!-- Categories go here and interwikis go in Wikidata. --> | |
| − | + | [[Category:Anatomy infobox templates|Brain]] | |
| + | [[Category:Infobox templates using Wikidata]] | ||
| + | [[Category:Templates that add a tracking category]] | ||
| + | }}</includeonly> | ||
| + | <templatedata> | ||
| + | { | ||
| + | "params": { | ||
| + | "Name": { | ||
| + | "aliases": [ | ||
| + | "name" | ||
| + | ], | ||
| + | "type": "string", | ||
| + | "required": true | ||
| + | }, | ||
| + | "Image": { | ||
| + | "aliases": [ | ||
| + | "image" | ||
| + | ], | ||
| + | "type": "string", | ||
| + | "suggested": true | ||
| + | }, | ||
| + | "Width": { | ||
| + | "aliases": [ | ||
| + | "image_size" | ||
| + | ] | ||
| + | }, | ||
| + | "alt": {}, | ||
| + | "Caption": { | ||
| + | "aliases": [ | ||
| + | "caption" | ||
| + | ], | ||
| + | "type": "string" | ||
| + | }, | ||
| + | "Image2": { | ||
| + | "aliases": [ | ||
| + | "image2" | ||
| + | ] | ||
| + | }, | ||
| + | "Width2": { | ||
| + | "aliases": [ | ||
| + | "image2_size" | ||
| + | ] | ||
| + | }, | ||
| + | "alt2": {}, | ||
| + | "Caption2": { | ||
| + | "aliases": [ | ||
| + | "caption2" | ||
| + | ] | ||
| + | }, | ||
| + | "Latin": {}, | ||
| + | "PartOf": { | ||
| + | "aliases": [ | ||
| + | "Part_of", | ||
| + | "part_of", | ||
| + | "is_part_of", | ||
| + | "IsPartOf" | ||
| + | ], | ||
| + | "description": "If the structure belongs to a larger or more inclusive structure within the brain", | ||
| + | "example": "[[Thalamus]], [[Basal ganglia]]", | ||
| + | "type": "string" | ||
| + | }, | ||
| + | "Components": { | ||
| + | "aliases": [ | ||
| + | "components" | ||
| + | ], | ||
| + | "description": "Parts of this structure", | ||
| + | "type": "string" | ||
| + | }, | ||
| + | "Artery": { | ||
| + | "aliases": [ | ||
| + | "artery" | ||
| + | ], | ||
| + | "example": "[[Middle cerebral artery]]", | ||
| + | "type": "string" | ||
| + | }, | ||
| + | "Vein": { | ||
| + | "aliases": [ | ||
| + | "vein" | ||
| + | ], | ||
| + | "type": "string" | ||
| + | }, | ||
| + | "Precursor": { | ||
| + | "aliases": [ | ||
| + | "precursor" | ||
| + | ] | ||
| + | }, | ||
| + | "System": { | ||
| + | "aliases": [ | ||
| + | "system" | ||
| + | ], | ||
| + | "description": "The system that this structure is involved in", | ||
| + | "example": "[[Visual system]]", | ||
| + | "type": "string", | ||
| + | "suggested": true | ||
| + | }, | ||
| + | "Acronym": { | ||
| + | "description": "Any '''commonly used''' acronyms that represent this structure", | ||
| + | "aliases": [ | ||
| + | "acronym" | ||
| + | ], | ||
| + | "type": "string" | ||
| + | }, | ||
| + | "Pronunciation": { | ||
| + | "aliases": [ | ||
| + | "pronunciation" | ||
| + | ], | ||
| + | "type": "string" | ||
| + | }, | ||
| + | "Function": { | ||
| + | "description": "The function of this structure", | ||
| + | "type": "string", | ||
| + | "suggested": true | ||
| + | }, | ||
| + | "Location": { | ||
| + | "description": "The location of this structure", | ||
| + | "type": "string", | ||
| + | "suggested": true | ||
| + | } | ||
| + | }, | ||
| + | "description": "An infobox for structures in the brain." | ||
| + | } | ||
| + | </templatedata> | ||
Latest revision as of 18:12, 25 April 2020
| This is a documentation subpage for Template:Infobox brain. It contains usage information, categories and other content that is not part of the original template page. |
| 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 |