Template:DiseasesDB
Revision as of 16:36, 1 September 2020 by imported>Primefac (derp)
Diseases Database (DDB): Script error: No such module "If empty".
| This template is intended for external links. It is not designed for use as a citation template for reliable sources. |
Usage
This template creates an external link to a specific, numbered page in the Diseases Database.
The general format is {{DiseasesDB|#####|page name|display options}}
- ##### is the DDB page number.
- page name is an optional parameter to display the DDB page name
- display options is an optional parameter to set various output choices.
- If left blank or unused, will show the linked name in full
- If set to
plain, will show the unlinked name in full - If set to
shortlink, will display the linked acronym - If set to
short, will display the unlinked acronym - If set to
none, will not display the name at all
Examples
Basic example
{{DiseasesDB|5815}}→ Diseases Database (DDB): Script error: No such module "If empty".
Displaying the DDB page name
{{DiseasesDB|5815|HSMN type 1}}→ Diseases Database (DDB): Script error: No such module "If empty".
Display options variations. Note that the second parameter is not required but can still be used.
{{DiseasesDB|5815||plain}}→ Diseases Database: Script error: No such module "If empty".{{DiseasesDB|5815||shortlink}}→ DDB: Script error: No such module "If empty".{{DiseasesDB|5815||short}}→ DDB: Script error: No such module "If empty".{{DiseasesDB|5815||none}}→ Script error: No such module "If empty".{{DiseasesDB|5815|HSMN type 1|plain}}→ Diseases Database: Script error: No such module "If empty".{{DiseasesDB|5815|HSMN type 1|none}}→ Script error: No such module "If empty".
| The above documentation is transcluded from Template:DiseasesDB/doc. (edit | history) Editors can experiment in this template's sandbox (create | mirror) and testcases (create) pages. Please add categories to the /doc subpage. Subpages of this template. |