Template:Nerve: Difference between revisions

From WikiMSK

No edit summary
No edit summary
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}}ย  ย  ย  ย  ย  ย  ย  ย  }}
|from (label=Nerve Origin;list;property=Has nerve origin)
{{#if:{{{type|}}} |{{row/kv| Type| {{{type}}} ย  ย  ย  ย  ย  }} {{info/type}}ย  ย  ย  ย  ย  ย  ย  ย  }}
|to (label=Nerve Destination;list;property=Has nerve destination)
{{#if:{{{from|}}} |{{row/kv| From| {{{from}}} ย  ย  ย  ย  ย  }} {{info/from}}ย  ย  ย  ย  ย  ย  ย  ย  }}
|ramifications (label=Nerve Innervation;list;property=Has nerve ramifications)
{{#if:{{{to|}}} |{{row/kv| To| {{{to}}} ย  ย  ย  ย  ย  }} {{info/to}} ย  ย  ย  ย  ย  ย  ย  }}
|conditions (label=Muscle Type;list;property=Has nerve conditions)
{{#if:{{{innervates|}}} |{{row/kv| Innervates| {{{innervates}}} ย  ย  ย  ย  ย  }} {{info/innervates}} ย  ย  ย  ย  ย  ย  ย  }}
}}
ย 
</noinclude>
<includeonly>{{{{{quality}}}}}
{| id="anatomy" class="infobox side"
| colspan="2" |[[File:{{{image|}}}]]
|-
| colspan="2" |<em><center>{{{caption|}}}</center></em>
|-
! colspan="2" class="title"|{{PAGENAME}}
|-
{{#if: {{{synonym|}}} | {{!-}}
! Synonym
{{!}} {{#if: {{{synonym|}}}|[[Has nerve synonym::{{{synonym}}}]]}}
}}
|-
! Nerve Type
| {{#arraymap:{{{type|}}}|,|x|[[Has nerve type::x]]}}
|-
{{#if: {{{from|}}} | {{!-}}
! From
{{!}} {{#if: {{{from|}}}|[[Has nerve origin::{{{from}}}]]}}
}}
|-
{{#if: {{{to|}}} | {{!-}}
! To
{{!}} {{#if: {{{to|}}}|[[Has nerve destination::{{{to}}}]]}}
}}
|-
{{#if: {{{ramifications|}}} | {{!-}}
! To
{{!}} {{#if: {{{ramifications|}}}|[[Has nerve ramifications::{{{ramifications}}}]]}}
}}
}}
|-
! Conditions
| [[Has nerve conditions::{{{conditions|}}}]]
|}
[[Category:Muscles]]</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>

Revision as of 07:44, 8 April 2022

This is the "Nerve" template.

It should be called in the following format:

{{Nerve
|image=
|caption=
|synonym=
|type=
|from=
|to=
|ramifications=
|conditions=
}}

Edit the page to see the template text.


Template

Articles using Template