Revision as of 22:17, 22 September 2007 view sourceDavidruben (talk | contribs)Extended confirmed users18,994 edits thius does not seem to allow categories on the document page to work correctly (I mighty be wrong, but this alternative coding definitely works on other templates)← Previous edit | Latest revision as of 22:24, 1 August 2020 view source Primefac (talk | contribs)Edit filter managers, Autopatrolled, Bureaucrats, Checkusers, Oversighters, Administrators209,511 edits update to "merge" with the OMIM2-6 variations (i.e. show their current display options) | ||
(11 intermediate revisions by 10 users not shown) | |||
Line 1: | Line 1: | ||
{{#ifeq:{{{3|}}}|none||{{#switch:{{{3|}}} | |||
⚫ | ] (OMIM) <noinclude> | ||
| short = OMIM: | |||
{{/doc}} | |||
| shortlink = ]: | |||
| plain = Online Mendelian Inheritance in Man: | |||
| full | |||
⚫ | | #default = ] (OMIM):}}}} <noinclude> | ||
{{documentation}} | |||
<!-- Add categories and interwikis to the /doc subpage, not here. --> | <!-- Add categories and interwikis to the /doc subpage, not here. --> | ||
</noinclude> | </noinclude> |
Latest revision as of 22:24, 1 August 2020
Online Mendelian Inheritance in Man (OMIM): {{{1}}}
Template documentation[view] [edit] [history] [purge]Usage
This template creates a reference citation to a specific, numbered page in the Online Mendelian Inheritance in Man database.
The general format is {{OMIM|#####|page name|display options}}
- ##### is the OMIM page number.
- page name is an optional parameter to display the OMIM 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
{{OMIM|604715}}
→ Online Mendelian Inheritance in Man (OMIM): 604715
Displaying the OMIM page name
{{OMIM|604715|Orthostatic Intolerance}}
→ Online Mendelian Inheritance in Man (OMIM): Orthostatic Intolerance - 604715
Display options variations. Note that the second parameter is not required but can still be used.
{{OMIM|604715||plain}}
→ Online Mendelian Inheritance in Man: 604715{{OMIM|604715||shortlink}}
→ OMIM: 604715{{OMIM|604715||short}}
→ OMIM: 604715{{OMIM|604715||none}}
→ 604715{{OMIM|604715|Orthostatic Intolerance|plain}}
→ Online Mendelian Inheritance in Man: Orthostatic Intolerance - 604715
Editors can experiment in this template's sandbox (edit | diff) and testcases (edit) pages.
Add categories to the /doc subpage. Subpages of this template. Categories: