Difference between revisions of "Template:Citation/fcite journal"

From blackwiki
Jump to navigation Jump to search
imported>Wikid77
(for {ref}=harv, defaulted {year} as {#time:Y|date/publication-date}; new parameters: editor2-last/editor2-first... editor4-last/first.)
imported>Wikid77
(show "eds." plural when editor2-last; for {1}=help, if found "editor2=" - use "editor2-last"; faster check for date#1.)
Line 79: Line 79:
 
     |<b/>{{{author-separator|;}}}&#32;}}<!--separator
 
     |<b/>{{{author-separator|;}}}&#32;}}<!--separator
 
     -->{{{editor|{{{editor1-last|J. Olson}}}}}}{{
 
     -->{{{editor|{{{editor1-last|J. Olson}}}}}}{{
       #if:{{{editor1-first|}}}|, {{{editor1-first}}}<!--
+
       #if:{{{editor1-first|}}}|, {{{editor1-first}}}
      -->}}{{{sep|.}}} ed.{{
+
    }}{{
 
 
 
     #if:{{{editor2-last|}}}<!--if editor2 set-->
 
     #if:{{{editor2-last|}}}<!--if editor2 set-->
 
     |<b/>{{{author-separator|;}}} <!--separator
 
     |<b/>{{{author-separator|;}}} <!--separator
 
       -->{{{editor2-last}}}{{
 
       -->{{{editor2-last}}}{{
         #if:{{{editor2-first|}}}|, {{{editor2-first}}}<!--
+
         #if:{{{editor2-first|}}}|, {{{editor2-first}}}
        -->}}{{{sep|.}}} ed.{{
+
      }}{{
 
 
 
       #if:{{{editor3-last|}}}<!--if editor3 set-->
 
       #if:{{{editor3-last|}}}<!--if editor3 set-->
 
       |<b/>{{{author-separator|;}}} <!--separator
 
       |<b/>{{{author-separator|;}}} <!--separator
 
         -->{{{editor3-last}}}{{
 
         -->{{{editor3-last}}}{{
           #if:{{{editor3-first|}}}|, {{{editor3-first}}}<!--
+
           #if:{{{editor3-first|}}}|, {{{editor3-first}}}
          -->}}{{{sep|.}}} ed.{{
+
        }}{{
 
 
 
         #if:{{{editor4-last|}}}<!--if editor4 set-->
 
         #if:{{{editor4-last|}}}<!--if editor4 set-->
 
         |<b/>{{{author-separator|;}}} <!--separator
 
         |<b/>{{{author-separator|;}}} <!--separator
 
           -->{{{editor4-last}}}{{
 
           -->{{{editor4-last}}}{{
             #if:{{{editor4-first|}}}|, {{{editor4-first}}}<!--
+
             #if:{{{editor4-first|}}}|, {{{editor4-first}}} }}
            -->}}{{{sep|.}}} ed.
 
 
         }}<!--endif {editor4-last} -->
 
         }}<!--endif {editor4-last} -->
       }}<!--endif {editor3-last} -->
+
       }}<!--endif {editor3-last}
 +
    -->{{{sep|.}}} eds.&#32;
 +
    |<!--else no editor2-->{{{sep|.}}} ed.&#32;
 
     }}<!--endif {editor2-last} -->
 
     }}<!--endif {editor2-last} -->
   }}<!--endif {editor|editor1-last} -->
+
   }}<!--endif {editor|editor1-last}
 
+
----------------------------------------------------- Date if authors/editor
{{#if:{{{last|{{{author|{{{last1|{{{author1|{{{editor|}}} }}} }}} }}} }}}
+
-->{{
     |{{<!--put any date here
+
  #if:{{{date|{{{year|{{{month|}}} }}} }}}
    -->#if:{{{date|{{{year|{{{month|}}} }}} }}}
+
     |{{<!--check if date here
 +
  -->#if:{{{last|{{{author|{{{last1|{{{author1|{{{editor|{{{editor1-last|<!--
 +
      -->}}} }}} }}} }}} }}} }}}
 
       |&#32;({{{date|{{
 
       |&#32;({{{date|{{
 
         #if:{{{month|}}}
 
         #if:{{{month|}}}
Line 114: Line 114:
 
       }}{{{sep|.}}}&#32;
 
       }}{{{sep|.}}}&#32;
 
       |<b/>{{{author-separator|;}}}&#32;<!--
 
       |<b/>{{{author-separator|;}}}&#32;<!--
   -->}}<!--
+
   -->}}<!--endif {last|author|last1|author1|editor...}
-->}}<!--endif {last|author|last1|author1|editor}
+
-->}}<!--endif {date|year|month}
 
-------------------------------------------------------
 
-------------------------------------------------------
 
-->{{#if:{{{work|{{{journal|{{{periodical|{{{magazine|{{{newspaper|<!--
 
-->{{#if:{{{work|{{{journal|{{{periodical|{{{magazine|{{{newspaper|<!--
Line 364: Line 364:
 
   #if:{{{editorlast|}}}|<br>'''Fcite_web''': <!--
 
   #if:{{{editorlast|}}}|<br>'''Fcite_web''': <!--
 
     -->Found "editorlast=" - use "editor1-last=".
 
     -->Found "editorlast=" - use "editor1-last=".
  }}{{
 
  #if:{{{editor2-last|}}}|<br>'''Fcite_web''': <!--
 
    -->Found "editor2-last=" - use {[[Template:Cite_web|Cite_web]]}.
 
  }}{{
 
  #if:{{{editor3-last|}}}|<br>'''Fcite_web''': <!--
 
    -->Found "editor3-last=" - use {[[Template:Cite_web|Cite_web]]}.
 
 
   }}{{
 
   }}{{
 
   #if:{{{editor2|}}}|<br>'''Fcite_web''': <!--
 
   #if:{{{editor2|}}}|<br>'''Fcite_web''': <!--
     -->Found "editor2=" - use {[[Template:Cite_web|Cite_web]]}.
+
     -->Found "editor2=" - use "editor2-last".
 
   }}{{
 
   }}{{
 
   #if:{{{editor3|}}}|<br>'''Fcite_web''': <!--
 
   #if:{{{editor3|}}}|<br>'''Fcite_web''': <!--
     -->Found "editor3=" - use {[[Template:Cite_web|Cite_web]]}.
+
     -->Found "editor3=" - use "editor3-last".
 
   }}{{
 
   }}{{
 
   #if:{{{author-link1|}}}
 
   #if:{{{author-link1|}}}

Revision as of 04:45, 22 July 2012

Template:Template for discussion/dated{{{title}}}.

Template documentation[create]