Template:Nerve: Difference between revisions

From WikiMSK

No edit summary
No edit summary
 
(20 intermediate revisions by the same user not shown)
Line 1: Line 1:
{{infobox|title={{{title|{{PAGENAME}}|}}}|id=nerve|
<noinclude>
 
{{#template_params:image(label=Image)
{{#if:{{{image|}}}     |{{Row/image   | {{{image}}}           }}                                 }}
|caption(label=Caption)
{{#if:{{{caption|}}}     |{{Row/caption   | {{{caption}}}             }}                                 }}
|synonym (label=Synonym;property=Has nerve synonym)
{{#if:{{{name|}}} |{{row/kv| Name| {{{name}}}           }} {{info/name}}               }}
|type (label=Nerve Type;list;property=Has nerve type)
{{#if:{{{synonym|}}} |{{row/kv| Synonym| {{{synonym}}}           }} {{info/synonym}}               }}
|branchfrom (label=Nerve Origin;list;property=Has nerve origin)
{{#if:{{{type|}}} |{{row/kv| Type| {{{type}}}           }} {{info/type}}               }}
|course (label=Nerve Course;property=Has nerve course)
{{#if:{{{from|}}} |{{row/kv| From| {{{from}}}           }} {{info/from}}               }}
|branchto (label=Nerve Destination;list;property=Has nerve branches)
{{#if:{{{to|}}} |{{row/kv| To| {{{to}}}           }} {{info/to}}               }}
|sensoryinnervates (label=Sensory Innervation;list;property=Has nerve sensory innervation)
{{#if:{{{innervates|}}} |{{row/kv| Innervates| {{{innervates}}}           }} {{info/innervates}}               }}
|motorinnervates (label=Motor Innervation;list;property=Has nerve motor innervation)
 
|conditions (label=Nerve Conditions;list;property=Has nerve 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:#eddc75; color:black;"|{{PAGENAME}}
|-
{{#if: {{{synonym|}}} | {{!-}}
! Synonym
{{!}} {{#if: {{{synonym|}}}|[[Has nerve synonym::{{{synonym}}}]]}}
}}
|-
! Nerve Type
| {{#arraymap:{{{type|}}}|,|x|[[Has nerve type::x]]}}
|-
{{#if: {{{branchfrom|}}} | {{!-}}
! Origin
{{!}} {{#if: {{{branchfrom|}}}|[[Has nerve origin::{{{branchfrom}}}]]}}
}}
|-
{{#if: {{{course|}}} | {{!-}}
! Course
{{!}} {{#if: {{{course|}}}|[[Has nerve course::{{{course}}}]]}}
}}
|-
{{#if: {{{branchto|}}} | {{!-}}
! Major Branches
{{!}} {{#if: {{{branchto|}}}|[[Has nerve branches::{{{branchto}}}]]}}
}}
|-
{{#if: {{{sensoryinnervates|}}} | {{!-}}
! Sensory innervation
{{!}} {{#if: {{{sensoryinnervates|}}}|[[Has nerve sensory innervation::{{{sensoryinnervates}}}]]}}
}}
|-
{{#if: {{{motorinnervates|}}} | {{!-}}
! Motor innervation
{{!}} {{#if: {{{motorinnervates|}}}|[[Has nerve motor innervation::{{{motorinnervates}}}]]}}
}}
|-
{{#if: {{{conditions|}}} | {{!-}}
! Conditions
{{!}} {{#if: {{{conditions|}}}|[[Has nerve conditions::{{{conditions}}}]]}}
}}
}}
|}
[[Category:Nerves]]</includeonly>
<noinclude>
<noinclude>
The ''{{t|Nerve}}'' infobox template allows you to describe nerves.
=== Template ===
=== Template ===
<pre class=mw-code>
[[Category:Infobox Templates]]
{{nerve
|image=
|caption=
|name=
|synonym=
|type=
|from=
|to=
|innervates=
}}
</pre>
== 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}}
[[Category:Infobox Templates]]
 
<templatedata>
</noinclude>
{
"params": {
"image": {},
"synonym": {},
"type": {},
"from": {},
"to": {},
"innervates": {},
"caption": {}
},
"description": "This template places an infobox about nerves. It is used at the top of articles.",
"paramOrder": [
"image",
"caption",
"synonym",
"type",
"from",
"to",
"innervates"
]
}
</templatedata></noinclude>

Latest revision as of 10:43, 17 April 2022

This is the "Nerve" template.

It should be called in the following format:

{{Nerve
|image=
|caption=
|synonym=
|type=
|branchfrom=
|course=
|branchto=
|sensoryinnervates=
|motorinnervates=
|conditions=
}}

Edit the page to see the template text.


Template

Articles using Template