Difference between revisions of "Template:Infobox tract/doc"
imported>Vanisaac m (→See also: clean up per WP:CAT#T and WP:AWBREQ add template:Sandbox other) |
imported>Gonnym (moved templatedata here) |
||
Line 3: | Line 3: | ||
{{lua|Module:Check for unknown parameters}} | {{lua|Module:Check for unknown parameters}} | ||
− | + | '''Template:Infobox tract''' displays a right-side infobox showing information about tracts and nerve pathways within the [[central nervous system]]. | |
==Usage== | ==Usage== | ||
Line 10: | Line 10: | ||
<pre> | <pre> | ||
{{Infobox tract | {{Infobox tract | ||
− | | Name = | + | | Name = |
− | | Synonyms = | + | | Synonyms = |
| Latin = | | Latin = | ||
| Image = | | Image = | ||
Line 17: | Line 17: | ||
| Image2 = | | Image2 = | ||
| Caption2 = | | Caption2 = | ||
− | | PartOf | + | | PartOf = |
| Components = | | Components = | ||
| Acronym = | | Acronym = | ||
| Function = | | Function = | ||
− | | Decussation = | + | | Decussation = |
− | | From = | + | | From = |
− | | To = | + | | To = |
− | | System = | + | | System = |
}} | }} | ||
</pre> | </pre> | ||
Line 34: | Line 34: | ||
The template parameters unique to this template are (case sensitive): | The template parameters unique to this template are (case sensitive): | ||
− | {| | + | {| class="wikitable" |
+ | ! scope="col" | Parameter | ||
+ | ! scope="col" | Description | ||
|- | |- | ||
− | | Components | | + | ! scope="row" | Components |
+ | | Sub areas of this tract or pathway | ||
|- | |- | ||
− | | PartOf | | + | ! scope="row" | PartOf |
+ | | If this part of the brain is a part of a larger structure such as of the central nervous system | ||
|- | |- | ||
− | | Function | | + | ! scope="row" | Function |
+ | | The function of this tract or pathway | ||
|- | |- | ||
− | | To | | + | ! scope="row" | To |
+ | | Where this tract or pathway goes to | ||
|- | |- | ||
− | | From | | + | ! scope="row" | From |
+ | | Where this tract or pathway comes from | ||
|- | |- | ||
− | | Decussation | | + | ! scope="row" | Decussation |
+ | | The point at which this tract or pathway {{wt|en|decussates}}. | ||
|} | |} | ||
− | + | ||
+ | === TemplateData === | ||
+ | {{Collapse top|title=[[Wikipedia:TemplateData|TemplateData]] documentation used by [[Wikipedia:VisualEditor|VisualEditor]] and other tools}} | ||
+ | {{TemplateData header|noheader=1}} | ||
+ | <templatedata> | ||
+ | { | ||
+ | "params": { | ||
+ | "Name": { | ||
+ | "aliases": [ | ||
+ | "name" | ||
+ | ], | ||
+ | "type": "string", | ||
+ | "required": true | ||
+ | }, | ||
+ | "Image": { | ||
+ | "aliases": [ | ||
+ | "image" | ||
+ | ], | ||
+ | "type": "string", | ||
+ | "suggested": true | ||
+ | }, | ||
+ | "Width": { | ||
+ | "aliases": [ | ||
+ | "width" | ||
+ | ] | ||
+ | }, | ||
+ | "alt": {}, | ||
+ | "Caption": { | ||
+ | "aliases": [ | ||
+ | "caption" | ||
+ | ], | ||
+ | "type": "string" | ||
+ | }, | ||
+ | "Image2": { | ||
+ | "aliases": [ | ||
+ | "image2" | ||
+ | ] | ||
+ | }, | ||
+ | "Width2": {}, | ||
+ | "alt2": {}, | ||
+ | "Caption2": { | ||
+ | "aliases": [ | ||
+ | "caption2" | ||
+ | ] | ||
+ | }, | ||
+ | "Latin": {}, | ||
+ | "PartOf": { | ||
+ | "aliases": [ | ||
+ | "Part_of" | ||
+ | ], | ||
+ | "description": "If the structure belongs to a larger or more inclusive structure", | ||
+ | "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 | ||
+ | }, | ||
+ | "From": { | ||
+ | "description": "Where this tract or pathway originates from", | ||
+ | "example": "[[Motor cortex]]", | ||
+ | "type": "string", | ||
+ | "suggested": true | ||
+ | }, | ||
+ | "To": { | ||
+ | "description": "Where this tract or pathway goes to", | ||
+ | "type": "string", | ||
+ | "suggested": true | ||
+ | }, | ||
+ | "Synonyms": { | ||
+ | "aliases": [ | ||
+ | "Synonym" | ||
+ | ], | ||
+ | "description": "Other names for this structure", | ||
+ | "type": "string" | ||
+ | }, | ||
+ | "Decussation": { | ||
+ | "description": "If this tract or pathway crosses to the other side, where this occurs", | ||
+ | "example": "[[Medial lemniscus]]", | ||
+ | "type": "string", | ||
+ | "suggested": true | ||
+ | } | ||
+ | }, | ||
+ | "description": "An infobox relating to tracts and pathways within the central nervous system." | ||
+ | } | ||
+ | </templatedata> | ||
+ | {{Collapse bottom}} | ||
==Example== | ==Example== |
Latest revision as of 23:42, 13 October 2020
![]() | 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: |
Template: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):
Parameter | Description |
---|---|
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. |
TemplateData
TemplateData documentation used by VisualEditor and other tools
| ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
See the monthly parameter usage report for this template.
TemplateData for Infobox tract An infobox relating to tracts and pathways within the central nervous system.
|
Example
For an example, see:
Tracking categories
See also
- Template:Infobox nerve – nerves of the body
- Template:Infobox neuron – nerves of the body