Template:MacTutor: Difference between revisions
Appearance
Content deleted Content added
Arcticocean (talk | contribs) m Changed protection level of Template:MacTutor: Highly-visible template (over 1000 transclusions) ([edit=autoconfirmed] (indefinite) [move=sysop] (indefinite)) |
Use default ref |
||
(11 intermediate revisions by 7 users not shown) | |||
Line 7: | Line 7: | ||
THEN USE NON-DEFAULT AUTHOR FORMAT |
THEN USE NON-DEFAULT AUTHOR FORMAT |
||
--> |
--> |
||
|{{#invoke:Template wrapper|{{#if: {{{_debug|}}} | list | wrap }} |
|||
| |
| _template=Citation |
||
| first = {{{first|}}} |
|||
| _exclude=_debug,id,class |
|||
| last = {{{last|}}} |
|||
| _alias-map=title:contribution |
|||
| author-link = {{{author-link|}}} |
|||
| first2 = {{{first2|}}} |
|||
| last2 = {{{last2|}}} |
|||
| author2-link = {{{author2-link|}}} |
|||
| first3 = {{{first3|}}} |
|||
| last3 = {{{last3|}}} |
|||
| author3-link = {{{author3-link|}}} |
|||
| first4 = {{{first4|}}} |
|||
| last4 = {{{last4|}}} |
|||
| author4-link = {{{author4-link|}}} |
|||
| editor-last = O'Connor |
| editor-last = O'Connor |
||
| editor-first = John J. |
| editor-first = John J. |
||
| editor-link = |
| editor-link = |
||
| editor2-last = Robertson |
| editor2-last = Robertson |
||
| editor2-first = Edmund F. |
| editor2-first = Edmund F. |
||
| editor2-link = Edmund F. Robertson |
| editor2-link = Edmund F. Robertson |
||
| contribution = |
| contribution = {{PAGENAME}} |
||
| contribution-url = |
| contribution-url = https://mathshistory.st-andrews.ac.uk/{{{class|Biographies}}}/{{{id}}}.html |
||
| title = [[MacTutor History of Mathematics |
| title = [[MacTutor History of Mathematics Archive]] |
||
| date = {{{date|}}} |
|||
| accessdate={{{accessdate|}}} |
|||
| publisher = [[University of St Andrews]] |
| publisher = [[University of St Andrews]] |
||
}} |
}} |
||
Line 36: | Line 25: | ||
ELSE USE DEFAULT AUTHOR FORMAT |
ELSE USE DEFAULT AUTHOR FORMAT |
||
--> |
--> |
||
|{{#invoke:Template wrapper|{{#if: {{{_debug|}}} | list | wrap }} |
|||
| |
| _template=Citation |
||
| _exclude=_debug,id,class |
|||
| _alias-map=title:contribution |
|||
| first = John J. |
| first = John J. |
||
| last = O'Connor |
| last = O'Connor |
||
| author-link = |
| author-link = |
||
| first2 = Edmund F. |
| first2 = Edmund F. |
||
| last2 = Robertson |
| last2 = Robertson |
||
| author2-link = Edmund F. Robertson |
| author2-link = Edmund F. Robertson |
||
| contribution = |
| contribution = {{PAGENAME}} |
||
| contribution-url = |
| contribution-url = https://mathshistory.st-andrews.ac.uk/{{{class|Biographies}}}/{{{id}}}.html |
||
| title = [[MacTutor History of Mathematics |
| title = [[MacTutor History of Mathematics Archive]] |
||
| date = {{{date|}}} |
|||
| accessdate={{{accessdate|}}} |
|||
| publisher = [[University of St Andrews]] |
| publisher = [[University of St Andrews]] |
||
| ref = {{#if: {{{date|}}} | harv | none}} |
|||
}} |
}} |
||
}} |
}}<noinclude>{{documentation}}</noinclude> |
Latest revision as of 21:11, 18 July 2023
O'Connor, John J.; Robertson, Edmund F., "MacTutor", MacTutor History of Mathematics Archive, University of St Andrews
This template is a Citation Style 2 template based on {{Citation}}. For centralised Citation Style 2 discussions, see Help talk:Citation Style 2. |
- {{MacTutor|id=Kepler|title=Johannes Kepler}} yields
- O'Connor, John J.; Robertson, Edmund F., "Johannes Kepler", MacTutor History of Mathematics Archive, University of St Andrews
- title defaults to the name of the Wikipedia article, so {{MacTutor|id=Newton}} yields
- O'Connor, John J.; Robertson, Edmund F., "MacTutor", MacTutor History of Mathematics Archive, University of St Andrews
- date date of the article. For example, {{MacTutor|id=Luke|title=Yudell Luke|date=October 1998}} yields
- O'Connor, John J.; Robertson, Edmund F. (October 1998), "Yudell Luke", MacTutor History of Mathematics Archive, University of St Andrews
- 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
As of 4 July 2021, {{MacTutor}} is a template wrapper around {{Citation}}, and thus any parameters of {{Citation}} may be used. In particular, |mode=cs1
may be used to have the citation render in Citation Style 1 rather than Citation Style 2, as in the following example:
- O'Connor, John J.; Robertson, Edmund F. "Johannes Kepler". 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 |