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

From blackwiki
Jump to navigation Jump to search
imported>Zyxw
imported>Vanisaac
m (→‎See also: clean up per WP:CAT#T and WP:AWBREQ add template:Sandbox other)
 
(3 intermediate revisions by 2 users not shown)
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 6: Line 5:
 
{{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.
 
{{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==
+
==Use==
 
{{Infobox artery
 
{{Infobox artery
 
| 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 67: Line 52:
 
| Precursor  =  
 
| Precursor  =  
 
| Supplies    =  
 
| Supplies    =  
| MeshName    =
 
| MeshNumber  =
 
| Dorlands    =
 
| DorlandsID  =
 
 
}}
 
}}
 
</pre>
 
</pre>
  
==Parameters==
+
 
The template parameters are (note case sensitivity):
+
==Standard parameters==
 +
{{Infobox anatomy/doc/transcludetable}}
 +
 
 +
==Unique parameters==
 +
Unique parameters to this infobox include:
 
{|
 
{|
|-
 
| 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]]"
 
| BranchFrom  ||= such as "[[right ventricle]]"
Line 107: Line 72:
 
|-
 
|-
 
| 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 77:
  
 
== Tracking categories ==
 
== Tracking categories ==
* {{clc|Medicine infobox template using unsupported parameters}}
+
* {{clc|Anatomy infobox template using unsupported parameters}}
  
 
== See also ==
 
== See also ==
 +
* [[Template:Infobox anatomy]]
 
* [[Template:Infobox vein]] - for veins of the body
 
* [[Template:Infobox vein]] - for veins of the body
* [[Template:Infobox brain]] - for parts of the brain
+
* [[Template:Infobox lymph]]  
 
* [[Template:Infobox nerve]] - for nerves of the body
 
* [[Template:Infobox nerve]] - for nerves of the body
  
<includeonly>{{#ifeq:{{SUBPAGENAME}}|sandbox||
+
<includeonly>{{Sandbox other||
 
<!-- Categories go here and interwikis go in Wikidata. -->
 
<!-- Categories go here and interwikis go in Wikidata. -->
 
[[Category:Anatomy infobox templates|Artery]]
 
[[Category:Anatomy infobox templates|Artery]]

Latest revision as of 18:03, 25 April 2020

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.

Use

Pulmonary artery
Right ventricleLeft ventricleAortic valveMitral valveLeft atriumRight atriumAortaPulmonary valveTricuspid valveInferior vena cavaSuperior vena cavaPulmonary arteryPulmonary veinDiagram of the human heart (cropped).svg
About this image
Anterior (frontal) view of the opened heart. (Pulmonary artery labeled at upper right.)
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    = 
}}


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

Unique parameters to this infobox include:

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