Still working to recover. Please don't edit quite yet.
Difference between revisions of "Template:Cite book"
From Anarchopedia
m (testing an older version of the template) |
m (test) |
||
Line 1: | Line 1: | ||
− | <includeonly><cite class="book" style="font-style:normal" {{ | + | <includeonly><cite class="book" style="font-style:normal" {{#if: {{{ref|}}} |
− | + | ||
|{{#ifeq:{{{ref}}}|none||id="{{{ref}}}"}} | |{{#ifeq:{{{ref}}}|none||id="{{{ref}}}"}} | ||
|{{#if:{{{last|}}} | {{#if:{{{year|}}} | id="Reference-{{{last}}}-{{{year}}}" }} }} | |{{#if:{{{last|}}} | {{#if:{{{year|}}} | id="Reference-{{{last}}}-{{{year}}}" }} }} | ||
− | }}>{{ | + | }}>{{#if: {{{author|{{{last|}}}}}} |
− | + | | {{#if: {{{authorlink|}}} | |
− | | {{ | + | | [[{{{authorlink}}}|{{#if: {{{last|}}} |
− | + | | {{{last}}}{{#if: {{{first|}}} | , {{{first}}} }} | |
− | | [[{{{authorlink}}}|{{ | + | |
− | + | ||
− | | {{{last}}}{{ #if: {{{first|}}} | , {{{first}}} }} | + | |
| {{{author}}} | | {{{author}}} | ||
}}]] | }}]] | ||
− | | {{ | + | | {{#if: {{{last|}}} |
− | + | | {{{last}}}{{#if: {{{first|}}} | , {{{first}}} }} | |
− | | {{{last}}}{{ #if: {{{first|}}} | , {{{first}}} }} | + | |
| {{{author}}} | | {{{author}}} | ||
}} | }} | ||
}} | }} | ||
− | }}{{ | + | }}{{#if: {{{author|{{{last|}}}}}} |
− | + | | {{#if: {{{coauthors|}}} | , {{{coauthors}}} }} | |
− | | {{ #if: {{{coauthors|}}} | , {{{coauthors}}} }} | + | }}{{#if: {{{origdate|}}} |
− | }}{{ | + | |
− | + | ||
|  <nowiki>[</nowiki>{{{origdate}}}] | |  <nowiki>[</nowiki>{{{origdate}}}] | ||
− | | {{ | + | | {{#if: {{{origyear|}}} |
− | + | | {{#if: {{{origmonth|}}} | |
− | | {{ | + | |
− | + | ||
|  <nowiki>[</nowiki>{{{origmonth}}} {{{origyear}}}] | |  <nowiki>[</nowiki>{{{origmonth}}} {{{origyear}}}] | ||
|  <nowiki>[</nowiki>{{{origyear}}}] | |  <nowiki>[</nowiki>{{{origyear}}}] | ||
}} | }} | ||
}} | }} | ||
− | }}{{ | + | }}{{#if: {{{date|}}} |
− | + | ||
|  ({{{date}}}) | |  ({{{date}}}) | ||
− | | {{ | + | | {{#if: {{{year|}}} |
− | + | | {{#if: {{{month|}}} | |
− | | {{ | + | |
− | + | ||
|  ({{{month}}} {{{year}}}) | |  ({{{month}}} {{{year}}}) | ||
|  ({{{year}}}) | |  ({{{year}}}) | ||
}} | }} | ||
}} | }} | ||
− | }}{{ #if: {{{author|{{{last|}}}}}} | . | + | }}{{#if: {{{author|{{{last|}}}}}} | . |
− | }}{{ | + | }}{{#if: {{{chapter|}}} |
− | + | |  “{{#if: {{{chapterurl|}}} | |
− | |  “{{ | + | |
− | + | ||
| [{{{chapterurl}}} {{{chapter}}}] | | [{{{chapterurl}}} {{{chapter}}}] | ||
| {{{chapter}}} | | {{{chapter}}} | ||
− | }}â€,}}{{ | + | }}â€,}}{{#if: {{{editor|}}} |
− | + | ||
|  {{{editor}}} | |  {{{editor}}} | ||
− | }} ''{{ | + | }} ''{{#if: {{{url|}}} | [{{{url}}} {{{title}}}] | {{{title}}} |
− | + | }}''{{#if: {{{format|}}} |  ({{{format}}}) | |
− | }}''{{ | + | }}{{#if: {{{others|}}} | , {{{others}}} |
− | + | }}{{#if: {{{edition|}}} | , {{{edition}}} | |
− | }}{{ | + | }}{{#if: {{{language|}}} |  (in {{{language}}}) |
− | + | }}{{#if: {{{publisher|}}} | |
− | }}{{ | + | | {{#if: {{{format|}}}{{{others|}}}{{{edition|}}} | ,  | .  }}{{#if: {{{location|}}} |
− | + | ||
− | }}{{ | + | |
− | + | ||
− | }}{{ | + | |
− | + | ||
− | | {{#if: {{{format|}}}{{{others|}}}{{{edition|}}} | ,  | .  }}{{ | + | |
− | + | ||
| {{{location}}}:  | | {{{location}}}:  | ||
}}{{{publisher}}} | }}{{{publisher}}} | ||
− | }}{{ | + | }}{{#if: {{{pages|}}} | , {{{pages}}} |
− | + | }}{{#if: {{{doi|}}} | . [[Digital object identifier|DOI]]:[http://dx.doi.org/{{{doi}}} {{{doi}}}] | |
− | }}{{ | + | }}{{#if: {{{id|}}} | . {{{id}}} |
− | + | }}{{#if: {{{accessdate|}}} | |
− | }}{{ | + | |
− | + | ||
− | }}{{ | + | |
− | + | ||
| . Retrieved on [[{{{accessdate}}}]] | | . Retrieved on [[{{{accessdate}}}]] | ||
− | | {{ | + | | {{#if: {{{accessyear|}}} |
− | + | | . Retrieved {{#if: {{{accessmonth|}}} | |
− | | . Retrieved {{ | + | |
− | + | ||
| on [[{{{accessmonth}}} {{{accessyear}}}]] | | on [[{{{accessmonth}}} {{{accessyear}}}]] | ||
| during [[{{{accessyear}}}]] | | during [[{{{accessyear}}}]] | ||
}} | }} | ||
}} | }} | ||
− | }}.{{ #if: {{{quote|}}} | “{{{quote}}}†| + | }}.{{#if: {{{quote|}}} | “{{{quote}}}†|
}}</cite></includeonly><noinclude>{{/doc}}</noinclude> | }}</cite></includeonly><noinclude>{{/doc}}</noinclude> |