Difference between revisions of "Template:Infobox drug/testcases2"
Jump to navigation
Jump to search
imported>Maczkopeti (Merging /iə/ per consensus) |
imported>Frietjes (sandbox2 was deleted) |
||
| Line 1: | Line 1: | ||
{{Infobox drug/testcases/navbox|state=collapsed}} | {{Infobox drug/testcases/navbox|state=collapsed}} | ||
| − | * '''Tests the | + | * '''Tests the sandbox''': {{t links|Infobox drug/sandbox}} |
:Current test: Licence, title | :Current test: Licence, title | ||
| − | To test / | + | To test /sandbox, the testcase should look like: |
<pre> | <pre> | ||
{{Testcase table | {{Testcase table | ||
| − | |||
| − | |||
<-- ... (regular parameters go here) --> | <-- ... (regular parameters go here) --> | ||
}} | }} | ||
| Line 16: | Line 14: | ||
{{purge}} | {{purge}} | ||
{{testcase table | {{testcase table | ||
| − | + | ||
| name = {{PAGENAME}} | | name = {{PAGENAME}} | ||
| INN = [[Linezolid]] | | INN = [[Linezolid]] | ||
| Line 143: | Line 141: | ||
:New situation would be (adding "(LSD)" is just a liberty I took, to help our readers): | :New situation would be (adding "(LSD)" is just a liberty I took, to help our readers): | ||
{{Testcase table | {{Testcase table | ||
| − | + | ||
| drug_name=Lysergic acid diethylamide (LSD) | | drug_name=Lysergic acid diethylamide (LSD) | ||
| INN = Lysergide | | INN = Lysergide | ||
| Line 186: | Line 184: | ||
: No need to use {{para|INN}}. Note the titletext (mousehover). | : No need to use {{para|INN}}. Note the titletext (mousehover). | ||
{{Testcase table | {{Testcase table | ||
| − | + | ||
| IUPAC_name = 2-(1''H''-indol-3-yl)-1-methyl-ethylamine | | IUPAC_name = 2-(1''H''-indol-3-yl)-1-methyl-ethylamine | ||
| image = AMT.svg | | image = AMT.svg | ||
| Line 207: | Line 205: | ||
===Default Title=== | ===Default Title=== | ||
{{testcase table | {{testcase table | ||
| − | + | ||
| CAS_number = 1234-56-7 | | CAS_number = 1234-56-7 | ||
| trade_names=no dn | | trade_names=no dn | ||
| Line 213: | Line 211: | ||
{{testcase table | {{testcase table | ||
| − | + | ||
| drug_name = | | drug_name = | ||
| CAS_number = 1234-56-7 | | CAS_number = 1234-56-7 | ||
| Line 220: | Line 218: | ||
{{testcase table | {{testcase table | ||
| − | + | ||
| drug_name = Infobox drug/testcases8 | | drug_name = Infobox drug/testcases8 | ||
| CAS_number = 1234-56-7 | | CAS_number = 1234-56-7 | ||
| Line 227: | Line 225: | ||
{{testcase table | {{testcase table | ||
| − | + | ||
| drug_name = Aspirin | | drug_name = Aspirin | ||
| CAS_number = 1234-56-7 | | CAS_number = 1234-56-7 | ||
| Line 235: | Line 233: | ||
==Test INN== | ==Test INN== | ||
{{testcase table | {{testcase table | ||
| − | + | ||
| CAS_number = 1234-56-7 | | CAS_number = 1234-56-7 | ||
| trade_names=no dn | | trade_names=no dn | ||
| Line 242: | Line 240: | ||
{{testcase table | {{testcase table | ||
| − | + | ||
| drug_name = | | drug_name = | ||
| CAS_number = 1234-56-7 | | CAS_number = 1234-56-7 | ||
| Line 250: | Line 248: | ||
{{testcase table | {{testcase table | ||
| − | + | ||
| drug_name = Infobox drug/testcases8 | | drug_name = Infobox drug/testcases8 | ||
| CAS_number = 1234-56-7 | | CAS_number = 1234-56-7 | ||
| Line 258: | Line 256: | ||
{{testcase table | {{testcase table | ||
| − | + | ||
| drug_name = Aspirin [[Main page|MP]] | | drug_name = Aspirin [[Main page|MP]] | ||
| CAS_number = 1234-56-7 | | CAS_number = 1234-56-7 | ||
| Line 267: | Line 265: | ||
===INN=none=== | ===INN=none=== | ||
{{testcase table | {{testcase table | ||
| − | + | ||
| CAS_number = 1234-56-7 | | CAS_number = 1234-56-7 | ||
| trade_names=no dn | | trade_names=no dn | ||
| Line 273: | Line 271: | ||
{{testcase table | {{testcase table | ||
| − | + | ||
| drug_name = | | drug_name = | ||
| CAS_number = 1234-56-7 | | CAS_number = 1234-56-7 | ||
| Line 280: | Line 278: | ||
{{testcase table | {{testcase table | ||
| − | + | ||
| drug_name = Infobox drug/testcases8 | | drug_name = Infobox drug/testcases8 | ||
| CAS_number = 1234-56-7 | | CAS_number = 1234-56-7 | ||
| Line 287: | Line 285: | ||
{{testcase table | {{testcase table | ||
| − | + | ||
| drug_name = Aspirin | | drug_name = Aspirin | ||
| CAS_number = 1234-56-7 | | CAS_number = 1234-56-7 | ||
| Line 295: | Line 293: | ||
===INN=some sense=== | ===INN=some sense=== | ||
{{testcase table | {{testcase table | ||
| − | + | ||
| CAS_number = 1234-56-7 | | CAS_number = 1234-56-7 | ||
| trade_names=no dn | | trade_names=no dn | ||
| Line 302: | Line 300: | ||
{{testcase table | {{testcase table | ||
| − | + | ||
| drug_name = | | drug_name = | ||
| CAS_number = 1234-56-7 | | CAS_number = 1234-56-7 | ||
| Line 310: | Line 308: | ||
{{testcase table | {{testcase table | ||
| − | + | ||
| drug_name = Infobox drug/testcases8 | | drug_name = Infobox drug/testcases8 | ||
| CAS_number = 1234-56-7 | | CAS_number = 1234-56-7 | ||
| Line 318: | Line 316: | ||
{{testcase table | {{testcase table | ||
| − | + | ||
| drug_name = Aspirin | | drug_name = Aspirin | ||
| CAS_number = 1234-56-7 | | CAS_number = 1234-56-7 | ||
| Line 327: | Line 325: | ||
===INN='none'=== | ===INN='none'=== | ||
{{testcase table | {{testcase table | ||
| − | + | ||
| CAS_number = 1234-56-7 | | CAS_number = 1234-56-7 | ||
| trade_names=no dn | | trade_names=no dn | ||
| Line 334: | Line 332: | ||
{{testcase table | {{testcase table | ||
| − | + | ||
| drug_name = | | drug_name = | ||
| CAS_number = 1234-56-7 | | CAS_number = 1234-56-7 | ||
| Line 342: | Line 340: | ||
{{testcase table | {{testcase table | ||
| − | + | ||
| drug_name = Infobox drug/testcases8 | | drug_name = Infobox drug/testcases8 | ||
| CAS_number = 1234-56-7 | | CAS_number = 1234-56-7 | ||
| Line 350: | Line 348: | ||
{{testcase table | {{testcase table | ||
| − | + | ||
| drug_name = Aspirin | | drug_name = Aspirin | ||
| CAS_number = 1234-56-7 | | CAS_number = 1234-56-7 | ||
| Line 359: | Line 357: | ||
===INN eq=== | ===INN eq=== | ||
{{testcase table | {{testcase table | ||
| − | + | ||
| drug_name = Infobox drug/testcases8 | | drug_name = Infobox drug/testcases8 | ||
| INN = Infobox drug/testcases8 | | INN = Infobox drug/testcases8 | ||
| Line 368: | Line 366: | ||
==All blank== | ==All blank== | ||
{{testcase table | {{testcase table | ||
| − | + | ||
| no_param_name=99 | | no_param_name=99 | ||
}} | }} | ||
| Line 375: | Line 373: | ||
{{purge}} | {{purge}} | ||
{{Testcase table | {{Testcase table | ||
| − | + | ||
| type = IUPAC | | type = IUPAC | ||
| drug_name = 1/IUPAC | | drug_name = 1/IUPAC | ||
Revision as of 15:52, 27 January 2018
- Tests the sandbox: Template:T links/sandbox links
- Current test: Licence, title
To test /sandbox, the testcase should look like:
{{Testcase table
<-- ... (regular parameters go here) -->
}}
Contents
Licence
add licence_CA
Script error: No such module "Purge". Template:Testcase table Script error: No such module "Purge".
English language variants: Licence or License
- See also WP:ENGVAR: english language variant of the article
- In {{Infobox drug}}: spelling of licence/license. Default is to be en-US: License.
- Use parameter
|engvar=for non-default spelling: - Default licenSe (US)
|engvar=en-USlicenSe
|engvar=en-UKlicenCe
|engvar=en-NZlicenCe
Titletests (default, INN, drug_name)
Lysergide (LSD)
Script error: No such module "Purge". Reduced infobox.
- Current infobox title: Lysergic acid diethylamide (pagename, not INN)
- New situation would be (adding "(LSD)" is just a liberty I took, to help our readers):
(regular)
- No need to use
|INN=. Note the titletext (mousehover).
Default Title
Test INN
INN=none
INN=some sense
INN='none'
INN eq
All blank
All up
Script error: No such module "Purge". Template:Testcase table
Script error: No such module "Purge". (reduced infobox)
- Current infobox title: Diamorphine (INN)
- The new situation required an edit.