Template:Muscle: Difference between revisions

From WikiMSK

No edit summary
No edit summary
 
(16 intermediate revisions by the same user not shown)
Line 1: Line 1:
{{infobox|title={{{title|{{PAGENAME}}|}}}|id=muscle|
<noinclude>
 
{{#template_params:image(label=Image)
{{#if:{{{image|}}}     |{{Row/image   | {{{image}}}             }}                                 }}
|caption(label=Caption)
 
|synonym (label=Synonym;property=Has muscle synonym)
{{#if:{{{name|}}}     |{{row/kv| Name| {{{name}}}               }} {{info/name}}                   }}
|type (label=Muscle Type;list;property=Has muscle type)
{{#if:{{{synonym|}}} |{{row/kv| Synonym| {{{synonym}}}           }} {{info/synonym}}               }}
|bones (label=Muscle Type;list;property=Has muscle bones)
{{#if:{{{origin|}}} |{{row/kv| Origin| {{{origin}}}           }} {{info/origin}}                }}
|feature (label=Muscle Type;list;property=Has muscle feature)
{{#if:{{{insertion|}}} |{{row/kv| Insertion | {{{insertion}}}           }} {{info/insertion}}                }}
|origin (label=Muscle Type;list;property=Has muscle origin)
{{#if:{{{action|}}}   |{{row/kv| Action| {{{action}}}        }} {{info/action}}                 }}
|insertion (label=Muscle Type;list;property=Has muscle insertion)
{{#if:{{{synergists|}}}   |{{row/kv| Synergists| {{{synergists}}}       }} {{info/synergists}}                }}
|action (label=Muscle Type;list;property=Has muscle action)
{{#if:{{{antagonists|}}}   |{{row/kv| Antagonists| {{{antagonists}}}       }} {{info/antagonists}}                 }}
|synergists (label=Muscle Type;list;property=Has muscle synergists)
{{#if:{{{nerve supply|}}}   |{{row/kv| Nerve Supply| {{{nerve supply}}}       }} {{info/nerve supply}}                }}
|antagonists (label=Muscle Type;list;property=Has muscle antagonists)
{{#if:{{{blood supply|}}}   |{{row/kv| Blood Supply| {{{blood supply}}}       }} {{info/blood supply}}                 }}
|spinal innervation (label=Muscle Type;list;property=Has muscle innervation spinal)
 
|peripheral innervation (label=Muscle Type;list;property=Has muscle innervation peripheral)
|blood supply (label=Muscle Type;list;property=Has muscle vasculature)
|conditions (label=Muscle Type;list;property=Has muscle conditions)
}}
</noinclude><includeonly>{{#if:{{{quality|}}}|{{{{{quality}}}}}}}
{| id="anatomy" class="infobox side"
{{#if: {{{image|}}} | {{!-}}
{{!}} {{#if: {{{image|}}}| colspan="2" class="infobox-image"{{!}}[[File:{{{image|}}}]]  }}
}}
{{#if: {{{caption|}}} | {{!-}}
{{!}} {{#if: {{{caption|}}}| colspan="2" class="infobox-image"{{!}}<em><center>{{{caption|}}}</center></em>  }}
}}
|-
! colspan="2" class="title" style="background-color:#efb5b5; color:black;"|{{PAGENAME}}
|-
{{#if: {{{synonym|}}} | {{!-}}
! Synonym
{{!}} {{#if: {{{synonym|}}}|[[Has muscle synonym::{{{synonym}}}]]}}
}}
|-
! Muscle Type
| {{#arraymap:{{{type|}}}|,|x|[[Has muscle type::x]]}}
|-
{{#if: {{{bones|}}} | {{!-}}
! Feature
{{!}} {{#if: {{{bones|}}}|[[Has muscle bones::{{{bones}}}]]}}
}}
|-
{{#if: {{{feature|}}} | {{!-}}
! Feature
{{!}} {{#if: {{{feature|}}}|[[Has muscle feature::{{{feature}}}]]}}
}}
|-
! Origin
| [[Has muscle origin::{{{origin|}}}]]
|-
! Insertion
| [[Has muscle insertion::{{{insertion|}}}]]
|-
! Action
| [[Has muscle action::{{{action|}}}]]
|-
! Synergists
| {{#arraymap:{{{synergists|}}}|,|x|[[Has muscle synergists::x]]}}
|-
! Antagonists
| {{#arraymap:{{{antagonists|}}}|,|x|[[Has muscle antagonists::x]]}}
|-
! Spinal innervation
| {{#arraymap:{{{spinal innervation|}}}|,|x|[[Has muscle innervation spinal::x]]}}
|-
! Peripheral Innervation
| {{#arraymap:{{{peripheral innervation|}}}|,|x|[[Has muscle innervation peripheral::x]]}}
|-
! Vasculature
| [[Has muscle vasculature::{{{blood supply|}}}]]
|-
{{#if: {{{conditions|}}} | {{!-}}
! Feature
{{!}} {{#if: {{{conditions|}}}|[[Has muscle conditions::{{{conditions}}}]]}}
}}
}}
|}
[[Category:Muscles]]</includeonly>
<noinclude>
<noinclude>
The ''{{t|muscle}}'' infobox template allows you to describe muscular structures.
=== Template ===
=== Template ===
<pre class=mw-code>
{{muscle
|image=
|name=
|synonym=
|origin=
|insertion=
|action=
|synergists=
|antagonists=
|nerve supply=
|blood supply=
}}
</pre>
[[Category:Infobox Templates]]
[[Category:Infobox Templates]]
== Articles using Template ==
== Articles using Template ==
{{for|Special:WhatLinksHere/{{FULLPAGENAME}}|a full listing|here|pre=This list is limited to 100 pages}}
{{for|Special:WhatLinksHere/{{FULLPAGENAME}}|a full listing|here|pre=This list is limited to 100 pages}}
{{Special:WhatLinksHere/{{FULLPAGENAME}}|namespace=0|limit=100}}
{{Special:WhatLinksHere/{{FULLPAGENAME}}|namespace=0|limit=100}}
<templatedata>
 
{
</noinclude>
"params": {
"image": {},
"synonym": {},
"origin": {},
"insertion": {},
"action": {},
"synergists": {},
"antagonists": {},
"nerve supply": {},
"blood supply": {}
},
"description": "This template places an infobox about muscles. It is used at the top of articles."
}
</templatedata></noinclude>

Latest revision as of 10:41, 17 April 2022

This is the "Muscle" template.

It should be called in the following format:

{{Muscle
|image=
|caption=
|synonym=
|type=
|bones=
|feature=
|origin=
|insertion=
|action=
|synergists=
|antagonists=
|spinal innervation=
|peripheral innervation=
|blood supply=
|conditions=
}}

Edit the page to see the template text.


Template

Articles using Template