Difference between revisions of "Template:Infobox brain/doc"

From blackwiki
Jump to navigation Jump to search
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:
The anatomy infobox "[[Template: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.
+
{{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==
{{Infobox Brain
+
{{Anatomy infoboxes}}
| Name        = Insular cortex
 
| Latin      = lobus insularis
 
| boxwidth    = 18em
 
| GraySubject = 189
 
| GrayPage    = 825
 
| Image      = Gray731.png
 
| Width      = 250
 
| Caption = Left side insula<br>from removing opercula
 
| Image2      = Gray717.png
 
| Caption2 = Coronal brain section
 
| IsPartOf    =
 
| Components  =
 
| Artery      = [[Middle cerebral artery|Middle cerebral]]
 
| Vein        =
 
| Acronym    =
 
| BrainInfoType  = hier
 
| BrainInfoNumber = 93
 
| MeshName    =
 
| MeshNumber  =
 
| DorlandsPre = i_09
 
| DorlandsSuf = 12454066
 
}}
 
 
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><nowiki>
+
<pre>
{{Infobox Brain
+
{{Infobox brain
| Name        = Insular cortex
+
| name            =  
| Latin       = lobus insularis
+
| Latin           =  
| boxwidth    = 19em
+
| image          =  
| GraySubject = 189
+
| caption        =  
| GrayPage    = 825
+
| image2          =  
| Image    = Gray731.png
+
| caption2        =  
| Width    = 250
+
| part_of         =
| Caption=Left side insula<br>
+
| components     =
|        from removing opercula
+
| artery          =  
| Image2    = Gray717.png
+
| vein            =
| Caption2=Coronal brain section
+
| acronym        =
| IsPartOf  =
+
| Function        =  
| Components=
 
| Artery    =[[Middle cerebral]]
 
| Vein     =
 
| Acronym  =
 
| BrainInfoType  = hier
 
| BrainInfoNumber = 93
 
| MeshName  =
 
| MeshNumber =
 
| DorlandsPre= i_09
 
| DorlandsSuf= 12454066
 
 
}}
 
}}
</nowiki></pre>
+
</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}}
  
==Parameters==
+
== See also ==
The template parameters are:
+
* [[Template:Infobox nerve]] - nerves of the body
* Name        = English name for structure.
+
* [[Template:Infobox neuron]] - nerves of the body
* Latin      = Latin name for structure.
 
* boxwidth    = width of infobox (in em/pixels, default 20em).
 
* GraySubject = Gray's Anatomy subject number, such as: 189.
 
* GrayPage    = Gray's Anatomy page number, such as: 825.
 
* Image      = top image (omit "Image:").
 
* Width      = width of images (in pixels, default=250).
 
* Caption    = caption under top image.
 
* Image2      = 2nd top image (omit "Image:").
 
* Caption2    = caption under 2nd top image.
 
* IsPartOf    =
 
* Components  =
 
* Artery      =
 
* Vein        =
 
* Acronym    =
 
* BrainInfoType  = such as: hier.
 
* BrainInfoNumber = such as: 93.
 
* MeshName    =
 
* MeshNumber  =
 
* DorlandsPre = Dorlands prefix, such as: i_09.
 
* DorlandsSuf = Dorlands suffix, such as: 12454066.
 
  
==See also==
+
<includeonly>{{Sandbox other||
* [[Template:Brain]] - articles on parts of the brain.
+
<!-- Categories go here and interwikis go in Wikidata. -->
* [[Template:Eye]] - articles on parts of the eye.
+
[[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

{{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

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


An infobox for structures in the brain.

Template parameters

ParameterDescriptionTypeStatus
NameName name

no description

Stringrequired
ImageImage image

no description

Stringsuggested
WidthWidth image_size

no description

Unknownoptional
Altalt

no description

Unknownoptional
CaptionCaption caption

no description

Stringoptional
Image2Image2 image2

no description

Unknownoptional
Width2Width2 image2_size

no description

Unknownoptional
Alt2alt2

no description

Unknownoptional
Caption2Caption2 caption2

no description

Unknownoptional
LatinLatin

no description

Unknownoptional
PartOfPartOf Part_of part_of is_part_of IsPartOf

If the structure belongs to a larger or more inclusive structure within the brain

Example
[[Thalamus]], [[Basal ganglia]]
Stringoptional
ComponentsComponents components

Parts of this structure

Stringoptional
ArteryArtery artery

no description

Example
[[Middle cerebral artery]]
Stringoptional
VeinVein vein

no description

Stringoptional
PrecursorPrecursor precursor

no description

Unknownoptional
SystemSystem system

The system that this structure is involved in

Example
[[Visual system]]
Stringsuggested
AcronymAcronym acronym

Any '''commonly used''' acronyms that represent this structure

Stringoptional
PronunciationPronunciation pronunciation

no description

Stringoptional
FunctionFunction

The function of this structure

Stringsuggested
LocationLocation

The location of this structure

Stringsuggested