Difference between revisions of "Template:Citation/vcitation"

From blackwiki
Jump to navigation Jump to search
imported>Wikid77
(created, as a citation template for Template:Vcite_web, to format a general citation in Vancouver style (work, magazine, encyclopedia...).)
 
imported>Wikid77
(optimized {edition} 2x as 1 #if under {work}/{magazine}; +parameters: publisher, location; cut "journalformat".)
Line 41: Line 41:
 
}}{{
 
}}{{
 
   #if: {{{work|{{{journal|{{{magazine|{{{encyclopedia|}}} }}} }}} }}}
 
   #if: {{{work|{{{journal|{{{magazine|{{{encyclopedia|}}} }}} }}} }}}
     | &#32;''<nowiki/>{{{work|{{{journal|{{{magazine|{{{encyclopedia|}}} }}} }}} }}}<nowiki/>''
+
     | &#32;''<nowiki/>{{{work|{{{journal|{{{magazine|{{{encyclopedia|}}} }}} }}} }}}<nowiki/>''{{
 +
      #if: {{{edition|}}}
 +
      | &#32;({{{edition}}}){{{sep|.}}}
 +
      | {{{journal.|{{{sep|.}}}}}} }}
 
}}{{
 
}}{{
   #if: {{{edition|}}} | &#32;({{{edition}}})
+
   #if: {{{publisher|}}} | &#32;{{{publisher}}}{{{sep|.}}}
 
}}{{
 
}}{{
   #if: {{{journalformat|}}} | &#32;&#91;{{{journalformat}}}&#93;
+
   #if: {{{location|}}} | &#32;{{{location}}}{{{sep|.}}}
}}{{
 
  #if: {{{edition|}}}{{{journalformat|}}}
 
  | {{{sep|.}}}
 
  | {{#if: {{{journal|}}} | {{{journal.|{{{sep|.}}}}}} }}
 
 
}}{{
 
}}{{
 
   #if: {{{date|{{{year|}}}}}}{{{update|}}}{{{archiveurl|}}}{{{accessdate|{{{acc|}}} }}}
 
   #if: {{{date|{{{year|}}}}}}{{{update|}}}{{{archiveurl|}}}{{{accessdate|{{{acc|}}} }}}

Revision as of 17:07, 3 July 2012

Template documentation[create]