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

From blackwiki
Jump to navigation Jump to search
imported>Tom (LT)
(→‎Parameters: update documentation)
imported>Tom (LT)
(→‎Example: update)
Line 98: Line 98:
 
| Blood        = [[femoral artery]]
 
| Blood        = [[femoral artery]]
 
| Nerve        = [[Femoral nerve]]
 
| Nerve        = [[Femoral nerve]]
| NerveRoot    =
 
 
| Action      = [[Knee]] extension; Hip flexion (R.Fem. only)
 
| Action      = [[Knee]] extension; Hip flexion (R.Fem. only)
| PhysicalExam =
 
 
| Antagonist  = [[Hamstring]]
 
| Antagonist  = [[Hamstring]]
 
| MeshName    =
 
| MeshName    =
Line 121: Line 119:
 
| Blood        = [[femoral artery]]
 
| Blood        = [[femoral artery]]
 
| Nerve        = [[Femoral nerve]]
 
| Nerve        = [[Femoral nerve]]
| NerveRoot    =
 
 
| Action      = [[Knee]] extension; Hip flexion (R.Fem. only)
 
| Action      = [[Knee]] extension; Hip flexion (R.Fem. only)
| PhysicalExam =
 
 
| Antagonist  = [[Hamstring]]
 
| Antagonist  = [[Hamstring]]
 
| MeshName    =
 
| MeshName    =

Revision as of 01:58, 28 January 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 = 
| GraySubject = 
| GrayPage = 
| MeshName = 
| MeshYear = 
| MeshNumber = 
| Dorlands = 
| DorlandsSuf = 
| DorlandsID = 
| DorlandsPre = 
}}

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. For details, see {{Gray's Anatomy link}}.
GrayPage = Gray's Anatomy page number, such as: 825. For details, see {{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
Insertion = any insertion text
Blood = related arteries
Nerve = related nerves
Action = use, such as "Knee extension"
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.

TA98 and FMA

The values for the TA code and FMA identifier are specified in Wikidata. For more information on these two codes, see Template:TA98 and Template:FMA.

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
| GraySubject  = 128
| GrayPage     = 470
| 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]]
| MeshName     =
| MeshNumber   =
<!-- Note: TA and FMA values comes from WikiData in the article -->
}}

Tracking category

See also