Difference between revisions of "Template:Citation/vcitation"

From blackwiki
Jump to navigation Jump to search
(Blanked the page)
imported>Rrburke
m (Reverted edits by 78.149.8.104 (talk) to last revision by Br'er Rabbit (HG))
Line 1: Line 1:
 
+
<noinclude><!--
 +
-=======================================================================
 +
- Vcitation - Cite in Vancouver style (work, magazine, encyclopedia...)
 +
-=======================================================================
 +
--
 +
--></noinclude><span class="citation"{{
 +
  #if: {{{ref|{{{harvid|}}}}}}
 +
  | <nowiki/> id="{{anchorencode:{{{ref|CITEREF{{{harvid}}}}}}}}"
 +
}}>{{
 +
  #if: {{{author|{{{authors|}}}}}}
 +
  | {{{author|{{{authors}}}}}}{{{author.|{{{sep|.}}}}}}&#32;
 +
}}{{
 +
  #if: {{{editor|{{{editors|}}}}}}
 +
  | {{{editor|{{{editors}}}}}}{{{editor.|{{{sep|.}}}}}}&#32;
 +
}}{{
 +
  #if: {{{url|}}}{{{pmc|}}}{{{title|}}}{{{trans_title|}}}{{{articletype|}}}
 +
  | &#32;{{
 +
      #if: {{{url|}}}{{{pmc|}}}
 +
      | [{{#if: {{{url|}}}
 +
  | {{{url}}}{{{urlx}}}
 +
  | http://www.ncbi.nlm.nih.gov/pmc/articles/PMC{{{pmc}}}/
 +
}} {{#if:||
 +
  {{{title|}}} {{
 +
    #if: {{{trans_title|}}} | &#91;{{{trans_title}}}&#93;
 +
  }} {{
 +
    #if: {{{articletype|}}} | &#91;{{{articletype}}}&#93;
 +
  }}
 +
}}]
 +
      | {{{title|}}} {{
 +
  #if: {{{trans_title|}}} | &#91;{{{trans_title}}}&#93;
 +
}} {{
 +
  #if: {{{articletype|}}} | &#91;{{{articletype}}}&#93;
 +
}}
 +
    }}{{
 +
      #if: {{{format|}}} | &#32;&#91;{{{format}}}&#93;
 +
    }}{{
 +
      #if: {{{trans_title|}}}{{{articletype|}}}{{{format|}}}
 +
      | {{{sep|.}}}
 +
      | {{{title.|{{{sep|.}}}}}}
 +
    }}
 +
}}{{
 +
  #if: {{{work|{{{journal|{{{magazine|{{{encyclopedia|}}} }}} }}} }}}
 +
    | &#32;''<nowiki/>{{{work|{{{journal|{{{magazine|{{{encyclopedia|}}} }}} }}} }}}<nowiki/>''{{
 +
      #if: {{{edition|}}}
 +
      | &#32;({{{edition}}}){{{sep|.}}}
 +
      | {{{journal.|{{{sep|.}}}}}} }}
 +
}}{{
 +
  #if: {{{publisher|{{{agency|}}} }}}
 +
  | &#32;{{{publisher|{{{agency}}} }}}{{{sep|.}}}
 +
}}{{
 +
  #if: {{{location|}}} | &#32;{{{location}}}{{{sep|.}}}
 +
}}{{
 +
  #if: {{{date|{{{year|}}}}}}{{{update|}}}{{{archiveurl|}}}{{{accessdate|{{{acc|}}} }}}
 +
  | {{#if: {{{date|{{{year|}}}}}} | &#32;{{{date|{{{year}}}}}} }}{{
 +
      #if: {{{update|}}}{{{archiveurl|}}}{{{accessdate|{{{acc|}}}}}}
 +
      | &#32;&#91;{{{update|}}}{{
 +
  #if: {{{archiveurl|}}}
 +
  | {{#if: {{{update|}}} | <nowiki/>;&#32;
 +
    }}[{{{archiveurl}}} archived] {{{archivedate|}}}
 +
}}{{
 +
  #if: {{{accessdate|{{{acc|}}} }}}
 +
  | {{#if: {{{update|}}}{{{archiveurl|}}} | <nowiki/>;&#32;
 +
    }}cited {{{accessdate|{{{acc}}} }}}
 +
}}&#93;
 +
    }}{{#if: {{{volume|}}}{{{issue|}}} | <nowiki/>; }}
 +
  | {{#if: {{{volume|}}}{{{issue|}}} | &#32; }}
 +
}}{{{volume|}}}{{#if: {{{issue|}}} | ({{{issue}}}) }}{{
 +
  #if: {{{p|{{{pages|{{{page|{{{at|}}}}}}}}}}}}
 +
  | <nowiki/>:{{{p|{{{pages|{{{page|{{{at}}}}}}}}}}}}{{{sep|.}}}
 +
  | {{#if: {{{date|{{{year|}}}}}}{{{update|}}}{{{archiveurl|}}}{{{accessdate|}}}{{{volume|}}}{{{issue|}}} | {{{sep|.}}} }}
 +
}}{{
 +
  #if: {{{language|}}} | &#32;{{{language}}}{{{sep|.}}}
 +
}}{{
 +
  #if: {{{doi|}}}
 +
  | &#32;{{
 +
      #if: {{{doi_brokendate|}}}
 +
      | doi:{{#tag:nowiki|{{{doi}}}}} (inactive {{{doi_brokendate}}}) {{
 +
  #ifeq: {{NAMESPACE}} | {{ns:0}}
 +
  | [[Category:Pages with DOIs broken since {{#time: Y | {{{doi_brokendate}}} }}]]
 +
}}
 +
      | [[Digital Object Identifier|doi]]:[http://dx.doi.org/{{urlencode:{{{doi}}}}} {{#tag:nowiki|{{{doi}}}}}]
 +
    }}{{{sep|.}}}
 +
}}{{
 +
  #if: {{{id|}}} | &#32;{{{id}}}{{{sep|.}}}
 +
}}{{
 +
  #if: {{{pmid|}}} | &#32;PMID {{{pmid}}}{{{sep|.}}}
 +
}}{{
 +
  #if: {{{pmc|}}}
 +
  | {{#if: {{{url|}}}
 +
      | &#32;[[PubMed Central|PMC]] [http://www.ncbi.nlm.nih.gov/pmc/articles/PMC{{{pmc}}}/ {{{pmc}}}]{{{sep|.}}}
 +
    }}
 +
}}{{
 +
  #if: {{{bibcode|}}} | &#32;[[Bibcode]]:[http://adsabs.harvard.edu/abs/{{{bibcode}}} {{{bibcode}}}]{{{sep|.}}}
 +
}}{{
 +
  #if: {{{quote|}}} | &#32;"{{{quote}}}"
 +
}}{{
 +
  #if: {{{laysummary|}}}
 +
  | &#32;[{{{laysummary}}} Lay summary]{{
 +
      #if: {{{laysource|}}} | <nowiki/>: ''<nowiki/>{{{laysource}}}<nowiki/>''
 +
    }}{{#if: {{{laydate|}}} | , {{{laydate}}} }}{{{sep|.}}}
 +
}}{{
 +
  #if: {{{notes|}}} | &#32;{{{notes}}}
 +
}}{{
 +
  #if: {{{partid|}}} | &#32;{{{partid}}}
 +
}}{{
 +
  #if: {{{parturl|}}}{{{parttitle|}}}{{{trans_parttitle|}}}
 +
  | {{#if: {{{partid|}}} | , }}&#32;{{
 +
      #if: {{{parturl|}}}
 +
      | [{{{parturl}}} {{#if:||
 +
  {{{parttitle|}}} {{
 +
    #if: {{{trans_parttitle|}}} | &#91;{{{trans_parttitle}}}&#93;
 +
  }}
 +
}}]
 +
      | {{{parttitle|}}} {{
 +
  #if: {{{trans_parttitle|}}} | &#91;{{{trans_parttitle}}}&#93;
 +
}}
 +
    }}
 +
}}{{
 +
  #if: {{{partp|}}}
 +
  | {{#if: {{{partid|}}}{{{parturl|}}}{{{parttitle|}}}{{{trans_parttitle|}}} | <nowiki/>; }}&#32;p. {{{partp}}}{{{sep|.}}}
 +
  | {{#if: {{{trans_parttitle|}}}
 +
      | {{{sep|.}}}
 +
      | {{#if: {{{parttitle|}}}
 +
  | {{{parttitle.|.}}}
 +
  | {{#if: {{{partid|}}}{{{parturl|}}} | {{{sep|.}}} }}
 +
}}
 +
    }}
 +
}}</span><noinclude>
 +
{{mbox|image={{stop}}|text=per [[Wikipedia:Templates for discussion/Log/2012 July 15#Template:Fcite]], this suite of templates is only for use as a testbed, for helping to improve existing citation templates, and should be not deployed in article space.}}
 +
{{documentation|Template:Vcite_web/doc}}
 +
</noinclude>

Revision as of 14:48, 22 August 2012

Template documentation[create]