Revision as of 08:26, 8 December 2006 view sourceSMcCandlish (talk | contribs)Autopatrolled, Extended confirmed users, Page movers, File movers, New page reviewers, Pending changes reviewers, Rollbackers, Template editors201,742 editsm →Usage: Improved usage notes.← 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) | ||
(16 intermediate revisions by 14 users not shown) | |||
Line 1: | Line 1: | ||
{{#ifeq:{{{3|}}}|none||{{#switch:{{{3|}}} | |||
⚫ | ] (OMIM) <noinclude> | ||
| short = OMIM: | |||
==Usage== | |||
| shortlink = ]: | |||
| plain = Online Mendelian Inheritance in Man: | |||
| full | |||
'''<nowiki>{{OMIM|#####}}</nowiki>''', where "#####" is the OMIM page number. | |||
⚫ | | #default = ] (OMIM):}}}} <noinclude> | ||
{{documentation}} | |||
Results: {{OMIM|12345}} | |||
<!-- Add categories and interwikis to the /doc subpage, not here. --> | |||
</noinclude> | |||
This template is good to use for the first OMIM citation in an article (or perhaps in a section), but is generally probably too long to use repeatedly; use the {{tl|OMIM3}} template instead for later citations. And {{tl|OMIM2}} can be used after {{tl|OMIM}} to shorten a long list of OMIM citations. | |||
]</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: