Template:Procedure: Difference between revisions

From WikiMSK

No edit summary
No edit summary
Line 1: Line 1:
{{infobox|title={{{title|{{PAGENAME}}|}}}|id=procedure|
<noinclude>
 
{{#template_params:image(label=Image)
{{#if:{{{image|}}}     |{{Row/image    | {{{image}}}             }}                                 }}
|caption(label=Caption)
{{#if:{{{caption|}}}     |{{Row/caption    | {{{caption}}}             }}                                  }}
|synonym (label=Synonym;property=Has muscle synonym)
<!-- basics-->
|indication (label=Muscle Type;list;property=Has muscle type)
{{#if:{{{indication|}}}     |{{row/kv| Indication| {{{indication}}}              }} {{info/indication}}                   }}
|syringe (label=Muscle Type;list;property=Has muscle bones)
{{#if:{{{syringe|}}}         |{{row/kv| Syringe  | {{{syringe}}}                 }} {{info/syringe}}                      }}
|needle (label=Muscle Type;list;property=Has muscle feature)
{{#if:{{{needle|}}}         |{{row/kv| Needle    | {{{needle}}}                  }} {{info/needle}}                      }}
|injectate (label=Muscle Type;list;property=Has muscle origin)
{{#if:{{{injectate|}}}       |{{row/kv| Injectate | {{{injectate}}}                }} {{info/injectate}}                    }}
|steroid (label=Muscle Type;list;property=Has muscle insertion)
{{#if:{{{steroid|}}}         |{{row/kv| Steroid  | {{{steroid}}}                 }} {{info/steroid}}                      }}
|local (label=Muscle Type;list;property=Has muscle action)
{{#if:{{{local|}}}           |{{row/kv| Local    | {{{local}}}                    }} {{info/local}}                       }}
|volume (label=Muscle Type;list;property=Has muscle synergists)
{{#if:{{{volume|}}}         |{{row/kv| Volume    | {{{volume}}}                   }} {{info/volume}}                      }}
}}
</noinclude><includeonly>{{#if:{{{quality|}}}|{{{{{quality}}}}}}}
{| id="procedure" class="infobox side"
| colspan="2" |[[File:{{{image|}}}]]
|-
| colspan="2" |<em><center>{{{caption|}}}</center></em>
|-
! colspan="2" class="title" style="background-color:#efb5b5; color:black;"|{{PAGENAME}}
|-
{{#if: {{{synonym|}}} | {{!-}}
! Synonym
{{!}} {{#if: {{{synonym|}}}|[[Has procedure synonym::{{{synonym}}}]]}}
}}
|-
! Indication
| {{#arraymap:{{{indication|}}}|,|x|[[Has procedure indication::x]]}}
|-
{{#if: {{{syringe|}}} | {{!-}}
! Syringe
{{!}} {{#if: {{{syringe|}}}|[[Has procedure syringe::{{{syringe}}}]]}}
}}
|-
{{#if: {{{needle|}}} | {{!-}}
! Needle
{{!}} {{#if: {{{needle|}}}|[[Has procedure needle::{{{needle}}}]]}}
}}
}}
|-
{{#if: {{{injectate|}}} | {{!-}}
! Injectate
{{!}} {{#if: {{{injectate|}}}|[[Has procedure injectate::{{{injectate}}}]]}}
}}
|-
{{#if: {{{steroid|}}} | {{!-}}
! Steroid
{{!}} {{#if: {{{steroid|}}}|[[Has procedure steroid::{{{steroid}}}]]}}
}}
|-
{{#if: {{{local|}}} | {{!-}}
! Local
{{!}} {{#if: {{{local|}}}|[[Has procedure local::{{{local}}}]]}}
}}
|-
{{#if: {{{volume|}}} | {{!-}}
! Volume
{{!}} {{#if: {{{volume|}}}|[[Has procedure volume::{{{volume}}}]]}}
}}
|}
</includeonly>
<noinclude>
<noinclude>
The ''{{t|Procedure}}'' infobox template allows you to describe procedures
=== Template ===
=== Template ===
<pre class=mw-code>
[[Category:Infobox Templates]]
{{procedure
[[Category:Infoboxes]]
|image=
|caption=
|indication=
|syringe=
|needle=
|injectate=
|steroid=
|local=
|volume=
}}
</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]]
</noinclude>
<templatedata>
{
"params": {
"image": {},
"indication": {},
"syringe": {},
"needle": {},
"injectate": {},
"steroid": {},
"local": {},
"volume": {},
"caption": {}
},
"description": "This template places an infobox about procedures. It is used at the top of articles.",
"paramOrder": [
"image",
"caption",
"indication",
"syringe",
"needle",
"injectate",
"steroid",
"local",
"volume"
]
}
</templatedata></noinclude>

Revision as of 21:16, 12 April 2022

This is the "Procedure" template.

It should be called in the following format:

{{Procedure
|image=
|caption=
|synonym=
|indication=
|syringe=
|needle=
|injectate=
|steroid=
|local=
|volume=
}}

Edit the page to see the template text.


Template

Articles using Template