The anatomy infobox "Template:Infobox_Artery" displays a right-side infobox showing information about arteries of the body, allowing a clickable map and 2 images to be displayed at the top of the box.
Usage
editPulmonary artery | |
---|---|
Details | |
Precursor | truncus arteriosus |
Source | right ventricle |
Vein | pulmonary vein |
Identifiers | |
Latin | truncus pulmonalis, arteria pulmonalis |
Anatomical terminology |
The template is invoked using double-brace syntax (with the result similar to that shown at the right), coded as follows:
{{Infobox Artery | Name = Pulmonary artery | Latin = truncus pulmonalis, arteria pulmonalis | GraySubject= 141 | GrayPage = 543 | Imagemap ={{Heart diagram 250px}} | Caption = Anterior (frontal) view of the opened heart. (Pulmonary artery upper right.) | Image2 = Alveoli diagram.png | Caption2 = Diagram of the alveoli with both cross-section and external view. | BranchFrom = [[right ventricle]] | BranchTo = | Vein = [[pulmonary vein]] | Precursor = truncus arteriosus | Supplies = | MeshName = Pulmonary+Artery | MeshNumber = A07.231.114.715 | DorlandsPre = t_20 | DorlandsSuf = 12826098 }}
Parameters
editThe template parameters are (Camel case requiring upper/lowercase):
- Name = English name for structure.
- Latin = Latin name for structure.
- 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 top image (in pixels, default=250).
- Caption = caption under top image.
- Image2 = 2nd top image (omit "Image:").
- Width2 = width of 2nd image (in pixels, default=Width).
- Caption2 = caption under 2nd top image.
- BranchFrom = such as "right ventricle"
- BranchTo = any text
- Vein = such as "pulmonary vein"
- Precursor = such as "truncus arteriosus"
- Supplies = any text
- MeshName = MeSH name
- MeshNumber = MeSH number code
- DorlandsPre = Dorlands prefix, such as: i_09.
- DorlandsSuf = Dorlands suffix, such as: 12454066.
- BoxWidth = width of infobox (in em/pixels, default 20em), also "boxwidth"
- ColumnGap = - extra spaces between infobox columns.
Most parameters here start with a capital letter.
Template implementation notes
editThe template was implemented in November 2005 using the MediaWiki parser-functions language (which was updated in January 2008 to run with a recursive descent parser).
Changes should be made and verified in a test-version of the template copied into user-space (as a page named "User:XXX/Template:Infobox_Artery"). Changes can be checked by editing actual articles by edit-preview (not Save) with the template-brace calls prefixed by "{<font/>{User:XXX/Template:...}}" but never saved that way.
When modifying the template or documentation ("/doc" subpage), it is often necessary to purge the template cache (using "action=purge"), such as to display modified documentation:
Running old versions of the template can be very confusing and frustrating when trying to install and verify improvements copied from test-versions of the template (so remember "action=purge").
See also
edit- Template:Infobox_Vein - for veins of the body.
- Template:Infobox_Brain - for parts of the brain.
- Template:Eye - articles on parts of the eye.
<includeonly> [[Category:Medicine infobox templates|Artery]] [[ca:Plantilla:Infotaula Artèria]] [[id:Templat:Infobox Arteri]] [[no:Mal:Infoboks arterie]] </includeonly>