Template:CiteJournal/core

From 2010.igem.org

(Difference between revisions)
(New page: <includeonly>{{#ifeq:{{{Nb|}}}|yes||{{#ifeq:{{{Txt|}}}|yes||(}}}}{{ <!-- Much of this code is copied from template:citation/core and should be kept the same for compatibility--> #i...)
(Removing all content from page)
 
Line 1: Line 1:
-
<includeonly>{{#ifeq:{{{Nb|}}}|yes||{{#ifeq:{{{Txt|}}}|yes||(}}}}{{
+
 
-
<!-- Much of this code is copied from template:citation/core
+
-
    and should be kept the same for compatibility-->
+
-
#if:{{{Surname1|}}}
+
-
  |{{
+
-
    #if: {{{Authorlink1|}}}
+
-
    |[[{{{Authorlink1}}} |{{
+
-
        #if: {{{Given1|}}}
+
-
        |{{{Given1}}}&#32;
+
-
      }}{{{Surname1}}}]]
+
-
    |{{
+
-
        #if: {{{Given1|}}}
+
-
        |{{{Given1}}}&#32;
+
-
      }}{{{Surname1}}}
+
-
  }}{{
+
-
    #if: {{{Surname2|}}}
+
-
    |{{
+
-
        #if: {{{Surname3|}}}
+
-
        |,&#32;
+
-
        |&#32;{{#ifeq:{{{Txt|}}}|yes|and|&amp;}}&#32;
+
-
      }}{{
+
-
        #if: {{{Authorlink2|}}}
+
-
        |[[{{{Authorlink2}}} |{{{Given2|}}} {{{Surname2}}}]]
+
-
        |{{{Given2|}}} {{{Surname2}}}
+
-
      }}{{
+
-
        #if: {{{Surname3|}}}
+
-
        |{{#ifeq:{{{Txt|}}}|yes|,&#32;and&#32;|&#32;&amp;&#32;}}{{
+
-
          #if: {{{Authorlink3|}}}
+
-
          |[[{{{Authorlink3}}} |{{{Given3|}}} {{{Surname3}}}]]
+
-
          |{{{Given3|}}} {{{Surname3}}}
+
-
        }}{{
+
-
          #if:{{{Surname4|}}}
+
-
          |&#32;et al.
+
-
        }}
+
-
      }}
+
-
  }}
+
-
  |{{
+
-
    #if: {{{EditorSurname1|}}}
+
-
    |{{
+
-
        #if: {{{Editorlink1|}}}
+
-
        |[[{{{Editorlink1}}} |{{{EditorSurname1}}}{{
+
-
          #if: {{{EditorGiven1|}}}
+
-
          |, {{{EditorGiven1}}}
+
-
        }}]]
+
-
        |{{{EditorSurname1}}}{{
+
-
          #if: {{{EditorGiven1|}}}
+
-
          |, {{{EditorGiven1}}}
+
-
        }}
+
-
      }}{{
+
-
        #if: {{{EditorSurname2|}}}
+
-
        |{{
+
-
          #if: {{{EditorSurname3|}}}
+
-
          |<nowiki>; </nowiki>
+
-
          |&#32;&amp;&#32;
+
-
        }}{{
+
-
          #if: {{{Editorlink2|}}}
+
-
          |[[{{{Editorlink2}}} |{{{EditorGiven2|}}} {{{EditorSurname2}}}]]
+
-
          |{{{EditorGiven2|}}} {{{EditorSurname2}}}
+
-
        }}{{
+
-
          #if: {{{EditorSurname3|}}}
+
-
          |&#32;&amp; {{
+
-
              #if: {{{Editorlink3|}}}
+
-
              |[[{{{Editorlink3}}} |{{{EditorGiven3|}}} {{{EditorSurname3}}}]]
+
-
              |{{{EditorGiven3|}}} {{{EditorSurname3}}}
+
-
            }}{{
+
-
              #if:{{{EditorSurname4|}}}
+
-
              |&#32;et al.
+
-
            }}
+
-
        }}
+
-
      }}, ed{{#if:{{{EditorSurname2|}}}|s}}.
+
-
  }}
+
-
}}&nbsp;{{#ifeq:{{{Nb|}}}|yes||{{#ifeq:{{{Txt|}}}|yes|(| }}}}<!--
+
-
  first link:
+
-
-->[[{{{Citationpage|}}}#{{anchorencode:{{
+
-
  #if:{{{Ref|}}}
+
-
  |{{#ifeq:{{{Ref|}}}|none||{{{Ref|}}}}}
+
-
  |CITEREF{{#if:{{{Surname1|}}}
+
-
    |{{{Surname1}}}{{{Surname2|}}}{{{Surname3|}}}{{{Surname4|}}}
+
-
    |{{{EditorSurname1|}}}{{{EditorSurname2|}}}{{{EditorSurname3|}}}{{{EditorSurname4|}}}
+
-
  }}{{{Year|{{{Date|}}}}}}
+
-
}}}}|{{{Year|{{{Date|}}}}}}]]{{#if:{{{Loc1|}}}|,&ensp;{{{Loc1|}}} }}<!--
+
-
  second link
+
-
-->{{#if:{{{Year2|}}}
+
-
  |, [[{{{Citationpage|}}}#{{anchorencode:{{
+
-
  #if:{{{Ref2|}}}
+
-
  |{{#ifeq:{{{Ref2|}}}|none||{{{Ref2|}}}}}
+
-
  |CITEREF{{#if:{{{Surname1|}}}
+
-
    |{{{Surname1}}}{{{Surname2|}}}{{{Surname3|}}}{{{Surname4|}}}
+
-
    |{{{EditorSurname1|}}}{{{EditorSurname2|}}}{{{EditorSurname3|}}}{{{EditorSurname4|}}}
+
-
  }}{{{Year2|}}}
+
-
}}}}|{{{Year2|}}}]]|}}{{#if:{{{Loc2|}}}|,&ensp;{{{Loc2|}}} }}<!--
+
-
  3rd link
+
-
-->{{#if:{{{Year3|}}}
+
-
  |, [[{{{Citationpage|}}}#{{anchorencode:{{
+
-
  #if:{{{Ref3|}}}
+
-
  |{{#ifeq:{{{Ref3|}}}|none||{{{Ref3|}}}}}
+
-
  |CITEREF{{#if:{{{Surname1|}}}
+
-
    |{{{Surname1}}}{{{Surname2|}}}{{{Surname3|}}}{{{Surname4|}}}
+
-
    |{{{EditorSurname1|}}}{{{EditorSurname2|}}}{{{EditorSurname3|}}}{{{EditorSurname4|}}}
+
-
  }}{{{Year3|}}}
+
-
}}}}|{{{Year3|}}}]]|}}{{#if:{{{Loc3|}}}|,&ensp;{{{Loc3|}}} }}<!--
+
-
  4th link
+
-
-->{{#if:{{{Year4|}}}
+
-
  |, [[{{{Citationpage|}}}#{{anchorencode:{{
+
-
  #if:{{{Ref4|}}}
+
-
  |{{#ifeq:{{{Ref4|}}}|none||{{{Ref4|}}}}}
+
-
  |CITEREF{{#if:{{{Surname1|}}}
+
-
    |{{{Surname1}}}{{{Surname2|}}}{{{Surname3|}}}{{{Surname4|}}}
+
-
    |{{{EditorSurname1|}}}{{{EditorSurname2|}}}{{{EditorSurname3|}}}{{{EditorSurname4|}}}
+
-
  }}{{{Year4|}}}
+
-
}}}}|{{{Year4|}}}]]|}}{{#if:{{{Loc4|}}}|,&ensp;{{{Loc4|}}} }}{{#ifeq:{{{Nb|}}}|yes||)}}</includeonly>
+

Latest revision as of 09:05, 2 July 2010