Nothing Special   »   [go: up one dir, main page]

Template:Chembox Pharmacology: Difference between revisions

Content deleted Content added
Add parameter check, using TemplatePar. See Category:Chemical articles with unknown parameter in Chembox
invoke TemplatePar update list (DrugBank)
Line 2:
|{{Chembox headerbar
|header=Pharmacology
|addcats=<!-- }}
-->{{#if:{{{PregCat_CA|}}}{{{PregCat_UK|}}}
|[[Category:Chemical infoboxes with misplaced or deprecated parameters|U*UK-CA]]}}<!--
-->{{#ifeq:{{{1|¬PresenT}}}|¬PresenT
||[[Category:Chemical infoboxes with misplaced or deprecated parameters|3*]] }} }}
{{#if:{{{ATCCode|}}}{{{ATCCode_prefix|}}}{{{ATCCode_suffix|}}}{{{ATC_Supplemental|}}} |{{Chembox ATCCode |ATCCode={{{ATCCode|}}} |ATCCode_prefix={{{ATCCode_prefix|}}} |ATCCode_suffix={{{ATCCode_suffix|}}} |ATC_Supplemental={{{ATC_Supplemental|}}} |ATCCode_vet={{#switch:{{lc:{{{ATCvet|}}}}}|y|yes|true|1|q|vet=yes||#default=no}} }}}}<!--
DrugBank Note: DrugBank is also a parameter for Chembox Identifiers -->
Line 53 ⟶ 49:
|check
|template=Template:Chembox Pharmacology
|all= |opt= ATCCode= ATCCode_prefix= ATCCode_suffix= ATCCode_Supplemental= ATCCode_vet= DrugBank= Bioavail= AdminRoutes= Metabolism= Metabolites= HalfLife= ProteinBound= Excretion= Licence_EU= Licence_US= Legal_status= Legal_AU= Legal_CA= Legal_UK= Legal_US= PregCat= PregCat_AU= PregCat_US= Dependence_liability= DrugBank= DrugBank_Comment= DrugBank_Ref= DrugBank1= DrugBank1_Comment= DrugBank1_Ref= DrugBank2= DrugBank2_Comment= DrugBank2_Ref= DrugBank3= DrugBank3_Comment= DrugBank3_Ref= DrugBank4= DrugBank4_Comment= DrugBank4_Ref= DrugBank5= DrugBank5_Comment= DrugBank5_Ref= DrugBankOther=
|cat=Chemical articles with unknown parameter in Chembox
|format=0|preview=1|errNS=0