Template:Book reference

From Environmental Technology

(Difference between revisions)
 
Line 1: Line 1:
-
<cite style="font-style:normal" {{qif
+
 
-
  |test={{{Ref|}}}
+
-
  |then={{qif
+
-
      |test={{booleq
+
-
            |{{{Ref}}}
+
-
            |none
+
-
          }}
+
-
      |then=
+
-
      |else=id="{{{Ref}}}"
+
-
    }}
+
-
  |else={{qif
+
-
    |test={{booland
+
-
      |1={{{Last|}}}
+
-
      |2={{{Year|}}}
+
-
    }}
+
-
    |then=id="Reference-{{{Last}}}-{{{Year}}}"
+
-
  }}
+
-
}}
+
-
}}>{{qif
+
-
  |test={{{Authorlink|}}}
+
-
  |then={{wikilink
+
-
    |1={{{Authorlink}}}
+
-
    |2={{qif
+
-
      |test={{{Author|}}}
+
-
      |then={{{Author}}}
+
-
      |else={{{Last|}}}{{qif
+
-
        |test={{{First|}}}
+
-
        |then=, {{{First}}}
+
-
      }}
+
-
    }}
+
-
  }}
+
-
  |else={{qif
+
-
    |test={{{Author|}}}
+
-
    |then={{{Author}}}
+
-
    |else={{{Last|}}}{{qif
+
-
      |test={{{First|}}}
+
-
      |then=, {{{First}}}
+
-
    }}
+
-
  }}
+
-
}}{{qif
+
-
  |test={{{Coauthors|}}}
+
-
  |then=<nowiki>,</nowiki> {{{Coauthors}}}
+
-
}}{{qif
+
-
  |test={{{Date|}}}
+
-
  |then=&#32;({{{Date}}})
+
-
  |else={{qif
+
-
    |test={{{Year|}}}
+
-
    |then={{qif
+
-
      |test={{{Month|}}}
+
-
      |then=&#32;({{{Month}}} {{{Year}}})
+
-
      |else=&#32;({{{Year}}})
+
-
    }}
+
-
  }}
+
-
}}{{qif
+
-
  |test={{{Author|{{{Last|{{{Year|}}}}}}}}}
+
-
  |then=.
+
-
}}{{qif
+
-
  |test={{{Chapter|}}}
+
-
  |then=&#32;"{{{Chapter}}}"
+
-
}}{{qif
+
-
  |test={{{Editor|}}}
+
-
  |then=&#32;{{{Editor}}}
+
-
}} ''{{qif
+
-
  |test={{{URL|}}}
+
-
  |then=[{{{URL}}} {{{Title}}}]
+
-
  |else={{{Title}}}
+
-
}}''{{qif
+
-
  |test={{{Others|}}}
+
-
  |then=, {{{Others}}}
+
-
}}{{qif
+
-
  |test={{{Edition|}}}
+
-
  |then=, {{{Edition}}}
+
-
}}{{qif
+
-
  |test={{{Pages|}}}
+
-
  |then=, {{{Pages}}}
+
-
}}{{qif
+
-
  |test={{{Publisher|}}}
+
-
  |then=, {{qif
+
-
    |test={{{Location|}}}
+
-
    |then={{{Location}}}:&#32;
+
-
  }}{{{Publisher}}}
+
-
}}{{qif
+
-
  |test={{{ID|}}}
+
-
  |then=. {{{ID}}}
+
-
}}.</cite><noinclude>
+
-
{{esoteric}}
+
-
[[Category:Citation templates|{{PAGENAME}}]]
+
-
</noinclude>
+

Current revision as of 18:41, 16 January 2006

Personal tools