Template:Cite pmid

From WikiMD free wellness and medical encyclopedia
Jump to: navigation, search

{{ safesubst:#invoke:Unsubst||$params=old,by,new,note,historical,nocat|date=__DATE__|$B= {{#invoke:Message box|ombox}}{{#ifeq:Template:Nocat|true

  ||{{#switch:
 {{#if:
 | {{{demospace}}}    
 | {{#ifeq:Template|Template
   | template
   | other
   }}
 }}

| template = {{#switch:

 {{#if:
 | {{#if:{{#titleparts:{{{page}}}|0|3}}
   | subsubpage    
   | {{#if:{{#titleparts:{{{page}}}|0|2}}
     | subpage
     | basepage
     }}
   }}
 | {{#if:{{#titleparts:Template:Cite pmid|0|3}}
   | subsubpage    
   | {{#if:{{#titleparts:Template:Cite pmid|0|2}}
     | subpage
     | basepage
     }}
   }}
 }}

| basepage = {{#ifeq:Cite pmid|Cite pmid

           |{{#if:yes||{{#ifeq:{{ safesubst:#if: {{safesubst:#invoke:Ns has subpages|main}} 
 | {{ safesubst:#titleparts:{{ safesubst:#if:|{{{1}}}|Template:Cite pmid}}|1}}
 | {{ safesubst:#if:|{{{1}}}|Template:Cite pmid}}

}}|Wikipedia:Template messages||{{#ifexpr:{{#if:Template|0|1}}+{{#ifeq:no|yes|0|1}}

|{{#if:
 |{{#ifexist:Category:Deprecated templates from 
   ||}}
 |[[Category:{{#if:
              |{{{5}}}|Deprecated templates}}]]}}{{#if:
     |[[Category:{{{4}}}]]}}}}}}}}
         }}
      

| subpage = | subsubpage = }}

| other | #default = {{#ifeq:Template:cite pmid|Template:Cite pmid||}}

}}

 }}

}}{{#invoke:documentation|main}}