Difference between revisions of "Template:Infobox muscle/doc"
Jump to navigation
Jump to search
imported>Zyxw m (add Category:Infobox templates using Wikidata (via JWB)) |
imported>Tom (LT) (→Usage: remove unused parameters per talk page discussion) |
||
| Line 15: | Line 15: | ||
| Width2 = | | Width2 = | ||
| Caption2 = | | Caption2 = | ||
| − | |||
| − | |||
| − | |||
| Latin = | | Latin = | ||
| Greek = | | Greek = | ||
| Line 26: | Line 23: | ||
| Artery = | | Artery = | ||
| Nerve = | | Nerve = | ||
| − | |||
| Vein = | | Vein = | ||
| Action = | | Action = | ||
| − | |||
| Antagonist = | | Antagonist = | ||
| − | |||
| GraySubject = | | GraySubject = | ||
| GrayPage = | | GrayPage = | ||
Revision as of 01:56, 28 January 2018
| This is a documentation subpage for Template:Infobox muscle. It contains usage information, categories and other content that is not part of the original template page. |
| This template uses Lua: |
{{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. |
| ImageMap | = an image map template |
| MapCaption | = caption for the image map |
| Origin | = any origin text |
| Insertion | = any insertion text |
| Blood | = related arteries |
| Nerve | = related nerves |
| NerveRoot | = related nerve root(s) |
| Action | = use, such as "Knee extension" |
| PhysicalExam | = The physical exam procedure(s) used to test the 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.
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 | |
|---|---|
| File:Illu lower extremity muscles.jpg Muscles of lower extremity. | |
| Details | |
| Synonyms | Script error: No such module "If empty". |
| Origin | combined rectus femoris and vastus muscles |
| Artery | femoral artery |
| Nerve | Femoral nerve |
| Actions | Knee extension; Hip flexion (R.Fem. only) |
| Antagonist | Hamstring |
| Identifiers | |
| Latin | musculus quadriceps femoris |
| MeSH | Template:Wikidata |
| NeuroNames | Template:Wikidata |
| NeuroLex ID | Template:Wikidata |
| TA98 | Template:TA98 |
| TA2 | Template:Wikidata |
| TH | Template:Str rep.html {{#property:P1694}} |
| TE | Template: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]]
| NerveRoot =
| Action = [[Knee]] extension; Hip flexion (R.Fem. only)
| PhysicalExam =
| Antagonist = [[Hamstring]]
| MeshName =
| MeshNumber =
<!-- Note: TA and FMA values comes from WikiData in the article -->
}}
Tracking category
See also
- Template:Infobox anatomy
- Template:Infobox brain - for parts of the brain
- Template:Infobox bone - for bones of the body
- Template:Infobox nerve - for nerves of the body