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

From blackwiki
Jump to navigation Jump to search
imported>Zyxw
imported>Tom (LT)
(update)
Line 1: Line 1:
 
{{Documentation subpage}}
 
{{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}}
 
{{lua|Module:Check for unknown parameters}}
 
{{Uses Wikidata|P1402}}
 
{{Uses Wikidata|P1402}}
Line 10: Line 9:
 
| Name        = Pulmonary artery
 
| Name        = Pulmonary artery
 
| Latin      = truncus pulmonalis, arteria pulmonalis
 
| Latin      = truncus pulmonalis, arteria pulmonalis
| GraySubject = 141
+
| image = {{Heart diagram 250px}}
| GrayPage    = 543
 
| Imagemap    = {{Heart diagram 250px}}
 
 
| Caption    = Anterior (frontal) view of the opened heart. (Pulmonary artery labeled at upper right.)
 
| Caption    = Anterior (frontal) view of the opened heart. (Pulmonary artery labeled at upper right.)
 
| Image2      = Alveoli diagram.png
 
| Image2      = Alveoli diagram.png
Line 21: Line 18:
 
| Precursor  = [[truncus arteriosus (embryology)|truncus arteriosus]]
 
| Precursor  = [[truncus arteriosus (embryology)|truncus arteriosus]]
 
| Supplies    =
 
| Supplies    =
| MeshName    = Pulmonary+Artery
 
| MeshNumber  = A07.231.114.715
 
| Dorlands    = nine/000956217
 
| DorlandsID  = Pulmonary artery
 
 
}}
 
}}
 
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:
Line 31: Line 24:
 
| Name        = Pulmonary artery
 
| Name        = Pulmonary artery
 
| Latin      = truncus pulmonalis, arteria pulmonalis
 
| Latin      = truncus pulmonalis, arteria pulmonalis
| GraySubject = 141
+
| Image = {{Heart diagram 250px}}
| GrayPage    = 543
 
| Imagemap    = {{Heart diagram 250px}}
 
 
| Caption    = Anterior (frontal) view of the opened heart. (Pulmonary artery upper right.)
 
| Caption    = Anterior (frontal) view of the opened heart. (Pulmonary artery upper right.)
 
| Image2      = Alveoli diagram.png
 
| Image2      = Alveoli diagram.png
Line 42: Line 33:
 
| Precursor  = truncus arteriosus
 
| Precursor  = truncus arteriosus
 
| Supplies    =  
 
| Supplies    =  
| MeshName    = Pulmonary+Artery
 
| MeshNumber  = A07.231.114.715
 
| Dorlands    = nine/000956217
 
| DorlandsID  = Pulmonary artery
 
 
}}
 
}}
 
</pre>
 
</pre>
Line 54: Line 41:
 
| Name        =  
 
| Name        =  
 
| Latin      =  
 
| Latin      =  
| GraySubject =
 
| GrayPage    =
 
 
| Image      =  
 
| Image      =  
 
| Width      =  
 
| Width      =  
Line 68: Line 53:
 
| Supplies    =  
 
| Supplies    =  
 
| MeshName    =  
 
| MeshName    =  
| MeshNumber  =
 
| Dorlands    =
 
| DorlandsID  =
 
 
}}
 
}}
 
</pre>
 
</pre>
Line 81: Line 63:
 
|-
 
|-
 
| Latin      ||= Latin 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:").
 
| Image      ||= top image (omit "Image:").
Line 107: Line 85:
 
|-
 
|-
 
| Supplies    ||= any text
 
| 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".
 
 
|}
 
|}
  
Line 120: Line 90:
  
 
== Tracking categories ==
 
== Tracking categories ==
* {{clc|Medicine infobox template using unsupported parameters}}
+
* {{clc|Anatomy infobox template using unsupported parameters}}
  
 
== See also ==
 
== See also ==

Revision as of 22:01, 17 February 2018

Template:Uses Wikidata

{{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
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
| Image = {{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    = 
}}

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

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

Parameters

The template parameters are (note case sensitivity):

Name = English name for structure.
Latin = Latin name for structure.
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

Most parameters here start with a capital letter.

Tracking categories

See also