Difference between revisions of "Template:Harvard citation no brackets"

From Self-sufficiency
Jump to: navigation, search
(trim spaces from parameters, per request)
m (1 revision imported)
 
(2 intermediate revisions by 2 users not shown)
Line 1: Line 1:
{{#ifeq:{{{ref|{{{Ref|}}}}}}|none
+
<includeonly>{{#invoke:Footnotes|harvard_citation_no_bracket}}</includeonly><noinclude>
  |{{#if:{{{5|}}}
+
      |{{{1|}}} et al. {{{5|}}}
+
      |{{#if:{{{4|}}}
+
          |{{{1|}}}, {{{2|}}} &amp; {{{3|}}} {{{4|}}}
+
          |{{#if:{{{3|}}}
+
            |{{{1|}}} &amp; {{{2|}}} {{{3|}}}
+
            |{{{1|}}} {{{2|}}}
+
          }}
+
        }}
+
    }}
+
  | [[#<!--
+
  -->{{#if:{{{ref|{{{Ref|}}}}}}<!--
+
    -->|{{{ref|{{{Ref}}}}}}<!--
+
    -->|CITEREF{{#if:||{{{1|}}}}}{{#if:||{{{2|}}}}}{{#if:||{{{3|}}}}}{{#if:||{{{4|}}}}}{{#if:||{{{5|}}}}}<!--
+
  -->}}<!--
+
  -->|{{#if:{{{5|}}}<!--
+
      -->|{{{1|}}} et al. {{{5|}}}<!--
+
      -->|{{#if:{{{4|}}}<!--
+
          -->|{{{1|}}}, {{{2|}}} &amp; {{{3|}}} {{{4|}}}<!--
+
          -->|{{#if:{{{3|}}}<!--
+
            -->|{{{1|}}} &amp; {{{2|}}} {{{3|}}}<!--
+
            -->|{{{1|}}} {{{2|}}}<!--
+
          -->}}<!--
+
        -->}}<!--
+
    -->}}<!--
+
-->]]
+
}}{{#if:{{{loc|}}}
+
  |, {{{loc|}}}
+
  |{{#if:{{{p|{{{page|}}}}}}
+
    |, p.&nbsp;{{{p|{{{page}}}}}}
+
    |{{#if:{{{pp|{{{pages|}}}}}}
+
        |, pp.&nbsp;{{{pp|{{{pages}}}}}}
+
      }}
+
  }}
+
}}<noinclude>
+
 
{{documentation}}
 
{{documentation}}
 
</noinclude>
 
</noinclude>

Latest revision as of 21:55, 17 February 2018