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

From blackwiki
Jump to navigation Jump to search
imported>Tom (LT)
(update)
imported>Tom (LT)
(update and sidebar)
Line 2: Line 2:
 
<!-- Place categories where indicated at the bottom of this page and interwikis at Wikidata (see [[Wikipedia:Wikidata]]) -->
 
<!-- 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|P1323|P1402}}
 
  
 
{{tld|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.
 
{{tld|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==
 
==Usage==
 +
{{Anatomy infoboxes}}
 
<pre style="overflow:auto">{{Infobox muscle
 
<pre style="overflow:auto">{{Infobox muscle
 
| Name =  
 
| Name =  
Line 57: Line 57:
 
| Origin      = combined [[rectus femoris]] and [[vastus]] muscles
 
| Origin      = combined [[rectus femoris]] and [[vastus]] muscles
 
| Insertion    =
 
| Insertion    =
| Blood        = [[femoral artery]]
+
| Artery = [[femoral artery]]
 
| Nerve        = [[Femoral nerve]]
 
| Nerve        = [[Femoral nerve]]
 
| Action      = [[Knee]] extension; Hip flexion (R.Fem. only)
 
| Action      = [[Knee]] extension; Hip flexion (R.Fem. only)
Line 72: Line 72:
 
| Origin      = combined rectus femoris and [[vastus]] muscles
 
| Origin      = combined rectus femoris and [[vastus]] muscles
 
| Insertion    =
 
| Insertion    =
| Blood        = [[femoral artery]]
+
| Artery = [[femoral artery]]
 
| Nerve        = [[Femoral nerve]]
 
| Nerve        = [[Femoral nerve]]
 
| Action      = [[Knee]] extension; Hip flexion (R.Fem. only)
 
| Action      = [[Knee]] extension; Hip flexion (R.Fem. only)

Revision as of 22:51, 2 March 2018

{{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 = 
| Artery = 
| Nerve = 
| Vein = 
| Action = 
| Antagonist = 
| Pronunciation = 
}}

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
Artery = 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    =
| Artery = [[femoral artery]]
| Nerve        = [[Femoral nerve]]
| Action       = [[Knee]] extension; Hip flexion (R.Fem. only)
| Antagonist   = [[Hamstring]]
}}

Tracking category

See also