Skip to content

Commit

Permalink
Create aberdeen-university-school-of-education-harvard.csl (#4685)
Browse files Browse the repository at this point in the history
  • Loading branch information
merlinsmum authored Apr 10, 2020
1 parent 807930a commit f8b744c
Showing 1 changed file with 383 additions and 0 deletions.
383 changes: 383 additions & 0 deletions university-of-aberdeen-school-of-education-harvard.csl
Original file line number Diff line number Diff line change
@@ -0,0 +1,383 @@
<?xml version="1.0" encoding="utf-8"?>
<style xmlns="http://purl.org/net/xbiblio/csl" class="in-text" version="1.0" demote-non-dropping-particle="sort-only" default-locale="en-GB">
<info>
<title>University of Aberdeen - School of Education - Harvard</title>
<title-short>ABDN-Education-Harvard</title-short>
<id>http://www.zotero.org/styles/university-of-aberdeen-school-of-education-harvard</id>
<link href="http://www.zotero.org/styles/university-of-aberdeen-school-of-education-harvard" rel="self"/>
<link href="http://www.zotero.org/styles/queen-margaret-university-harvard" rel="template"/>
<link href="https://www.abdn.ac.uk/library/documents/guides/ugedu010.pdf" rel="documentation"/>
<author>
<name>Liz Leigh</name>
</author>
<category citation-format="author-date"/>
<category field="generic-base"/>
<summary>Style for School of Education, Aberdeen University, based on published guidelines in the Library 2020.</summary>
<updated>2020-04-09T23:30:00+00:00</updated>
<rights license="http://creativecommons.org/licenses/by-sa/3.0/">This work is licensed under a Creative Commons Attribution-ShareAlike 3.0 License</rights>
</info>
<locale xml:lang="en">
<terms>
<term name="available at">available from</term>
<term name="accessed">viewed</term>
</terms>
</locale>
<macro name="container">
<choose>
<if type="chapter paper-conference" match="any">
<group delimiter=". ">
<group delimiter=": ">
<text term="in" text-case="capitalize-first"/>
<names variable="editor translator" delimiter=", ">
<name sort-separator=", " initialize-with="." and="text" delimiter=", "/>
<label form="short" prefix=", "/>
</names>
</group>
<text variable="container-title" font-style="italic"/>
</group>
</if>
<else-if type="bill book graphic legal_case legislation motion_picture report song" match="any">
<group delimiter=". ">
<text variable="container-title"/>
</group>
</else-if>
<else-if type="broadcast">
<choose>
<if variable="container-title">
<group delimiter=", ">
<text variable="number" prefix="Episode "/>
<text variable="title"/>
</group>
</if>
</choose>
</else-if>
<else>
<group delimiter=". ">
<text variable="container-title" font-style="italic"/>
</group>
</else>
</choose>
</macro>
<macro name="author">
<choose>
<if type="motion_picture broadcast" match="none">
<names variable="author">
<name and="text" initialize-with="." name-as-sort-order="all">
<name-part name="given" text-case="uppercase"/>
<name-part name="family" text-case="uppercase"/>
</name>
<label form="short" prefix=", "/>
<substitute>
<names variable="editor"/>
<names variable="translator"/>
<text macro="title"/>
</substitute>
</names>
</if>
<else>
<choose>
<if variable="container-title">
<group delimiter=". ">
<text variable="container-title" font-style="italic"/>
</group>
</if>
<else>
<text variable="title" font-style="italic"/>
</else>
</choose>
</else>
</choose>
</macro>
<macro name="author-short">
<choose>
<if type="motion_picture broadcast" match="none">
<names variable="author">
<name form="short" and="text" delimiter=", " initialize-with=". "/>
<substitute>
<names variable="editor"/>
<names variable="translator"/>
<choose>
<if type="bill book graphic legal_case legislation motion_picture report song" match="any">
<text variable="title" form="short" font-style="italic"/>
</if>
<else>
<text variable="title" form="short"/>
</else>
</choose>
</substitute>
</names>
</if>
<else>
<choose>
<if variable="container-title">
<text variable="container-title" font-style="italic"/>
</if>
<else>
<text variable="title" font-style="italic"/>
</else>
</choose>
</else>
</choose>
</macro>
<macro name="access">
<choose>
<if type="post-weblog song speech report" match="any">
<group delimiter=" .">
<group delimiter=": ">
<text variable="genre" font-style="italic" prefix=" "/>
<date form="text" variable="issued"/>
<choose>
<if variable="URL">
<text term="available at" text-case="capitalize-first"/>
<text variable="URL"/>
</if>
</choose>
</group>
<group prefix=" [" suffix="]" delimiter=" ">
<choose>
<if variable="accessed">
<text term="accessed"/>
<date form="text" variable="accessed"/>
</if>
</choose>
</group>
</group>
</if>
<else-if type="webpage post paper-conference graphic" match="any">
<group delimiter=" ">
<group delimiter=": ">
<text term="available at" text-case="capitalize-first"/>
<text variable="URL"/>
</group>
<group prefix=" [" suffix="]" delimiter=" ">
<text term="accessed"/>
<date form="text" variable="accessed"/>
</group>
</group>
</else-if>
</choose>
</macro>
<macro name="title">
<choose>
<if type="thesis" match="any">
<group delimiter=". ">
<text variable="title" font-style="italic"/>
<group>
<text variable="genre"/>
<text variable="number" prefix=" No. "/>
</group>
</group>
</if>
<else-if type="bill book chapter graphic legal_case legislation report song speech" match="any">
<group delimiter=". ">
<text variable="title" font-style="italic"/>
<text macro="edition"/>
<text macro="original"/>
</group>
</else-if>
<else-if type="webpage post post-weblog" match="any">
<group delimiter=". ">
<text variable="title"/>
<text term="online" prefix="[" suffix="]"/>
</group>
</else-if>
<else-if type="motion_picture broadcast" match="any"/>
<else>
<text variable="title"/>
</else>
</choose>
</macro>
<macro name="report-details">
<choose>
<if type="report">
<group>
<text variable="genre"/>
<text variable="number" prefix=" No. "/>
</group>
</if>
</choose>
</macro>
<macro name="publisher">
<choose>
<if type="thesis" match="any">
<group delimiter=", ">
<text variable="publisher-place" prefix=". Place: " suffix="."/>
<text variable="publisher" prefix=". Publisher: "/>
</group>
</if>
<else>
<group delimiter=" .">
<text variable="publisher-place" prefix=". Place: "/>
<text variable="publisher" prefix=". Publisher: "/>
</group>
<group delimiter=" . ">
<text macro="report-details"/>
</group>
</else>
</choose>
</macro>
<macro name="event">
<choose>
<if variable="event">
<group delimiter=" . ">
<text value="presented at" text-case="capitalize-first" suffix=" "/>
<text variable="event"/>
</group>
</if>
</choose>
</macro>
<macro name="issued">
<choose>
<if type="paper-conference" match="none">
<choose>
<if variable="issued">
<date variable="issued">
<date-part name="year"/>
</date>
</if>
<else-if variable="accessed">
<choose>
<if type="webpage song">
<date variable="accessed">
<date-part name="year"/>
</date>
</if>
<else>
<text term="no date" form="short"/>
</else>
</choose>
</else-if>
<else>
<text term="no date" form="short"/>
</else>
</choose>
</if>
</choose>
</macro>
<macro name="edition">
<group delimiter=". ">
<choose>
<if is-numeric="edition">
<group delimiter=" ">
<number variable="edition" form="ordinal"/>
<text term="edition" form="long"/>
</group>
</if>
<else>
<text variable="edition"/>
</else>
</choose>
</group>
</macro>
<macro name="original">
<group delimiter=". ">
<!-- The following fields don't seem to be needed by our referencing style but, should they be needed, the information would go in the Extra field in Zotero as "original-title: ..." etc. I thought it better to leave the coding in -->
<!--
<text variable="original-title"/><text variable="original-publisher-place"/><text variable="original-publisher"/>
-->
<!-- moved this next line below to the bottom of the bibliography because our referencing guide requires this information to be reproduced at the end of the reference. -->
<!-- <date form="text" variable="original-date" prefix="(Original work published: " suffix=")"/> -->
<names variable="translator">
<label form="verb-short" prefix="(" suffix=") "/>
<name/>
</names>
</group>
</macro>
<macro name="locators">
<choose>
<if type="article-journal article-magazine" match="any">
<group delimiter=", " prefix=", ">
<group delimiter=" ">
<label variable="volume" form="short"/>
<text variable="volume" font-weight="bold"/>
</group>
<group delimiter=" ">
<label variable="issue" form="short"/>
<text variable="issue"/>
</group>
<group delimiter=" ">
<label variable="page" form="short"/>
<text variable="page"/>
</group>
<group delimiter=" ">
<text variable="DOI" prefix="[Available from: DOI " suffix="]"/>
</group>
</group>
</if>
<else-if type="article-newspaper" match="any">
<date variable="issued" prefix=", ">
<date-part name="year"/>
<date-part name="month" form="numeric" prefix="-"/>
<date-part name="day" prefix="-"/>
</date>
<group delimiter=" " prefix=", ">
<label variable="page" form="short"/>
<text variable="page"/>
</group>
</else-if>
<else-if type="bill book chapter graphic legal_case legislation report song thesis" match="any">
<group delimiter=", ">
<text macro="event"/>
<text macro="publisher"/>
</group>
</else-if>
<else-if type="broadcast">
<group delimiter=". " prefix=", ">
<text variable="publisher"/>
<date variable="issued">
<date-part name="year"/>
<date-part name="month" form="numeric" prefix="-"/>
<date-part name="day" prefix="-"/>
</date>
</group>
</else-if>
<else-if type="motion_picture">
<group delimiter=", ">
<text macro="event"/>
<text macro="publisher"/>
</group>
<group delimiter=". " prefix=", ">
<date variable="issued">
<date-part name="year"/>
</date>
</group>
</else-if>
</choose>
</macro>
<citation et-al-min="3" et-al-use-first="1" disambiguate-add-year-suffix="true" disambiguate-add-names="true" collapse="year">
<sort>
<key macro="issued"/>
<key macro="author"/>
</sort>
<layout prefix="(" suffix=")" delimiter="; ">
<group delimiter=", ">
<group delimiter=" ">
<text macro="author-short"/>
<text macro="issued"/>
</group>
<group delimiter=" ">
<label variable="locator" form="short"/>
<text variable="locator"/>
</group>
</group>
</layout>
</citation>
<bibliography entry-spacing="0" line-spacing="1">
<sort>
<key macro="author"/>
<key macro="issued" sort="ascending"/>
</sort>
<layout suffix=".">
<text macro="author" suffix=","/>
<group delimiter=". " prefix=" ">
<text macro="issued"/>
<text macro="title"/>
<text macro="container"/>
<text variable="medium"/>
</group>
<text macro="locators"/>
<text macro="access" prefix=" "/>
<date form="text" variable="original-date" prefix=". (Original work published: " suffix=")"/>
</layout>
</bibliography>
</style>

0 comments on commit f8b744c

Please sign in to comment.