Template:Cite GPnotebook/doc: Difference between revisions

Content deleted Content added
add description of parameters
 
include GPnotebook2 template description
Line 3:
==Notes on use==
 
ThisThe template'''[[Template:GPnotebook|GPnotebook]]''' and '''[[Template:GPnotebook2|GPnotebook2]]''' templates may be used to externally link to [[GPnotebook]] articles.
 
It requires atAt least one parameter giving the article number is required, but mayan optionally have aoptional second parameter givingmay give the article name.
 
Hence: <nowiki>{{GPnotebook|919273471}}</nowiki>
Line 13:
Gives: {{GPnotebook|919273471|Asthma}}
 
==GPnotebook2==
Use of the GPnotebook2 template may be preferred when it is desired not to display "at GPnotebook", e.g. when listing several related conditions. It takes the same required/optional parameters as the main GPnotebook template.
 
Markup <nowiki>{{GPnotebook2|872022009|Guillain-Barre syndrome}}</nowiki>
Giving {{GPnotebook2|872022009|Guillain-Barre syndrome}}
 
An example of using both templates together comes from Guillain-Barre syndrome:
 
Markup <nowiki>{{GPnotebook2|872022009|Guillain-Barre syndrome}} and {{GPnotebook|1395654646|Miller-Fisher syndrome}}</nowiki>
Giving {{GPnotebook2|872022009|Guillain-Barre syndrome}} and {{GPnotebook|1395654646|Miller-Fisher syndrome}}
 
==GPnotebook URLs==