Difference between revisions of "Template:Citation/core"
From MansonWiki, the Marilyn Manson encyclopedia
Red marquis (Talk | contribs) |
|||
Line 34: | Line 34: | ||
#if: {{{Surname2|}}} | #if: {{{Surname2|}}} | ||
|{{#ifexpr:{{{Trunc|8}}}<2 | |{{#ifexpr:{{{Trunc|8}}}<2 | ||
− | |  | + | | et al. |
|{{ | |{{ | ||
#iferror: {{ #expr: 1*0.0{{{AuthorMask|}}} }} | #iferror: {{ #expr: 1*0.0{{{AuthorMask|}}} }} | ||
Line 56: | Line 56: | ||
#if: {{{Surname3|}}} | #if: {{{Surname3|}}} | ||
|{{#ifexpr:{{{Trunc|8}}}<3 | |{{#ifexpr:{{{Trunc|8}}}<3 | ||
− | |  | + | | et al. |
|{{ | |{{ | ||
#if: {{{Surname4|}}} | #if: {{{Surname4|}}} | ||
Line 74: | Line 74: | ||
#if:{{{Surname4|}}} | #if:{{{Surname4|}}} | ||
|{{#ifexpr:{{{Trunc|8}}}<4 | |{{#ifexpr:{{{Trunc|8}}}<4 | ||
− | |  | + | | et al. |
|{{ | |{{ | ||
#if: {{{Surname5|}}} | #if: {{{Surname5|}}} | ||
Line 92: | Line 92: | ||
#if:{{{Surname5|}}} | #if:{{{Surname5|}}} | ||
|{{#ifexpr:{{{Trunc|8}}}<5 | |{{#ifexpr:{{{Trunc|8}}}<5 | ||
− | |  | + | | et al. |
|{{ | |{{ | ||
#if: {{{Surname6|}}} | #if: {{{Surname6|}}} | ||
Line 110: | Line 110: | ||
#if:{{{Surname6|}}} | #if:{{{Surname6|}}} | ||
|{{#ifexpr:{{{Trunc|8}}}<6 | |{{#ifexpr:{{{Trunc|8}}}<6 | ||
− | |  | + | | et al. |
|{{ | |{{ | ||
#if: {{{Surname7|}}} | #if: {{{Surname7|}}} | ||
Line 128: | Line 128: | ||
#if:{{{Surname7|}}} | #if:{{{Surname7|}}} | ||
|{{#ifexpr:{{{Trunc|8}}}<7 | |{{#ifexpr:{{{Trunc|8}}}<7 | ||
− | |  | + | | et al. |
|{{ | |{{ | ||
#if: {{{Surname8|}}} | #if: {{{Surname8|}}} | ||
Line 146: | Line 146: | ||
#if:{{{Surname8|}}} | #if:{{{Surname8|}}} | ||
|{{#ifexpr:{{{Trunc|8}}}<8 | |{{#ifexpr:{{{Trunc|8}}}<8 | ||
− | |  | + | | et al. |
|{{ | |{{ | ||
#if: {{{Surname9|}}} | #if: {{{Surname9|}}} | ||
Line 163: | Line 163: | ||
}}{{ | }}{{ | ||
#if:{{{Surname9|}}} | #if:{{{Surname9|}}} | ||
− | |  | + | | et al. |
}} | }} | ||
}} | }} | ||
Line 259: | Line 259: | ||
#if: {{{URL|}}} | #if: {{{URL|}}} | ||
|{{{URL}}} | |{{{URL}}} | ||
− | |||
− | |||
}} | }} | ||
}} | }} | ||
Line 364: | Line 362: | ||
#if: {{{URL|}}} | #if: {{{URL|}}} | ||
|{{{URL}}} | |{{{URL}}} | ||
− | |||
}} | }} | ||
}} | }} | ||
Line 370: | Line 367: | ||
#if: {{{URL|}}} | #if: {{{URL|}}} | ||
|{{{URL}}} | |{{{URL}}} | ||
− | |||
}} | }} | ||
}} | }} | ||
Line 438: | Line 434: | ||
#if: {{{URL|}}} | #if: {{{URL|}}} | ||
|{{{URL}}} | |{{{URL}}} | ||
− | |||
}} | }} | ||
}} | }} | ||
Line 444: | Line 439: | ||
#if: {{{URL|}}} | #if: {{{URL|}}} | ||
|{{{URL}}} | |{{{URL}}} | ||
− | |||
}} | }} | ||
}} | }} | ||
Line 517: | Line 511: | ||
}} | }} | ||
}}{{ | }}{{ | ||
− | <!--===============DOI================--> | + | <!--============ arXiv ==============--> |
+ | #if: {{{ARXIV|}}} | ||
+ | |{{{Sep|,}}} {{citation/identifier |identifier=arxiv |input1={{{ARXIV|}}} }} | ||
+ | }}{{ | ||
+ | <!--============ ASIN ===============--> | ||
+ | #if: {{{ASIN|}}} | ||
+ | |{{{Sep|,}}} {{citation/identifier |identifier=asin |input1={{{ASIN|}}} }} | ||
+ | }}{{ | ||
+ | <!--============ BIBCODE ============--> | ||
+ | #if: {{{BIBCODE|}}} | ||
+ | |{{{Sep|,}}} {{citation/identifier |identifier=bibcode |input1={{{BIBCODE|}}} }} | ||
+ | }}{{ | ||
+ | <!--============ DOI ================--> | ||
#if:{{{DOI|}}} | #if:{{{DOI|}}} | ||
|{{{Sep|,}}} {{citation/identifier |identifier=doi |input1={{{DOI|}}} |input2={{{DoiBroken|}}} }} | |{{{Sep|,}}} {{citation/identifier |identifier=doi |input1={{{DOI|}}} |input2={{{DoiBroken|}}} }} | ||
}}{{ | }}{{ | ||
− | <!--============ | + | <!--============ ISBN ===============--> |
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
#if: {{{ISBN|}}} | #if: {{{ISBN|}}} | ||
|{{{Sep|,}}} {{citation/identifier |identifier=isbn |input1={{{ISBN|}}} }} | |{{{Sep|,}}} {{citation/identifier |identifier=isbn |input1={{{ISBN|}}} }} | ||
}}{{ | }}{{ | ||
− | <!--============ | + | <!--============ ISSN ===============--> |
#if: {{{ISSN|}}} | #if: {{{ISSN|}}} | ||
|{{{Sep|,}}} {{citation/identifier |identifier=issn |input1={{{ISSN|}}} }} | |{{{Sep|,}}} {{citation/identifier |identifier=issn |input1={{{ISSN|}}} }} | ||
}}{{ | }}{{ | ||
− | <!--============ OCLC ============--> | + | <!--============ JFM ================--> |
+ | #if: {{{JFM|}}} | ||
+ | |{{{Sep|,}}} {{citation/identifier |identifier=jfm |input1={{{JFM|}}} }} | ||
+ | }}{{ | ||
+ | <!--============ JSTOR ==============--> | ||
+ | #if: {{{JSTOR|}}} | ||
+ | |{{{Sep|,}}} {{citation/identifier |identifier=jstor |input1={{{JSTOR|}}} }} | ||
+ | }}{{ | ||
+ | <!--============ LCCN ===============--> | ||
+ | #if: {{{LCCN|}}} | ||
+ | |{{{Sep|,}}} {{citation/identifier |identifier=lccn |input1={{{LCCN|}}} }} | ||
+ | }}{{ | ||
+ | <!--============ MR =================--> | ||
+ | #if: {{{MR|}}} | ||
+ | |{{{Sep|,}}} {{citation/identifier |identifier=mr |input1={{{MR|}}} }} | ||
+ | }}{{ | ||
+ | <!--============ OCLC ===============--> | ||
#if: {{{OCLC|}}} | #if: {{{OCLC|}}} | ||
|{{{Sep|,}}} {{citation/identifier |identifier=oclc |input1={{{OCLC|}}} }} | |{{{Sep|,}}} {{citation/identifier |identifier=oclc |input1={{{OCLC|}}} }} | ||
}}{{ | }}{{ | ||
− | <!--============ PMID ============--> | + | <!--============ OL =================--> |
+ | #if: {{{OL|}}} | ||
+ | |{{{Sep|,}}} {{citation/identifier |identifier=ol |input1={{{OL|}}} }} | ||
+ | }}{{ | ||
+ | <!--============ OSTI ===============--> | ||
+ | #if: {{{OSTI|}}} | ||
+ | |{{{Sep|,}}} {{citation/identifier |identifier=osti |input1={{{OSTI|}}} }} | ||
+ | }}{{ | ||
+ | <!--============ PMC ================--> | ||
+ | #if: {{{PMC|}}} | ||
+ | |{{{Sep|,}}} {{citation/identifier |identifier=pmc |input1={{{PMC|}}} }} | ||
+ | }}{{ | ||
+ | <!--============ PMID ===============--> | ||
#if: {{{PMID|}}} | #if: {{{PMID|}}} | ||
|{{{Sep|,}}} {{citation/identifier |identifier=pmid |input1={{{PMID|}}} }} | |{{{Sep|,}}} {{citation/identifier |identifier=pmid |input1={{{PMID|}}} }} | ||
}}{{ | }}{{ | ||
− | <!--============ | + | <!--============ RFC ================--> |
− | #if: {{{ | + | #if: {{{RFC|}}} |
− | + | |{{{Sep|,}}} {{citation/identifier |identifier=rfc|input1={{{RFC|}}} }} | |
− | + | ||
− | + | ||
− | + | ||
− | + | ||
}}{{ | }}{{ | ||
− | <!--============ | + | <!--============ SSRN ================--> |
− | #if: {{{ | + | #if: {{{SSRN|}}} |
− | |{{{Sep|,}}} {{citation/identifier |identifier= | + | |{{{Sep|,}}} {{citation/identifier |identifier=ssrn |input1={{{SSRN|}}} }} |
+ | }}{{ | ||
+ | <!--============ ZBL ================--> | ||
+ | #if: {{{ZBL|}}} | ||
+ | |{{{Sep|,}}} {{citation/identifier |identifier=zbl |input1={{{ZBL|}}} }} | ||
+ | }}{{ | ||
+ | <!--============ Misc. Identifier ============--> | ||
+ | #if: {{{ID|}}} | ||
+ | |{{{Sep|,}}} {{{ID}}} | ||
}}{{ | }}{{ | ||
<!--============ Archive data, etc ===========--> | <!--============ Archive data, etc ===========--> | ||
Line 562: | Line 592: | ||
|{{ | |{{ | ||
#if:{{{ArchiveURL|}}}{{{ArchiveDate|}}} | #if:{{{ArchiveURL|}}}{{{ArchiveDate|}}} | ||
− | |{{{Sep|,}}} {{#ifeq:{{{Sep}}}|.|A|a}}rchived{{ | + | | {{{Sep|,}}} {{#ifeq: {{{DeadURL|}}} | no |
− | #if:{{{OriginalURL|}}}{{{IncludedWorkURL|}}} | + | | {{#if:{{{ArchiveURL|}}} |
− | + | |{{Citation/make link|{{{ArchiveURL|}}}|{{#ifeq:{{{Sep}}}|.|A|a}}rchived}} from the original | |
− | }}{{ | + | |{{#ifeq:{{{Sep}}}|.|A|a}}rchived |
− | + | }} | |
− | + | | {{#ifeq:{{{Sep}}}|.|A|a}}rchived{{#if:{{{OriginalURL|}}}{{{IncludedWorkURL|}}} | |
− | + | |{{#if:{{{ArchiveURL|}}}| from {{Citation/make link|{{{OriginalURL|{{{IncludedWorkURL|}}}}}}|the original}}}} | |
− | + | }} | |
− | + | }}{{#if:{{{ArchiveDate|}}}| on {{{ArchiveDate}}}}}{{ | |
− | |If you specify <code>|{{#if:{{{ArchiveURL|}}}|archiveurl|archivedate}}=</code>, you must {{#if:{{{OriginalURL|}}}{{{IncludedWorkURL|}}}| also specify <code>|{{#if:{{{ArchiveURL|}}}|archivedate|archiveurl}}=</code>|first specify <code>|url=</code>}}}} | + | #if:{{#if:{{{ArchiveURL|}}}||A}}{{#if:{{{OriginalURL|}}}{{{IncludedWorkURL|}}}||B}}{{#if:{{{ArchiveDate|}}}||C}} |
+ | |. {{citation error|nocat={{{template doc demo|}}} | ||
+ | |If you specify <code>|{{#if:{{{ArchiveURL|}}}|archiveurl|archivedate}}=</code>{{#ifeq:{{{DeadURL|}}}|no|{{#if:{{{OriginalURL|}}}{{{IncludedWorkURL|}}}|| and <code>|deadurl=no</code>}}}}, you must {{#if:{{{OriginalURL|}}}{{{IncludedWorkURL|}}}| also specify <code>|{{#if:{{{ArchiveURL|}}}|archivedate|archiveurl}}=</code>| {{#ifeq:{{{DeadURL|}}}|no|also|first}} specify <code>|url=</code>}}}} | ||
}} | }} | ||
}} | }} | ||
}}{{ | }}{{ | ||
<!--============ URL and AccessDate ============--> | <!--============ URL and AccessDate ============--> | ||
− | #if: {{{URL|}}}{{{IncludedWorkURL|}}} | + | #if: {{{URL|}}}{{{IncludedWorkURL|}}}{{#ifeq:{{{DeadURL|}}}|no|{{{ArchiveURL|}}}|}} |
|{{ | |{{ | ||
#if: {{{Title|}}}{{{IncludedWorkTitle|}}}{{{TransTitle|}}} | #if: {{{Title|}}}{{{IncludedWorkTitle|}}}{{{TransTitle|}}} | ||
Line 670: | Line 702: | ||
#if: {{{Publisher|}}} |&rft.pub={{urlencode:{{{Publisher}}}}} | #if: {{{Publisher|}}} |&rft.pub={{urlencode:{{{Publisher}}}}} | ||
}}{{ | }}{{ | ||
− | #if: {{{ | + | #if: {{{ARXIV|}}} |&rft_id=info:arxiv/{{urlencode:{{{ARXIV}}}}} |
}}{{ | }}{{ | ||
− | #if: {{{ | + | #if: {{{ASIN|}}} |&rft_id=info:asin/{{urlencode:{{{ASIN}}}}} |
}}{{ | }}{{ | ||
− | #if: {{{ | + | #if: {{{BIBCODE|}}} |&rft_id=info:bibcode/{{urlencode:{{{BIBCODE}}}}} |
}}{{ | }}{{ | ||
− | #if: {{{ | + | #if: {{{DOI|}}} |&rft_id=info:doi/{{urlencode:{{{DOI}}}}} |
}}{{ | }}{{ | ||
#if: {{{ISBN|}}} |&rft.isbn={{urlencode:{{{ISBN}}}}} | #if: {{{ISBN|}}} |&rft.isbn={{urlencode:{{{ISBN}}}}} | ||
}}{{ | }}{{ | ||
#if: {{{ISSN|}}} |&rft.issn={{urlencode:{{{ISSN}}}}} | #if: {{{ISSN|}}} |&rft.issn={{urlencode:{{{ISSN}}}}} | ||
+ | }}{{ | ||
+ | #if: {{{JFM|}}} |&rft.jfm={{urlencode:{{{JFM}}}}} | ||
+ | }}{{ | ||
+ | #if: {{{JSTOR|}}} |&rft.jstor={{urlencode:{{{JSTOR}}}}} | ||
+ | }}{{ | ||
+ | #if: {{{LCCN|}}} |&rft.lccn={{urlencode:{{{LCCN}}}}} | ||
+ | }}{{ | ||
+ | #if: {{{OCLC|}}} |&rft_id=info:oclcnum/{{urlencode:{{{OCLC}}}}} | ||
+ | }}{{ | ||
+ | #if: {{{OL|}}} |&rft_id=info:olnum/{{urlencode:{{{OL}}}}} | ||
+ | }}{{ | ||
+ | #if: {{{OSTI|}}} |&rft_id=info:osti/{{urlencode:{{{OSTI}}}}} | ||
+ | }}{{ | ||
+ | #if: {{{MR|}}} |&rft.mr={{urlencode:{{{MR}}}}} | ||
+ | }}{{ | ||
+ | #if: {{{PMC|}}} |&rft_id=info:pmc/{{urlencode:{{{PMC}}}}} | ||
+ | }}{{ | ||
+ | #if: {{{PMID|}}} |&rft_id=info:pmid/{{urlencode:{{{PMID}}}}} | ||
+ | }}{{ | ||
+ | #if: {{{RFC|}}} |&rft_id=info:rfc/{{urlencode:{{{RFC}}}}} | ||
+ | }}{{ | ||
+ | #if: {{{SSRN|}}} |&rft_id=info:ssrn/{{urlencode:{{{SSRN}}}}} | ||
+ | }}{{ | ||
+ | #if: {{{ZBL|}}} |&rft_id=info:zbl/{{urlencode:{{{ZBL}}}}} | ||
}}{{ | }}{{ | ||
#if: {{{URL|}}}{{{IncludedWorkURL|}}} |&rft_id={{urlencode:{{{URL|{{{IncludedWorkURL|}}}}}}}} | #if: {{{URL|}}}{{{IncludedWorkURL|}}} |&rft_id={{urlencode:{{{URL|{{{IncludedWorkURL|}}}}}}}} | ||
− | }}&rfr_id=info:sid/en.wikipedia.org:{{FULLPAGENAMEE}}"><span style="display: none;"> </span></span | + | }}&rfr_id=info:sid/en.wikipedia.org:{{FULLPAGENAMEE}}"><span style="display: none;"> </span></span> |
− | + |
Revision as of 19:05, 11 June 2011