Skip to content

Commit 94119a6

Browse files
authored
Create university-of-south-wales-harvard.csl (#5787)
1 parent 470925c commit 94119a6

File tree

1 file changed

+262
-0
lines changed

1 file changed

+262
-0
lines changed
Lines changed: 262 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,262 @@
1+
<?xml version="1.0" encoding="utf-8"?>
2+
<style xmlns="http://purl.org/net/xbiblio/csl" class="in-text" version="1.0" demote-non-dropping-particle="sort-only" default-locale="en-GB">
3+
<!-- This style was edited with the Visual CSL Editor (https://editor.citationstyles.org/visualEditor/) -->
4+
<info>
5+
<title>University of South Wales - Harvard</title>
6+
<id>http://www.zotero.org/styles/university-of-south-wales-harvard</id>
7+
<link href="http://www.zotero.org/styles/university-of-south-wales-harvard" rel="self"/>
8+
<link href="http://www.zotero.org/styles/cardiff-university-harvard" rel="template"/>
9+
<link href="https://library.southwales.ac.uk/collections-subject-guides/referencing/" rel="documentation"/>
10+
<author>
11+
<name>Aspen</name>
12+
<email>me@gryffyn.io</email>
13+
</author>
14+
<category citation-format="author-date"/>
15+
<category field="generic-base"/>
16+
<summary>The author-year Harvard standard for the University of South Wales</summary>
17+
<updated>2021-12-14T17:59:37+00:00</updated>
18+
<rights license="http://creativecommons.org/licenses/by-sa/3.0/">This work is licensed under a Creative Commons Attribution-ShareAlike 3.0 License</rights>
19+
</info>
20+
<locale>
21+
<terms>
22+
<term name="edition" form="short">edn.</term>
23+
</terms>
24+
</locale>
25+
<macro name="editor">
26+
<names variable="editor" delimiter=", ">
27+
<name name-as-sort-order="all" and="text" sort-separator=", " initialize-with=". " delimiter=", "/>
28+
<label form="short" strip-periods="false" prefix=" (" suffix=")"/>
29+
</names>
30+
</macro>
31+
<macro name="author">
32+
<names variable="author">
33+
<name name-as-sort-order="all" and="text" sort-separator=", " initialize-with="." delimiter-precedes-last="never" delimiter=", "/>
34+
<label form="short" prefix=" (" suffix=")"/>
35+
<substitute>
36+
<names variable="editor"/>
37+
<choose>
38+
<if type="article-newspaper article-magazine" match="any">
39+
<text variable="container-title"/>
40+
</if>
41+
<else>
42+
<text macro="title"/>
43+
</else>
44+
</choose>
45+
</substitute>
46+
</names>
47+
</macro>
48+
<macro name="author-short">
49+
<names variable="author">
50+
<name form="short" and="text" delimiter-precedes-last="never" initialize-with=". "/>
51+
<substitute>
52+
<names variable="editor"/>
53+
<names variable="translator"/>
54+
<choose>
55+
<if type="article-newspaper article-magazine" match="any">
56+
<text variable="container-title" text-case="title" font-style="italic"/>
57+
</if>
58+
<else>
59+
<text macro="title"/>
60+
</else>
61+
</choose>
62+
</substitute>
63+
</names>
64+
</macro>
65+
<macro name="access">
66+
<choose>
67+
<if variable="URL" match="all">
68+
<group delimiter=" ">
69+
<group delimiter=": ">
70+
<text term="available at" text-case="capitalize-first"/>
71+
<text variable="URL"/>
72+
</group>
73+
<group delimiter=": " prefix="(" suffix=")">
74+
<text term="accessed" text-case="capitalize-first"/>
75+
<date variable="accessed">
76+
<date-part name="day" suffix=" "/>
77+
<date-part name="month" suffix=" "/>
78+
<date-part name="year"/>
79+
</date>
80+
</group>
81+
</group>
82+
</if>
83+
<else-if match="all" variable="DOI">
84+
<text variable="DOI" prefix="doi: "/>
85+
</else-if>
86+
</choose>
87+
</macro>
88+
<macro name="title">
89+
<choose>
90+
<if type="bill book graphic legal_case legislation motion_picture report song thesis patent" match="any">
91+
<text variable="title" font-style="italic"/>
92+
</if>
93+
<else-if type="webpage" match="any">
94+
<text variable="title" font-style="italic"/>
95+
</else-if>
96+
<else>
97+
<text variable="title" quotes="true" suffix="."/>
98+
</else>
99+
</choose>
100+
</macro>
101+
<macro name="publisher">
102+
<group delimiter=": " suffix="">
103+
<text variable="publisher-place"/>
104+
<text variable="publisher"/>
105+
</group>
106+
</macro>
107+
<macro name="year-date">
108+
<choose>
109+
<if type="bill legislation" match="none">
110+
<choose>
111+
<if variable="issued">
112+
<date variable="issued">
113+
<date-part name="year"/>
114+
</date>
115+
<text variable="year-suffix"/>
116+
</if>
117+
<else>
118+
<text term="no date" prefix="[" suffix="]"/>
119+
<text variable="year-suffix" prefix="[" suffix="]"/>
120+
</else>
121+
</choose>
122+
</if>
123+
</choose>
124+
</macro>
125+
<macro name="published-date">
126+
<choose>
127+
<if type="article-newspaper article-magazine post-weblog speech" match="any">
128+
<date variable="issued">
129+
<date-part name="day" prefix=" " suffix=" "/>
130+
<date-part name="month" form="long"/>
131+
</date>
132+
</if>
133+
</choose>
134+
</macro>
135+
<macro name="edition">
136+
<choose>
137+
<if is-numeric="edition">
138+
<group delimiter=" ">
139+
<number variable="edition" form="ordinal"/>
140+
<text term="edition" form="short"/>
141+
</group>
142+
</if>
143+
<else>
144+
<text variable="edition" suffix="."/>
145+
</else>
146+
</choose>
147+
</macro>
148+
<macro name="pages">
149+
<choose>
150+
<if type="chapter paper-conference article article-journal article-magazine article-newspaper book review review-book report" match="any">
151+
<group>
152+
<label variable="page" form="short" suffix=" "/>
153+
<text variable="page" suffix="."/>
154+
</group>
155+
</if>
156+
</choose>
157+
</macro>
158+
<macro name="bill-detail">
159+
<choose>
160+
<if type="bill legislation" match="any">
161+
<group>
162+
<text variable="section"/>
163+
<text variable="volume"/>
164+
</group>
165+
</if>
166+
</choose>
167+
</macro>
168+
<macro name="patent">
169+
<text variable="number" suffix=" [Patent]."/>
170+
</macro>
171+
<citation et-al-min="3" et-al-use-first="1" disambiguate-add-year-suffix="true">
172+
<sort>
173+
<key macro="year-date"/>
174+
<key variable="author"/>
175+
</sort>
176+
<layout prefix="(" suffix=")" delimiter="; ">
177+
<group delimiter=", ">
178+
<text macro="author-short"/>
179+
<text macro="year-date"/>
180+
<group>
181+
<label variable="locator" form="short"/>
182+
<text variable="locator"/>
183+
</group>
184+
</group>
185+
</layout>
186+
</citation>
187+
<bibliography et-al-min="8" et-al-use-first="1">
188+
<sort>
189+
<key macro="author"/>
190+
<key macro="year-date"/>
191+
<key variable="title"/>
192+
</sort>
193+
<layout>
194+
<text macro="author"/>
195+
<text macro="year-date" prefix=" (" suffix=")"/>
196+
<choose>
197+
<if type="bill book graphic legal_case legislation motion_picture report song" match="any">
198+
<group delimiter=". " prefix=" " suffix=".">
199+
<text macro="title"/>
200+
<text macro="edition"/>
201+
<text macro="editor"/>
202+
<text macro="publisher"/>
203+
<text macro="bill-detail"/>
204+
</group>
205+
</if>
206+
<else-if type="chapter paper-conference" match="any">
207+
<text macro="title" prefix=" " suffix="."/>
208+
<group prefix=" " delimiter=" ">
209+
<text term="in" text-case="lowercase"/>
210+
<text macro="editor"/>
211+
<text variable="container-title" font-style="italic" suffix="."/>
212+
<text variable="collection-title" suffix="."/>
213+
</group>
214+
<group prefix=" " delimiter=" ">
215+
<text macro="edition"/>
216+
<group suffix="" delimiter=", ">
217+
<text macro="publisher"/>
218+
</group>
219+
</group>
220+
</else-if>
221+
<else-if type="thesis">
222+
<group prefix=" " delimiter=". " suffix=".">
223+
<text macro="title"/>
224+
<text macro="edition"/>
225+
</group>
226+
<group prefix=" " delimiter=", " suffix=".">
227+
<text variable="genre"/>
228+
<text macro="publisher"/>
229+
</group>
230+
</else-if>
231+
<else-if type="webpage">
232+
<group prefix=" " delimiter=" " suffix=".">
233+
<text macro="title"/>
234+
<text macro="edition"/>
235+
</group>
236+
</else-if>
237+
<else-if type="patent" match="any">
238+
<group delimiter=" " prefix=" " suffix=".">
239+
<text macro="title"/>
240+
<text macro="patent"/>
241+
</group>
242+
</else-if>
243+
<else>
244+
<group suffix=".">
245+
<text macro="title" prefix=" "/>
246+
<text macro="editor" prefix=" "/>
247+
</group>
248+
<group prefix=" ">
249+
<text variable="container-title" font-style="italic" suffix=" "/>
250+
<text variable="volume"/>
251+
<text variable="issue" prefix="(" suffix=")"/>
252+
</group>
253+
</else>
254+
</choose>
255+
<group>
256+
<text macro="published-date"/>
257+
<text macro="pages" prefix=", "/>
258+
<text prefix=". " macro="access" suffix="."/>
259+
</group>
260+
</layout>
261+
</bibliography>
262+
</style>

0 commit comments

Comments
 (0)