Skip to content

Commit 860ae48

Browse files
authored
Add Haaga-Helia University of Applied Sciences Harvard style (#5282)
1 parent c1c27de commit 860ae48

File tree

1 file changed

+245
-0
lines changed

1 file changed

+245
-0
lines changed
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,245 @@
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">
3+
<info>
4+
<title>Haaga-Helia ammattikorkeakoulu - Harvard</title>
5+
<id>http://www.zotero.org/styles/haaga-helia-university-of-applied-sciences-harvard</id>
6+
<link href="http://www.zotero.org/styles/haaga-helia-university-of-applied-sciences-harvard" rel="self"/>
7+
<link href="https://libguides.haaga-helia.fi/referencing" xml:lang="en-GB" rel="documentation"/>
8+
<link href="https://libguides.haaga-helia.fi/lahdeviittaamisen-tueksi" xml:lang="fi-FI" rel="documentation"/>
9+
<author>
10+
<name>Mika Rautio</name>
11+
<uri>https://github.com/mrautio</uri>
12+
</author>
13+
<category citation-format="author-date"/>
14+
<category field="generic-base"/>
15+
<summary>Haaga-Helia University of Applied Sciences referencing style (Finnish and English)</summary>
16+
<updated>2021-02-19T15:36:51Z</updated>
17+
<rights license="http://creativecommons.org/licenses/by-sa/3.0/">This work is licensed under a Creative Commons Attribution-ShareAlike 3.0 License</rights>
18+
</info>
19+
<citation et-al-min="6" et-al-use-first="1" et-al-subsequent-min="3" et-al-subsequent-use-first="1" disambiguate-add-year-suffix="true">
20+
<layout prefix="(" suffix=")" delimiter="; ">
21+
<group delimiter=" ">
22+
<text macro="author-citation"/>
23+
<text macro="issued"/>
24+
<!-- note needed when cite must include Creative Commons license information in relevant graphic/figure -->
25+
<text macro="note"/>
26+
</group>
27+
<text macro="locator"/>
28+
</layout>
29+
</citation>
30+
<bibliography>
31+
<sort>
32+
<key macro="author-bibliography"/>
33+
</sort>
34+
<layout>
35+
<choose>
36+
<if type="legislation">
37+
<text macro="author-bibliography" suffix=". "/>
38+
<text macro="publisher"/>
39+
<text macro="container"/>
40+
<text macro="access"/>
41+
</if>
42+
<else>
43+
<text macro="author-bibliography"/>
44+
<text macro="issued" prefix=" " suffix="."/>
45+
<group delimiter=". " prefix=" " suffix=".">
46+
<!-- author's job title is needed in case of personal communication / presentation references. CSL does not support job titles, so work-around is to add job title to the actual title -->
47+
<text macro="title"/>
48+
<text macro="genre"/>
49+
<text macro="publisher"/>
50+
<text macro="container"/>
51+
<text macro="source"/>
52+
<text macro="event"/>
53+
<text macro="access"/>
54+
</group>
55+
</else>
56+
</choose>
57+
</layout>
58+
</bibliography>
59+
<macro name="access">
60+
<choose>
61+
<if variable="DOI" match="all">
62+
<group delimiter=": " suffix=".">
63+
<text term="available at"/>
64+
<!-- Haaga-Helia referencing guidelines do not recognize DOI. However, due to its persistency, it makes sense to use it when given. -->
65+
<text variable="DOI" prefix="https://doi.org/"/>
66+
</group>
67+
</if>
68+
<else-if variable="URL" match="all">
69+
<group delimiter=": " suffix=".">
70+
<text term="available at"/>
71+
<text variable="URL"/>
72+
</group>
73+
</else-if>
74+
</choose>
75+
<group>
76+
<text term="accessed" text-case="capitalize-first" prefix=" " suffix=": "/>
77+
<date variable="accessed" form="text"/>
78+
</group>
79+
</macro>
80+
<macro name="author-bibliography">
81+
<names variable="author">
82+
<name name-as-sort-order="all" and="text" sort-separator=", " initialize-with="." delimiter-precedes-last="never" delimiter=", "/>
83+
<label form="short" prefix=" "/>
84+
<substitute>
85+
<text macro="author-substitute"/>
86+
</substitute>
87+
</names>
88+
</macro>
89+
<macro name="author-citation">
90+
<names variable="author">
91+
<name form="short" and="text" sort-separator=", " initialize-with="." delimiter-precedes-last="never" delimiter=", "/>
92+
<substitute>
93+
<text macro="author-substitute"/>
94+
</substitute>
95+
</names>
96+
</macro>
97+
<macro name="author-substitute">
98+
<choose>
99+
<if position="subsequent" variable="title-short" type="legislation">
100+
<text variable="title-short"/>
101+
</if>
102+
<else-if type="legislation">
103+
<text macro="title"/>
104+
</else-if>
105+
<else-if variable="publisher">
106+
<text variable="publisher"/>
107+
</else-if>
108+
<else>
109+
<!-- Haaga-Helia referencing guidelines do not specify how to cite/list reference, if author and publisher are not known. -->
110+
<text macro="title"/>
111+
</else>
112+
</choose>
113+
</macro>
114+
<macro name="container">
115+
<choose>
116+
<if type="article article-magazine article-newspaper article-journal" match="any">
117+
<group delimiter=", " suffix="">
118+
<text variable="container-title"/>
119+
<text variable="volume"/>
120+
<text variable="issue"/>
121+
<group>
122+
<text term="page" suffix=" "/>
123+
<text variable="page"/>
124+
</group>
125+
</group>
126+
</if>
127+
<else-if type="legislation">
128+
<text variable="container-title" suffix=". "/>
129+
<group delimiter=", " suffix=". ">
130+
<text variable="collection-title"/>
131+
<date variable="issued" form="text"/>
132+
<group>
133+
<text term="page" suffix=" "/>
134+
<text variable="page"/>
135+
</group>
136+
</group>
137+
</else-if>
138+
</choose>
139+
</macro>
140+
<macro name="event">
141+
<choose>
142+
<if type="personal_communication speech" match="any">
143+
<text variable="event" suffix=". "/>
144+
<text variable="event-place"/>
145+
</if>
146+
</choose>
147+
</macro>
148+
<macro name="genre">
149+
<choose>
150+
<if type="thesis">
151+
<text variable="genre"/>
152+
</if>
153+
</choose>
154+
</macro>
155+
<macro name="issued">
156+
<choose>
157+
<if type="legislation"></if>
158+
<else-if variable="issued">
159+
<choose>
160+
<if type="personal_communication speech post" match="any">
161+
<date variable="issued" form="text"/>
162+
</if>
163+
<else>
164+
<date variable="issued" form="text" date-parts="year"/>
165+
</else>
166+
</choose>
167+
</else-if>
168+
<else>
169+
<text term="no date"/>
170+
</else>
171+
</choose>
172+
</macro>
173+
<macro name="locator">
174+
<choose>
175+
<if type="legislation">
176+
<group prefix=" ">
177+
<label variable="locator"/>
178+
<text variable="locator" prefix=" "/>
179+
</group>
180+
</if>
181+
<else-if locator="page">
182+
<text variable="locator" prefix=", "/>
183+
</else-if>
184+
<else>
185+
<group prefix=", ">
186+
<label variable="locator"/>
187+
<text variable="locator" prefix=" "/>
188+
</group>
189+
</else>
190+
</choose>
191+
</macro>
192+
<macro name="note">
193+
<text variable="note"/>
194+
</macro>
195+
<macro name="publisher">
196+
<choose>
197+
<if type="article article-magazine article-newspaper article-journal" match="none">
198+
<group delimiter=". " suffix="">
199+
<text variable="publisher"/>
200+
<text variable="publisher-place"/>
201+
</group>
202+
</if>
203+
</choose>
204+
</macro>
205+
<macro name="source">
206+
<choose>
207+
<if type="personal_communication speech post" match="any">
208+
<text variable="source"/>
209+
</if>
210+
</choose>
211+
</macro>
212+
<macro name="title">
213+
<text variable="title"/>
214+
</macro>
215+
<locale xml:lang="fi-FI">
216+
<date form="text">
217+
<date-part name="day" suffix="."/>
218+
<date-part name="month" suffix="." form="numeric"/>
219+
<date-part name="year"/>
220+
</date>
221+
<terms>
222+
<term name="no date">s.a.</term>
223+
<term name="and">&amp;</term>
224+
<term name="et-al">ym.</term>
225+
<!-- In FI references, depending on reference material, the localization would be "Luettavissa" / "Nähtävissä" / "Kuunneltavissa". According to Thesis instructors, using "URL" in FI localization is allowed. -->
226+
<term name="available at">URL</term>
227+
<term name="accessed">Luettu</term>
228+
<term name="page">s.</term>
229+
</terms>
230+
</locale>
231+
<locale xml:lang="en-GB">
232+
<date form="text">
233+
<date-part name="day" suffix=" "/>
234+
<date-part name="month" suffix=" "/>
235+
<date-part name="year"/>
236+
</date>
237+
<terms>
238+
<term name="no date">s.a.</term>
239+
<term name="and">&amp;</term>
240+
<term name="et-al">&amp; al.</term>
241+
<term name="available at">URL</term>
242+
<term name="page">pp.</term>
243+
</terms>
244+
</locale>
245+
</style>

0 commit comments

Comments
 (0)