Difference between revisions of "Template:Infobox tract/doc"
imported>Tom (LT) (trial move template data to... template) |
imported>Tom (LT) |
||
| Line 69: | Line 69: | ||
[[Category:Templates that add a tracking category]] | [[Category:Templates that add a tracking category]] | ||
}}</includeonly> | }}</includeonly> | ||
| + | <templatedata> | ||
| + | { | ||
| + | "params": { | ||
| + | "Name": { | ||
| + | "aliases": [ | ||
| + | "name" | ||
| + | ], | ||
| + | "type": "string", | ||
| + | "required": true | ||
| + | }, | ||
| + | "Image": { | ||
| + | "aliases": [ | ||
| + | "image" | ||
| + | ], | ||
| + | "type": "string", | ||
| + | "suggested": true | ||
| + | }, | ||
| + | "image_size": {}, | ||
| + | "Width": {}, | ||
| + | "alt": {}, | ||
| + | "Caption": { | ||
| + | "aliases": [ | ||
| + | "caption" | ||
| + | ], | ||
| + | "type": "string" | ||
| + | }, | ||
| + | "Image2": { | ||
| + | "aliases": [ | ||
| + | "image2" | ||
| + | ] | ||
| + | }, | ||
| + | "image2_size": {}, | ||
| + | "Width2": {}, | ||
| + | "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" | ||
| + | }, | ||
| + | "Pronunciation": { | ||
| + | "aliases": [ | ||
| + | "pronunciation" | ||
| + | ], | ||
| + | "type": "string" | ||
| + | }, | ||
| + | "Function": { | ||
| + | "description": "The function of this structure", | ||
| + | "type": "string", | ||
| + | "suggested": true | ||
| + | } | ||
| + | }, | ||
| + | "description": "An [[WP:INFOBOX|infobox]] relating to structures within the [[brain]]." | ||
| + | } | ||
| + | </templatedata> | ||
Revision as of 07:05, 17 May 2018
| This is a documentation subpage for Template:Infobox tract. It contains usage information, categories and other content that is not part of the original template page. |
| This template uses Lua: |
{{Infobox tract}} displays a right-side infobox showing information about tracts and nerve pathways within the central nervous system.
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 tract
| Name =
| Synonyms =
| Latin =
| Image =
| Caption =
| Image2 =
| Caption2 =
| PartOf =
| Components =
| Acronym =
| Function =
| Decussation =
| From =
| To =
| System =
}}
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 tract or pathway |
| PartOf | = If this part of the brain is a part of a larger structure such as of the central nervous system |
| Function | = The function of this tract or pathway |
| To | = Where this tract or pathway goes to |
| From | = Where this tract or pathway comes from |
| Decussation | = The point at which this tract or pathway Template:Wt. |
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 [[WP:INFOBOX|infobox]] relating to structures within the [[brain]].
| Parameter | Description | Type | Status | |
|---|---|---|---|---|
| Name | Name name | no description | String | required |
| Image | Image image | no description | String | suggested |
| Image_size | image_size | no description | Unknown | optional |
| Width | Width | no description | Unknown | optional |
| Alt | alt | no description | Unknown | optional |
| Caption | Caption caption | no description | String | optional |
| Image2 | Image2 image2 | no description | Unknown | optional |
| Image2_size | image2_size | no description | Unknown | optional |
| Width2 | Width2 | 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 | Any '''commonly used''' acronyms that represent this structure | Unknown | optional |
| Pronunciation | Pronunciation pronunciation | no description | String | optional |
| Function | Function | The function of this structure | String | suggested |