Misplaced Pages

Template:Infobox drug/maintenance categories: Difference between revisions

Article snapshot taken from Wikipedia with creative commons attribution-sharealike license. Give it a read and then ask your questions in the chat. We can research this topic together.
< Template:Infobox drug Browse history interactively← Previous editNext edit →Content deleted Content addedVisualWikitext
Revision as of 13:24, 26 February 2016 view sourceDePiep (talk | contribs)Extended confirmed users294,285 edits adjust for new INN parameter. see talkpage re Title← Previous edit Revision as of 12:49, 2 April 2016 view source DePiep (talk | contribs)Extended confirmed users294,285 edits InChI, InChIKey tracking for removal. rm chirality tracking.Next edit →
Line 1: Line 1:
{{main other |<!-- {{main other |<!--
Parameter names starting with _underscore are mere internal constructs, not from article input Parameter names starting with _ underscore are mere internal constructs, not from article input


TITLE: TITLE:
-->{{#if:{{{drug_name|}}}{{{INN|}}} | [[Category:Infobox drug articles with non-default infobox title |<!-- -->{{#if:{{{drug_name|}}}{{{INN|}}} | [[Category:Infobox drug articles with non-default infobox title |<!-- catsort: -->{{#switch:{{{INN|}}}<!--
-->| = {{#ifeq:{{{drug_name|}}} |{{PAGENAME}} |&#x20; |{{PAGENAME}} }}<!--
catsort: -->
-->| None | none = *<!-- not an INN name
{{#switch:{{{INN|}}}
| = {{#ifeq:{{{drug_name|}}} |{{PAGENAME}} |&#x20; |{{PAGENAME}} }} -->| {{{drug_name|{{PAGENAME}}}}} = &#x3d;<!-- =minus-sign; INN=title (bad)
| None | none = *<!-- not an INN name --> -->| #default = _ <!-- has INN set
-->}}]] }}<!--
| {{{drug_name|{{PAGENAME}}}}} = &#x3d;<!-- =-sign; INN=title (bad) -->
| #default = _ <!-- has INN set -->}}]] }}<!--


IMAGES: IMAGES:
Line 24: Line 23:


TEMPORAL/TRACKING: eg Dalton or u unit for molar mass, to edit (standard=g/mol): TEMPORAL/TRACKING: eg Dalton or u unit for molar mass, to edit (standard=g/mol):
-->{{#if:{{{_molmassHasNonstandardUnit|}}} |] }}<!-- --><!-- TEMP INEFFECT for InChI mass-tracking. 02 Apr 2016 {{#if:{{{_molmassHasNonstandardUnit|}}} |] }}--><!--
-->{{#if:{{{_hasChirality|}}} |] }}<!-- -->{{#if: {{#if:{{{_xinchi|}}} |1}}{{#if:{{{_xkey|}}} |1}}|<!-- at least one has input,
check if params inchi, inchikey are deleteable (=when equal or empty)
-->{{#ifexpr:<!--
-->{{#expr: {{#switch:{{{_xinchi|}}}
| | _BLANK_=10
| {{{_stdinchi|}}}=20
| #default=0}}<!--
--> * {{#switch:{{{_xkey|}}}
| | _BLANK_=1
| {{{_stdkey|}}}=2
| #default=0}}<!--
--> }} > 0 | ]}}<!--

-->}}<!--


TYPE: check for contradictions TYPE: check for contradictions
Line 55: Line 67:


SPECIAL SPECIAL
-->{{#if:{{{chemical_formula|}}} |] }}<!-- -->{{#if:{{{_chemical_formula|}}} |] }}<!--
-->{{#ifexist:{{{_datapage|}}} |] }}<!-- -->{{#ifexist:{{{_datapage|}}} |] }}<!--
-->{{#if:{{{_ATC_prefix_supplemental|}}} ||] }}<!-- -->{{#if:{{{_ATC_prefix_supplemental|}}} ||] }}<!--

Revision as of 12:49, 2 April 2016

Template documentation[view] [edit] [history] [purge]
WarningThis template is used on approximately 9,800 pages and changes may be widely noticed. Test changes in the template's /sandbox or /testcases subpages, or in your own user subpage. Consider discussing changes on the talk page before implementing them.
For |container_only=yes, see {{Infobox drug/maintenance categories/container only}}.

See also

See Category:Infobox drug tracking categories. Most maintenance categories are added through this subtemplate.

The above documentation is transcluded from Template:Infobox drug/maintenance categories/doc. (edit | history)
Editors can experiment in this template's sandbox (edit | diff) and testcases (create) pages.
Add categories to the /doc subpage. Subpages of this template. Category: