Template:Citation/core: Difference between revisions

From Feminist SF Wiki
Jump to navigation Jump to search
(cp from wp 1)
 
(cp fm wp 2)
Line 246: Line 246:
       }}
       }}
   }}
   }}
}}{{
<!--============  Title of included work  ============-->
  #if: {{{IncludedWorkTitle|}}}{{#if:{{{Periodical|}}}||{{#if:{{{TransItalic|}}}||{{{TransTitle|}}}}}}}
  |{{
    #if:{{{Surname1|}}}{{{EditorSurname1|}}}
    |{{{Sep|,}}}&#32;
  }}{{Citation/make link
    | 1={{
          #if: {{{IncludedWorkURL|}}}
          |{{{IncludedWorkURL}}}
          |{{
              #if: {{{URL|}}}
              |{{{URL}}}
<!-- Only link URL if to a free full text - as at PubMedCentral (PMC)-->
              |{{#ifexpr:{{#time: U}} > {{#time: U | {{{Embargo|2001-10-10}}} }}
                |{{
                  #if: {{{PMC|}}}
                  |http://www.pubmedcentral.nih.gov/articlerender.fcgi?tool=pmcentrez&artid={{{PMC}}}
                }}
              }}
            }}
        }}
    | 2={{
          #if: {{{Periodical|}}}
          |''<nowiki />{{{IncludedWorkTitle}}}<nowiki />''
          |"{{{IncludedWorkTitle|}}}{{
            #if: {{{TransTitle|}}}
            |{{
                #if: {{{IncludedWorkTitle|}}}
                |&#32;
              }}&#91;{{{TransTitle}}}&#93;
          }}"
        }}
  }}
}}{{
<!--============  Place (if different than PublicationPlace) ============-->
  #if: {{{Place|}}}
  |{{
    #ifeq: {{{Place|}}} | {{{PublicationPlace|}}}
    |
    |{{
        #if: {{{Surname1|}}}{{{EditorSurname1|}}}{{{IncludedWorkTitle|}}}
        |{{{Sep|,}}}&#32;written at {{{Place}}}
      }}
  }}
}}{{
<!--============  Editor of compilation  ============-->
  #if: {{{EditorSurname1|}}}
  |{{
    #if: {{{Surname1|}}}
    |{{{Sep|,}}}&#32;{{
        #if: {{{IncludedWorkTitle|}}}
        |{{#ifeq:{{{Sep|,}}}|.|I|i}}n&#32;
      }}{{
        #if: {{{Editorlink1|}}}
        |[[{{{Editorlink1}}} |{{{EditorSurname1}}}{{
          #if: {{{EditorGiven1|}}}
          |, {{{EditorGiven1}}}
        }}]]
        |{{{EditorSurname1}}}{{
          #if: {{{EditorGiven1|}}}
          |, {{{EditorGiven1}}}
        }}}}{{
        #if: {{{EditorSurname2|}}}
        |{{
          #if: {{{EditorSurname3|}}}
            |{{{AuthorSep|&#059;&#32;}}}
            |{{#if:{{{amp|}}}|&#32;&amp;&#32;|{{{AuthorSep|&#059;&#32;}}}}}
          }}{{
          #if: {{{Editorlink2|}}}
          |[[{{{Editorlink2}}}|{{{EditorSurname2}}}{{
              #if: {{{EditorGiven2|}}}
              |, {{{EditorGiven2}}}
            }}]]
          |{{{EditorSurname2}}}{{
              #if: {{{EditorGiven2|}}}
              |, {{{EditorGiven2}}}
            }}
        }}{{
          #if: {{{EditorSurname3|}}}
          |{{
              #if: {{{EditorSurname4|}}}
              |&#059;&#32;
              |{{#if:{{{amp|}}}|&#32;&amp;&#32;|{{{AuthorSep|&#059;&#32;}}}}}
            }}{{
              #if: {{{Editorlink3|}}}
              |[[{{{Editorlink3}}}|{{{EditorSurname3}}}{{
                #if: {{{EditorGiven3|}}}
                |, {{{EditorGiven3}}}
              }}]]
              |{{{EditorSurname3}}}{{
                #if: {{{EditorGiven3|}}}
                |, {{{EditorGiven3}}}
              }}
            }}{{
              #if:{{{EditorSurname4|}}}
              |&#32;et al.
            }}
        }}
      }}{{
        #if: {{{IncludedWorkTitle|}}}
        |
        |{{{Sep|,}}}&#32;ed{{#if:{{{EditorSurname2|}}}|s}}{{#ifeq:{{{Sep|,}}}|.||.}}
      }}
  }}
}}{{
  <!--============  Periodicals  ============-->
  #if: {{{Periodical|}}}
  |{{
    #if: {{{Other|}}}
    |{{{Sep|,}}}&#32;{{{Other|}}}
  }}{{
    #if: {{{Surname1|}}}{{{EditorSurname1|}}}{{{IncludedWorkTitle|}}}
    |{{{Sep|,}}}&#32;}}{{
    #if: {{{Title|}}}{{{TransTitle|}}}
    |{{Citation/make link
        | 1={{
              #if: {{{IncludedWorkTitle|}}}
              |{{
                #if: {{{IncludedWorkURL|}}}
                |{{
                    #if: {{{URL|}}}
                    |{{{URL}}}
                    |{{
                      #ifexpr: {{#time: U}} > {{#time: U | {{{Embargo|2001-10-10}}} }} | {{
                        #if: {{{PMC|}}}
                        |  http://www.pubmedcentral.nih.gov/articlerender.fcgi?tool=pmcentrez&artid={{{PMC}}}
                      }}
                    }}
                  }}
              }}
              |{{
                #if: {{{URL|}}}
                |{{{URL}}}
                |{{#ifexpr:{{#time: U}} > {{#time: U | {{{Embargo|2001-10-10}}} }} |{{
                      #if: {{{PMC|}}}
                      |  http://www.pubmedcentral.nih.gov/articlerender.fcgi?tool=pmcentrez&artid={{{PMC}}}
                    }}
                }}
              }}
            }}
        | 2="{{{Title}}}{{
          #if: {{{TransTitle|}}}
          |{{
            #if: {{{Title|}}}
            |&#32;
          }}&#91;{{{TransTitle}}}&#93;
        }}"
      }}{{
        #if: {{{TitleNote|}}}
        |{{{Sep|,}}}&#32;{{{TitleNote}}}
      }}
  }}
}}{{
  #if: {{{language|}}}
  |&#32;(in {{{language}}})
}}{{
  #if: {{{format|}}}
  |&#32;({{{format}}})
}}{{
  #if: {{{Periodical|}}}
  |{{
      #if:{{{IncludedWorkTitle|}}}{{{Title|}}}{{{TransTitle|}}}
      |{{{Sep|,}}}&#32;
    }}''<nowiki />{{{Periodical}}}<nowiki />''{{
      #if: {{{Series|}}}
      |{{{Sep|,}}}&#32;{{{Series}}}
    }}{{
      #if: {{{PublicationPlace|}}}
      |{{
        #if: {{{Publisher|}}}
        |&#32;({{{PublicationPlace}}}<nowiki>: </nowiki>{{{Publisher}}})
        |&#32;({{{PublicationPlace}}})
      }}
      |{{
        #if: {{{Publisher|}}}
        |&#32;({{{Publisher}}})
      }}
    }}{{
      #if: {{{Volume|}}}
      |&#32;'''<nowiki />{{{Volume}}}<nowiki />'''{{
        #if: {{{Issue|}}}
        |&#32;({{{Issue}}})
      }}
      |{{
        #if: {{{Issue|}}}
        |&#32;({{{Issue}}})
      }}
    }}{{
      #if: {{{At|}}}
      |<nowiki>: </nowiki> {{{At}}}
    }}
  |{{
      <!--============ Anything else with a title, including books ============-->
      #if: {{{Title|}}}{{{TransItalic|}}}
      |{{
        #if: {{{Surname1|}}}{{{EditorSurname1|}}}{{{IncludedWorkTitle|}}}{{{Periodical|}}}
        |{{{Sep|,}}}
      }}&#32;{{Citation/make link
        | 1={{
              #if: {{{IncludedWorkTitle|}}}
              |{{
                  #if: {{{IncludedWorkURL|}}}
                  |{{
                    #if: {{{URL|}}}
                    |{{{URL}}}
                    |{{#ifexpr:{{#time: U}} > {{#time: U | {{{Embargo|2001-10-10}}} }}|{{
                        #if: {{{PMC|}}}
                        |  http://www.pubmedcentral.nih.gov/articlerender.fcgi?tool=pmcentrez&artid={{{PMC}}}
                      }}}}
                  }}
                }}
              |{{
                  #if: {{{URL|}}}
                  |{{{URL}}}
                                |{{#ifexpr:{{#time: U}} > {{#time: U | {{{Embargo|2001-10-10}}} }}|{{
                    #if: {{{PMC|}}}
                    |  http://www.pubmedcentral.nih.gov/articlerender.fcgi?tool=pmcentrez&artid={{{PMC}}}
                  }}}}
                }}
            }}
        | 2=''<nowiki />{{{Title|}}}{{
            #if:{{{TransItalic|}}}|&#32;&#91;{{{TransItalic}}}&#93;
          }}<nowiki />''
      }}
    }}{{
      #if: {{{TitleType|}}}
      |&#32;({{{TitleType}}})
    }}{{
      #if: {{{Series|}}}
      |{{{Sep|,}}}&#32;{{{Series}}}
    }}{{
      #if: {{{Volume|}}}
      |{{{Sep|,}}}&#32;'''<nowiki />{{{Volume}}}<nowiki />'''
    }}{{
      #if: {{{Other|}}}
      |{{{Sep|,}}}&#32;{{{Other|}}}
    }}{{
      #if: {{{Edition|}}}
      |&#32;({{{Edition}}} ed.)
    }}{{
      #if: {{{PublicationPlace|}}}
      |{{{Sep|,}}}&#32;{{{PublicationPlace}}}
    }}{{
      #if: {{{Publisher|}}}
      |{{
        #if: {{{PublicationPlace|}}}
        |<nowiki>:</nowiki>
        |{{{Sep|,}}}
      }}&#32;{{{Publisher}}}
    }}
}}{{
}}{{

Revision as of 13:51, 1 December 2010

{{