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

From blackwiki
Jump to navigation Jump to search
imported>Frietjes
imported>Hydrargyrum
(copy-edit)
Line 1: Line 1:
 
{{Documentation subpage}}
 
{{Documentation subpage}}
 
<!-- PLEASE ADD CATEGORIES AT THE BOTTOM OF THIS PAGE -->
 
<!-- PLEASE ADD CATEGORIES AT THE BOTTOM OF THIS PAGE -->
{{tld|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.
+
{{tld|Infobox artery}} displays a right-side infobox showing information about arteries of the body, allowing a clickable map and two images to be displayed at the top of the box.
  
 
==Usage==
 
==Usage==
Line 35: Line 35:
 
| Caption2    = Diagram of the alveoli with both cross-section and external view.
 
| Caption2    = Diagram of the alveoli with both cross-section and external view.
 
| BranchFrom  = [[right ventricle]]
 
| BranchFrom  = [[right ventricle]]
| BranchTo    =
+
| BranchTo    =  
 
| Vein        = [[pulmonary vein]]
 
| Vein        = [[pulmonary vein]]
 
| Precursor  = truncus arteriosus
 
| Precursor  = truncus arteriosus
| Supplies    =
+
| Supplies    =  
 
| MeshName    = Pulmonary+Artery
 
| MeshName    = Pulmonary+Artery
 
| MeshNumber  = A07.231.114.715
 
| MeshNumber  = A07.231.114.715
 
| Dorlands    = nine/000956217
 
| Dorlands    = nine/000956217
 
| DorlandsID  = Pulmonary artery
 
| DorlandsID  = Pulmonary artery
 +
}}
 +
</pre>
 +
 +
The following blank template is suitable for copying into new instances.
 +
<pre>
 +
{{Infobox artery
 +
| Name        =
 +
| Latin      =
 +
| GraySubject =
 +
| GrayPage    =
 +
| Image      =
 +
| Width      =
 +
| Caption    =
 +
| Image2      =
 +
| Width2      =
 +
| Caption2    =
 +
| BranchFrom  =
 +
| BranchTo    =
 +
| Vein        =
 +
| Precursor  =
 +
| Supplies    =
 +
| MeshName    =
 +
| MeshNumber  =
 +
| Dorlands    =
 +
| DorlandsID  =
 
}}
 
}}
 
</pre>
 
</pre>

Revision as of 06:09, 4 May 2015

{{Infobox artery}} displays a right-side infobox showing information about arteries of the body, allowing a clickable map and two images to be displayed at the top of the box.

Usage

Pulmonary artery
File:Alveoli diagram.png
Diagram of the alveoli with both cross-section and external view.
Details
SynonymsScript error: No such module "If empty".
Precursortruncus arteriosus
Sourceright ventricle
Veinpulmonary vein
Identifiers
Latintruncus pulmonalis, arteria pulmonalis
MeSHTemplate:Wikidata
NeuroNamesTemplate:Wikidata
NeuroLex IDTemplate:Wikidata
TA98Template:TA98
TA2Template:Wikidata
THTemplate:Str rep.html {{#property:P1694}}
TETemplate:TerminologiaEmbryologica
FMA{{#property:P1402}}
Anatomical terminology
[[[d:Script error: No such module "Wikidata".|edit on Wikidata]]]

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
| Dorlands    = nine/000956217
| DorlandsID  = Pulmonary artery
}}

The following blank template is suitable for copying into new instances.

{{Infobox artery
| Name        = 
| Latin       = 
| GraySubject = 
| GrayPage    = 
| Image       = 
| Width       = 
| Caption     = 
| Image2      = 
| Width2      = 
| Caption2    = 
| BranchFrom  = 
| BranchTo    = 
| Vein        = 
| Precursor   = 
| Supplies    = 
| MeshName    = 
| MeshNumber  = 
| Dorlands    = 
| DorlandsID  = 
}}

Parameters

The template parameters are (note case sensitivity):

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
Dorlands = Dorlands url number, such as: nine/000956217 (before .htm in url).
DorlandsID = Dorlands article name, such as "pulmonary artery".

Most parameters here start with a capital letter.

See also