Template:Infobox drug/formatATC

{{#if:{{{ATC_prefix|}}}{{{ATC_supplemental|}}}|{{#if:{{{ix_label|}}}|{{{ix_label|}}}: }}}}{{#switch:{{{ATC_prefix|}}}

|={{{ATC_supplemental|}}}

|None|none={{{ATC_prefix|}}}{{main other|Category:Drugs not assigned an ATC code}}

|#default=ATC_code_{{{ATC_prefix}}}{{#if:{{{ATC_suffix|}}} | ([https://www.whocc.no/atc_ddd_index/?code={{{ATC_prefix}}}{{{ATC_suffix|}}} WHO])}} {{{ATC_supplemental|}}}

}}{{documentation}}