Difference between revisions of "Template:GHR/doc"
Jump to navigation
Jump to search
imported>Hike395 (create doc subpage) |
imported>Jonesey95 |
||
| (One intermediate revision by one other user not shown) | |||
| Line 7: | Line 7: | ||
There are four optional parameters: ''url'', ''article'', ''author'', and ''accessdate''. The parameters ''url'' and ''article'' should be used together. | There are four optional parameters: ''url'', ''article'', ''author'', and ''accessdate''. The parameters ''url'' and ''article'' should be used together. | ||
| − | For example, < | + | For example, <code><nowiki>{{GHR}}</nowiki></code> produces: |
:{{GHR}} | :{{GHR}} | ||
| − | < | + | <code><nowiki>{{GHR|article=Smith-Lemli-Opitz Syndrome |url=http://ghr.nlm.nih.gov/condition=smithlemliopitzsyndrome}}</nowiki></code> produces: |
:{{GHR|article=Smith-Lemli-Opitz Syndrome |url=http://ghr.nlm.nih.gov/condition=smithlemliopitzsyndrome}} | :{{GHR|article=Smith-Lemli-Opitz Syndrome |url=http://ghr.nlm.nih.gov/condition=smithlemliopitzsyndrome}} | ||
| − | < | + | <code><nowiki>{{GHR|article=Smith-Lemli-Opitz Syndrome |url=http://ghr.nlm.nih.gov/condition=smithlemliopitzsyndrome |author=John Q. Public}}</nowiki></code> produces: |
:{{GHR|article=Smith-Lemli-Opitz Syndrome |url=http://ghr.nlm.nih.gov/condition=smithlemliopitzsyndrome |author=John Q. Public}} | :{{GHR|article=Smith-Lemli-Opitz Syndrome |url=http://ghr.nlm.nih.gov/condition=smithlemliopitzsyndrome |author=John Q. Public}} | ||
| − | < | + | <code><nowiki>{{GHR|article=Smith-Lemli-Opitz Syndrome |url=http://ghr.nlm.nih.gov/condition=smithlemliopitzsyndrome |author=John Q. Public |accessdate=2006-06-06}}</nowiki></code> produces: |
:{{GHR|article=Smith-Lemli-Opitz Syndrome |url=http://ghr.nlm.nih.gov/condition=smithlemliopitzsyndrome |author=John Q. Public |accessdate=2006-06-06}} | :{{GHR|article=Smith-Lemli-Opitz Syndrome |url=http://ghr.nlm.nih.gov/condition=smithlemliopitzsyndrome |author=John Q. Public |accessdate=2006-06-06}} | ||
=== See also === | === See also === | ||
| − | <includeonly> | + | <includeonly>{{Sandbox other|| |
<!-- CATEGORIES AND INTERWIKIS HERE, THANKS --> | <!-- CATEGORIES AND INTERWIKIS HERE, THANKS --> | ||
[[Category:United States government attribution templates|{{PAGENAME}}]] | [[Category:United States government attribution templates|{{PAGENAME}}]] | ||
| − | </includeonly> | + | }}</includeonly> |
Latest revision as of 02:10, 3 June 2020
| File:Edit-copy green.svg | This is a documentation subpage for Template:GHR. It contains usage information, categories and other content that is not part of the original template page. |
Usage
This template will categorize articles that include it into Category:Wikipedia articles incorporating text from the United States National Library of Medicine.
There are four optional parameters: url, article, author, and accessdate. The parameters url and article should be used together.
For example, {{GHR}} produces:
- 12px This article incorporates public domain material from the United States National Library of Medicine document: "Genetics Home Reference".
{{GHR|article=Smith-Lemli-Opitz Syndrome |url=http://ghr.nlm.nih.gov/condition=smithlemliopitzsyndrome}} produces:
- 12px This article incorporates public domain material from the United States National Library of Medicine document: "Smith-Lemli-Opitz Syndrome". (Genetics Home Reference)
{{GHR|article=Smith-Lemli-Opitz Syndrome |url=http://ghr.nlm.nih.gov/condition=smithlemliopitzsyndrome |author=John Q. Public}} produces:
- 12px This article incorporates public domain material from the United States National Library of Medicine document: John Q. Public. "Smith-Lemli-Opitz Syndrome". (Genetics Home Reference)
{{GHR|article=Smith-Lemli-Opitz Syndrome |url=http://ghr.nlm.nih.gov/condition=smithlemliopitzsyndrome |author=John Q. Public |accessdate=2006-06-06}} produces:
- 12px This article incorporates public domain material from the United States National Library of Medicine document: John Q. Public. "Smith-Lemli-Opitz Syndrome". Retrieved 2006-06-06. (Genetics Home Reference)