Skip to content
Permalink
Browse files

Create ecological-restoration.csl (#2971)

  • Loading branch information...
POBrien333 authored and rmzelle committed Sep 27, 2017
1 parent 9d5f3e0 commit 92e107325589138f1d81e4f0c1d08cf2a6d5a17f
Showing with 208 additions and 0 deletions.
  1. +208 −0 ecological-restoration.csl
@@ -0,0 +1,208 @@
<?xml version="1.0" encoding="utf-8"?>
<style xmlns="http://purl.org/net/xbiblio/csl" class="in-text" default-locale="en-US" version="1.0" demote-non-dropping-particle="sort-only">
<info>
<title>Ecological Restoration</title>
<title-short>ER</title-short>
<id>http://www.zotero.org/styles/ecological-restoration</id>
<link href="http://www.zotero.org/styles/ecological-restoration" rel="self"/>
<link href="http://www.zotero.org/styles/ecology-and-society" rel="template"/>
<link href="https://uwpress.wisc.edu/journals/journals/er_submissions.html" rel="documentation"/>
<author>
<name>Patrick O'Brien</name>
</author>
<category citation-format="author-date"/>
<category field="biology"/>
<issn>1522-4740</issn>
<eissn>1543-4079</eissn>
<updated>2017-09-21T11:07:27+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>
<macro name="container-contributors">
<choose>
<if type="chapter paper-conference" match="any">
<text term="in" suffix=" "/>
<names variable="editor translator" delimiter=", ">
<name and="text" initialize-with=". " delimiter=", "/>
<label form="short" strip-periods="true" prefix=" (" suffix="),"/>
</names>
</if>
</choose>
</macro>
<macro name="secondary-contributors">
<choose>
<if type="chapter paper-conference" match="none">
<names variable="editor translator" delimiter=", " prefix=" (" suffix=")">
<name and="text" initialize-with=". " delimiter=", "/>
<label prefix=", "/>
</names>
</if>
</choose>
</macro>
<macro name="author">
<names variable="author">
<name name-as-sort-order="first" and="text" sort-separator=", " initialize-with=". " delimiter=", "/>
<label prefix=", "/>
<substitute>
<names variable="editor"/>
<names variable="translator"/>
<text variable="title"/>
</substitute>
</names>
</macro>
<macro name="author-short">
<names variable="author">
<name form="short" and="text" delimiter=", " initialize-with=". "/>
<substitute>
<names variable="editor"/>
<names variable="translator"/>
<text macro="title"/>
</substitute>
</names>
</macro>
<macro name="title">
<choose>
<if type="book report" match="any">
<text variable="title" font-style="italic"/>
</if>
<else>
<text variable="title"/>
</else>
</choose>
</macro>
<macro name="access">
<choose>
<if type="webpage">
<text variable="URL"/>
</if>
</choose>
</macro>
<macro name="publisher">
<choose>
<if type="article-journal article-magazine" match="none">
<choose>
<if type="thesis" match="any">
<text variable="genre" suffix=", "/>
<text variable="publisher" prefix=": "/>
</if>
<else>
<text variable="publisher-place"/>
<text variable="publisher" prefix=": "/>
</else>
</choose>
</if>
</choose>
</macro>
<macro name="issued">
<choose>
<if variable="issued">
<group prefix=" " suffix=".">
<date variable="issued">
<date-part name="year"/>
</date>
<choose>
<if type="article-journal bill book chapter graphic legal_case legislation motion_picture paper-conference report song" match="none">
<date variable="issued">
<date-part prefix=", " name="month"/>
<date-part prefix=" " name="day"/>
</date>
</if>
</choose>
</group>
</if>
<else>
<text prefix=" (" term="no date" suffix=")." form="short"/>
</else>
</choose>
</macro>
<macro name="issued-year">
<choose>
<if variable="issued">
<date variable="issued">
<date-part name="year"/>
</date>
</if>
<else>
<text term="no date" form="short"/>
</else>
</choose>
</macro>
<macro name="edition">
<choose>
<if type="bill book chapter graphic legal_case legislation motion_picture paper-conference report song" match="any">
<choose>
<if is-numeric="edition">
<number variable="edition" form="long-ordinal" text-case="capitalize-first"/>
<text term="edition" form="long" prefix=" " suffix="."/>
</if>
<else>
<text variable="edition" suffix="."/>
</else>
</choose>
</if>
</choose>
</macro>
<macro name="locators">
<choose>
<if type="article-journal article-magazine article-newspaper" match="any">
<text variable="container-title" prefix=". " font-style="italic"/>
<choose>
<if variable="page volume" match="all">
<text variable="volume" prefix=" "/>
<text variable="page" prefix=":"/>
</if>
<else>
<text variable="DOI" prefix=" DOI "/>
</else>
</choose>
</if>
<else-if type="bill book chapter graphic legal_case legislation motion_picture paper-conference report song" match="any">
<group delimiter=" " prefix=". ">
<label variable="page" form="long" text-case="capitalize-first"/>
<text variable="page"/>
<text macro="container-contributors"/>
<text macro="secondary-contributors"/>
<text variable="container-title" font-style="italic"/>
</group>
</else-if>
<else>
<text variable="container-title"/>
</else>
</choose>
</macro>
<macro name="citation-locator">
<group>
<label variable="locator" form="short"/>
<text variable="locator" prefix=" "/>
</group>
</macro>
<citation et-al-min="3" et-al-use-first="1" disambiguate-add-year-suffix="true" collapse="year">
<sort>
<key variable="issued"/>
<key macro="author"/>
</sort>
<layout prefix="(" suffix=")" delimiter=", ">
<group delimiter=" ">
<text macro="author-short"/>
<text macro="issued-year"/>
<text macro="citation-locator"/>
</group>
</layout>
</citation>
<bibliography entry-spacing="0" hanging-indent="true">
<sort>
<key macro="author"/>
<key variable="issued"/>
</sort>
<layout suffix=".">
<text macro="author" suffix="."/>
<text macro="issued" suffix=" "/>
<text macro="title"/>
<text macro="locators"/>
<group delimiter=". " prefix=". ">
<text macro="edition"/>
<text macro="publisher"/>
<text macro="access"/>
</group>
</layout>
</bibliography>
</style>

0 comments on commit 92e1073

Please sign in to comment.
You can’t perform that action at this time.