Template:Cite GPnotebook/doc: Difference between revisions

Content deleted Content added
m pt. interwiki
Add - before each ID, correct the generated URL
Line 7:
At least one parameter giving the article number is required, but an optional second parameter may give the article name.
 
Hence: <nowiki>{{GPnotebook|-919273471}}</nowiki>
Gives: {{GPnotebook|-919273471}}
 
Whilst <nowiki>{{GPnotebook|-919273471|Asthma}}</nowiki>
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==
This template configures the url for: <nowiki>httphttps://www.gpnotebook.co.uk/simplepage.cfm?ID=-<<article number>>.htm</nowiki>