Difference between revisions of "Template:MacTutor/sandbox"
Jump to navigation
Jump to search
imported>Daniele.tampieri (Corrected syntax) |
imported>Daniele.tampieri m (Bringing to perfection) |
||
| Line 1: | Line 1: | ||
{{ | {{ | ||
#if: {{{first|{{{last|{{{first2|{{{last2|}}}}}}}}}}}} | #if: {{{first|{{{last|{{{first2|{{{last2|}}}}}}}}}}}} | ||
| − | + | <!-- | |
| + | CITATIONS FOR PATENTS | ||
| + | --> | ||
|{{Citation | |{{Citation | ||
| first = {{{first|}}} | | first = {{{first|}}} | ||
| Line 23: | Line 25: | ||
| contribution = {{{title|{{PAGENAME}}}}} | | contribution = {{{title|{{PAGENAME}}}}} | ||
| contribution-url = http://www-history.mcs.st-andrews.ac.uk/{{{class|Biographies}}}/{{{id}}}.html | | contribution-url = http://www-history.mcs.st-andrews.ac.uk/{{{class|Biographies}}}/{{{id}}}.html | ||
| − | | title = MacTutor History of Mathematics archive | + | | title = [[MacTutor History of Mathematics archive]] |
| date = {{{date|}}} | | date = {{{date|}}} | ||
| accessdate={{{accessdate|}}} | | accessdate={{{accessdate|}}} | ||
| Line 37: | Line 39: | ||
| contribution = {{{title|{{PAGENAME}}}}} | | contribution = {{{title|{{PAGENAME}}}}} | ||
| contribution-url = http://www-history.mcs.st-andrews.ac.uk/{{{class|Biographies}}}/{{{id}}}.html | | contribution-url = http://www-history.mcs.st-andrews.ac.uk/{{{class|Biographies}}}/{{{id}}}.html | ||
| − | | title = MacTutor History of Mathematics archive | + | | title = [[MacTutor History of Mathematics archive]] |
| date = {{{date|}}} | | date = {{{date|}}} | ||
| accessdate={{{accessdate|}}} | | accessdate={{{accessdate|}}} | ||
Revision as of 19:43, 6 January 2012
O'Connor, John J.; Robertson, Edmund F., "MacTutor/sandbox", MacTutor History of Mathematics archive, University of St Andrews.
| 50px | This is the template sandbox page for Template:MacTutor (diff). See also the companion subpage for test cases. |
- {{MacTutor|id=Kepler|title=Johannes Kepler}} yields
- title defaults to the name of the Wikipedia article, so {{MacTutor|id=Newton}} yields
- date date of the article. For example, {{MacTutor|id=Luke|title=Yudell Luke|date=October 1998}} yields
- class can be used to indicate other non-biography pages in MacTutor, so {{MacTutor|class=HistTopics|id=Topology_in_mathematics|title=A history of Topology}} yields
- last, first,...,last4, first4 parameters can be used to indicate up to four authors different from the default ones, so {{MacTutor|first=Umberto|last=Lucia|id=Morera|title=Giacinto Morera|date= March 2006}} yields
- Lucia, Umberto (March 2006), "Giacinto Morera", in O'Connor, John J.; Robertson, Edmund F. (eds.), MacTutor History of Mathematics archive, University of St Andrews.
- class can also be used jointly with last and first to indicate other non-biography pages in MacTutor, so {{MacTutor|first=Umberto|last=Lucia|class=Extras|id=Morera_Publications|title=Publications of Giacinto Morera|date=March 2006}} yields
- Lucia, Umberto (March 2006), "Publications of Giacinto Morera", in O'Connor, John J.; Robertson, Edmund F. (eds.), MacTutor History of Mathematics archive, University of St Andrews.
- authorX-link can be used when author parameters lastX and firstX are given, in order to insert a link to the Wikipedia article on the specified author, so {{MacTutor|first=Vladimir G.|last=Maz'ya|author-link=Vladimir Maz'ya|first2=Tatyana O.|last2=Shaposhnikova|author2-link=Tatyana Shaposhnikova|first3=Daniele|last3=Tampieri|id=Mikhlin|title=Solomon Grigoryevich Mikhlin|date=March 2011}} yields
- Maz'ya, Vladimir G.; Shaposhnikova, Tatyana O.; Tampieri, Daniele (March 2011), "Solomon Grigoryevich Mikhlin", in O'Connor, John J.; Robertson, Edmund F. (eds.), MacTutor History of Mathematics archive, University of St Andrews.
TemplateData
Create a citation to a MacTutor biography
| Parameter | Description | Type | Status | |
|---|---|---|---|---|
| Id | id | Name at the end of URL | String | suggested |
| Title | title | Text used for the link
| String | suggested |
| The above documentation is transcluded from Template:MacTutor/doc. (edit | history) Editors can experiment in this template's sandbox (edit | diff) and testcases (edit) pages. Please add categories to the /doc subpage. Subpages of this template. |