Difference between revisions of "User:Richard Pinch/sandbox/Ref"
From Encyclopedia of Mathematics
m (→Code:: better) |
m (better) |
||
(7 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
+ | <noinclude> | ||
+ | ==== Usage: ==== | ||
+ | Either: | ||
+ | <nowiki> | ||
+ | {{User:Richard Pinch/sandbox/Ref | </nowiki><i>descriptor of bib entry</i><nowiki>}} | ||
+ | </nowiki> | ||
+ | Or: | ||
+ | <pre>{{User:Richard Pinch/sandbox/Ref | ||
+ | | tab = | ||
+ | | Key = <descriptor of bib entry> | ||
+ | | Author = <name1, first name1; name2, first name2 ...> | ||
+ | | Title = <title of article> | ||
+ | | Editor = ... | ||
+ | | Booktitle = ... | ||
+ | | Journal = ... | ||
+ | | Series = | ||
+ | | Volume = | ||
+ | | Number = | ||
+ | | Year = | ||
+ | | Pages = | ||
+ | | Publisher = | ||
+ | | Mrn = | ||
+ | | Zbl = | ||
+ | | Msc = | ||
+ | | Msc2 = | ||
+ | | Msc3 = | ||
+ | | DOI = | ||
+ | | URL = | ||
+ | | ISSN = | ||
+ | | ISBN = | ||
+ | }}</pre> | ||
+ | This template returns a line with the corresponding bibliographic data, containing a reference point which can be addressed on the same page by using [[Template:Cite]] | ||
+ | |||
+ | Reference points can be addressed like every anchor from other pages as well: | ||
+ | |||
+ | For example, the encoding | ||
+ | [[Jacobi variety#Se|<nowiki>[[Jacobi variety#Se]]</nowiki>]] refers to a reference entry on the page [[Jacobi variety]]. | ||
+ | |||
+ | Remarks concerning the second call version: | ||
+ | * Only those items really needed have to be used in the template call. | ||
+ | * If the value 'tab' is initialized to anything, then a line is produced which can be used in a formated bibliography table at the end of any article, | ||
+ | |||
+ | ---------------------------------- | ||
+ | |||
+ | |||
+ | |||
+ | |||
+ | ==== Code: ==== | ||
</noinclude><!-- | </noinclude><!-- | ||
-->{{#if:{{{1|}}}|<!-- | -->{{#if:{{{1|}}}|<!-- | ||
--><span id="{{{1|}}}"></span>[{{{1}}}]}}<!-- | --><span id="{{{1|}}}"></span>[{{{1}}}]}}<!-- | ||
− | -->{{#if:{{{ | + | -->{{#if:{{{key|}}}|<!-- |
-->{{#if:{{{tab|}}}|<!--- | -->{{#if:{{{tab|}}}|<!--- | ||
-->{{!}}valign="top"{{!}}<!-- | -->{{!}}valign="top"{{!}}<!-- | ||
− | --><span id="{{{ | + | --><span id="{{{key|}}}"></span>[{{{key}}}]<!-- |
-->{{!}}{{!}}valign="top"{{!}}|<!-- | -->{{!}}{{!}}valign="top"{{!}}|<!-- | ||
− | --><span id="{{{ | + | --><span id="{{{key|}}}"></span>[{{{key}}}]}}<!-- |
-->}} <!-- | -->}} <!-- | ||
− | -->{{#if:{{{ | + | -->{{#if:{{{author|}}} |{{{author}}};}} <!-- |
− | -->{{#if:{{{ | + | -->{{#if:{{{last|}}} |{{{last}}}, {{{first|}}};}} <!-- |
− | -->{{#if:{{{ | + | -->{{#if:{{{last1|}}} |{{{last1}}}, {{{first1|}}};}} <!-- |
− | -->{{#if:{{{ | + | -->{{#if:{{{last2|}}} |{{{last2}}}, {{{first2|}}};}} <!-- |
− | -->{{#if:{{{ | + | -->{{#if:{{{last3|}}} |{{{last3}}}, {{{first3|}}};}} <!-- |
− | -->{{#if:{{{ | + | -->{{#if:{{{last4|}}} |{{{last4}}}, {{{first4|}}};}} <!-- |
− | -->{{#if:{{{ | + | -->{{#if:{{{last5|}}} |{{{last5}}}, {{{first5|}}};}} <!-- |
− | -->{{#if:{{{ | + | -->{{#if:{{{last6|}}} |{{{last6}}}, {{{first6|}}};}} <!-- |
− | -->{{#if:{{{ | + | -->{{#if:{{{coauthors|}}} |{{{coauthors}}};}} <!-- |
− | -->{{#if:{{{ | + | -->{{#if:{{{title|}}} |<i>{{{title}}}</i>,}} <!-- |
− | -->{{#if:{{{ | + | -->{{#if:{{{chapter|}}} |"{{{chapter}}}",}} <!-- |
− | -->{{#if:{{{ | + | -->{{#if:{{{editor|}}} |<i>ed.</i> {{{editor}}};}} <!-- |
− | -->{{#if:{{{ | + | -->{{#if:{{{booktitle|}}} |<i>{{{booktitle}}}</i>,}} <!-- |
− | -->{{#if:{{{ | + | -->{{#if:{{{journal|}}} |{{{journal}}},}} <!-- |
− | -->{{#if:{{{ | + | -->{{#if:{{{series|}}} |<i>ser.</i> {{{series}}} }} <!-- |
− | -->{{#if:{{{ | + | -->{{#if:{{{volume|}}} |'''{{{volume}}}'''}} <!-- |
− | -->{{#if:{{{ | + | -->{{#if:{{{number|}}} |no. {{{number}}}}} <!-- |
− | -->{{#if:{{{ | + | -->{{#if:{{{year|}}} |({{{year}}})}}<!-- |
− | -->{{#if:{{{ | + | -->{{#if:{{{page|}}} |, p. {{{page}}} }}<!-- |
− | -->{{#if:{{{ | + | -->{{#if:{{{pages|}}} |, pp. {{{pages}}} }}<!-- |
− | -->{{#if:{{{ | + | -->{{#if:{{{publisher|}}} |, {{{publisher}}}}}<!-- |
− | -->{{#if:{{{ | + | -->{{#if:{{{mrn|}}} |, {{MR|{{{mrn}}}}}}}<!-- |
− | -->{{#if:{{{ | + | -->{{#if:{{{zbl|}}} |, {{ZBL|{{{zbl}}}}}}}<!-- |
− | -->{{#if:{{{ | + | -->{{#if:{{{msc|}}} |, MSC: {{MSCwiki|{{#sub:{{{msc}}}|0|5}}}}}}<!-- |
− | -->{{#if:{{{ | + | -->{{#if:{{{msc2|}}} |, {{MSCwiki|{{#sub:{{{msc2}}}|0|5}}}}}}<!-- |
− | -->{{#if:{{{ | + | -->{{#if:{{{msc3|}}} |, {{MSCwiki|{{#sub:{{{msc3}}}|0|5}}}}}}<!-- |
− | -->{{#if:{{{ | + | -->{{#if:{{{doi|}}} |, [http://dx.doi.org/{{{doi}}} DOI: {{{doi}}}]}}<!-- |
+ | -->{{#if:{{{url|}}} |URL: {{{url}}}]}}<!-- | ||
+ | -->{{#if:{{{issn|}}} |ISSN: {{{issn}}}}} <!-- | ||
+ | -->{{#if:{{{isbn|}}} |ISBN: {{{isbn}}}}} |
Latest revision as of 16:27, 30 December 2015
Usage:
Either:
{{User:Richard Pinch/sandbox/Ref | descriptor of bib entry}}
Or:
{{User:Richard Pinch/sandbox/Ref | tab = | Key = <descriptor of bib entry> | Author = <name1, first name1; name2, first name2 ...> | Title = <title of article> | Editor = ... | Booktitle = ... | Journal = ... | Series = | Volume = | Number = | Year = | Pages = | Publisher = | Mrn = | Zbl = | Msc = | Msc2 = | Msc3 = | DOI = | URL = | ISSN = | ISBN = }}
This template returns a line with the corresponding bibliographic data, containing a reference point which can be addressed on the same page by using Template:Cite
Reference points can be addressed like every anchor from other pages as well:
For example, the encoding [[Jacobi variety#Se]] refers to a reference entry on the page Jacobi variety.
Remarks concerning the second call version:
- Only those items really needed have to be used in the template call.
- If the value 'tab' is initialized to anything, then a line is produced which can be used in a formated bibliography table at the end of any article,
Code:
How to Cite This Entry:
Richard Pinch/sandbox/Ref. Encyclopedia of Mathematics. URL: http://encyclopediaofmath.org/index.php?title=Richard_Pinch/sandbox/Ref&oldid=30371
Richard Pinch/sandbox/Ref. Encyclopedia of Mathematics. URL: http://encyclopediaofmath.org/index.php?title=Richard_Pinch/sandbox/Ref&oldid=30371