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

From blackwiki
Jump to navigation Jump to search
imported>Tom (LT)
(→‎Example: update)
imported>Tom (LT)
(update)
Line 26: Line 26:
 
| Action =  
 
| Action =  
 
| Antagonist =  
 
| Antagonist =  
| GraySubject =
 
| GrayPage =
 
| MeshName =
 
| MeshYear =
 
| MeshNumber =
 
| Dorlands =
 
| DorlandsSuf =
 
| DorlandsID =
 
| DorlandsPre =
 
 
}}</pre>
 
}}</pre>
  
==Parameters==
+
==Standard parameters==
The template parameters are (note case sensitivity):
+
{{Infobox anatomy/doc/transcludetable}}
 +
 
 +
==Unique parameters==
 +
The template parameters unique to this template are (note case sensitivity):
 
{|
 
{|
|-
 
| Name        ||= English name for structure.
 
|-
 
| Latin      ||= Latin name for structure.
 
|-
 
| GraySubject ||= Gray's Anatomy subject number, such as: 189. For details, see {{tl|Gray's Anatomy link}}.
 
|-
 
| GrayPage    ||= Gray's Anatomy page number, such as: 825. For details, see {{tl|Gray's Anatomy link}}.
 
|-
 
| 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=250).
 
|-
 
| Caption2    ||= caption under 2nd top image.
 
 
|-
 
|-
 
| Origin      ||= any origin text
 
| Origin      ||= any origin text
Line 72: Line 46:
 
|-
 
|-
 
| Antagonist  ||= opposing muscle
 
| Antagonist  ||= opposing muscle
|-
 
| MeshName    ||= MeSH name
 
|-
 
| MeshNumber  ||= MeSH number code
 
|-
 
| Dorlands    ||= Dorlands url number, such as: nine/000956217 (before .htm in url).
 
|-
 
| DorlandsID  ||= Dorlands article name as you want it to appear in the infobox, such as "Quadriceps".
 
 
|}
 
|}
 
Most parameters begin with a capital letter.
 
Most parameters begin with a capital letter.
 
==TA98 and FMA==
 
The values for the [[Terminologia Anatomica|TA]] code and [[Foundational Model of Anatomy|FMA]] identifier are specified in Wikidata.  For more information on these two codes, see [[Template:TA98]] and [[Template:FMA]].
 
  
 
==Example==
 
==Example==
Line 90: Line 53:
 
| Name        = Quadriceps femoris muscle
 
| Name        = Quadriceps femoris muscle
 
| Latin        = musculus quadriceps femoris
 
| Latin        = musculus quadriceps femoris
| GraySubject  = 128
 
| GrayPage    = 470
 
 
| Image        = Illu lower extremity muscles.jpg
 
| Image        = Illu lower extremity muscles.jpg
 
| Caption      = Muscles of lower extremity.
 
| Caption      = Muscles of lower extremity.
Line 100: Line 61:
 
| Action      = [[Knee]] extension; Hip flexion (R.Fem. only)
 
| Action      = [[Knee]] extension; Hip flexion (R.Fem. only)
 
| Antagonist  = [[Hamstring]]
 
| Antagonist  = [[Hamstring]]
| MeshName    =
 
| MeshNumber  =
 
| TA98        = A04.7.02.017
 
| FMA          = 22428
 
 
}}
 
}}
 
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 110: Line 67:
 
| Name        = Quadriceps femoris muscle
 
| Name        = Quadriceps femoris muscle
 
| Latin        = musculus quadriceps femoris
 
| Latin        = musculus quadriceps femoris
| GraySubject  = 128
 
| GrayPage    = 470
 
 
| Image        = Illu lower extremity muscles.jpg
 
| Image        = Illu lower extremity muscles.jpg
 
| Width        = 250
 
| Width        = 250
Line 121: Line 76:
 
| Action      = [[Knee]] extension; Hip flexion (R.Fem. only)
 
| Action      = [[Knee]] extension; Hip flexion (R.Fem. only)
 
| Antagonist  = [[Hamstring]]
 
| Antagonist  = [[Hamstring]]
| MeshName    =
 
| MeshNumber  =
 
<!-- Note: TA and FMA values comes from WikiData in the article -->
 
 
}}
 
}}
 
</pre>
 
</pre>
  
 
== Tracking category ==
 
== Tracking category ==
* {{clc|Medicine infobox template using unsupported parameters}}
+
* {{clc|Anatomy infobox template using unsupported parameters}}
  
 
== See also ==
 
== See also ==
 
* [[Template:Infobox anatomy]]
 
* [[Template:Infobox anatomy]]
* [[Template:Infobox brain]] - for parts of the brain
+
* [[Template:Infobox ligament]] - for ligaments
 
* [[Template:Infobox bone]] - for bones of the body
 
* [[Template:Infobox bone]] - for bones of the body
* [[Template:Infobox nerve]] - for nerves of the body
 
  
 
<includeonly>{{#ifeq:{{SUBPAGENAME}}|sandbox||
 
<includeonly>{{#ifeq:{{SUBPAGENAME}}|sandbox||

Revision as of 01:14, 18 February 2018

Template:Uses Wikidata

{{Infobox muscle}} displays a right-side infobox showing information about muscles of the body, allowing 2 images to be displayed at the top of the box.

Usage

{{Infobox muscle
| Name = 
| Image = 
| Width = 
| Caption = 
| Image2 = 
| Width2 = 
| Caption2 = 
| Latin = 
| Greek = 
| System = 
| Origin = 
| Insertion = 
| Blood = 
| Artery = 
| Nerve = 
| Vein = 
| Action = 
| Antagonist = 
}}

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 (note case sensitivity):

Origin = any origin text
Insertion = any insertion text
Blood = related arteries
Nerve = related nerves
Action = use, such as "Knee extension"
Antagonist = opposing muscle

Most parameters begin with a capital letter.

Example

Quadriceps femoris muscle
Illu lower extremity muscles.jpg
Muscles of lower extremity.
Details
SynonymsScript error: No such module "If empty".
Origincombined rectus femoris and vastus muscles
Arteryfemoral artery
NerveFemoral nerve
ActionsKnee extension; Hip flexion (R.Fem. only)
AntagonistHamstring
Identifiers
Latinmusculus quadriceps femoris
MeSHTemplate:Wikidata
NeuroNamesTemplate:Wikidata
NeuroLex IDTemplate:Wikidata
TA98Template:TA98
TA2Template:Wikidata
THTemplate:Str rep.html {{#property:P1694}}
TETemplate:TerminologiaEmbryologica
FMA{{#property:P1402}}
Anatomical terms of muscle
[[[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 muscle
| Name         = Quadriceps femoris muscle
| Latin        = musculus quadriceps femoris
| Image        = Illu lower extremity muscles.jpg
| Width        = 250
| Caption      = Muscles of lower extremity
| Origin       = combined rectus femoris and [[vastus]] muscles
| Insertion    =
| Blood        = [[femoral artery]]
| Nerve        = [[Femoral nerve]]
| Action       = [[Knee]] extension; Hip flexion (R.Fem. only)
| Antagonist   = [[Hamstring]]
}}

Tracking category

See also