Skip to content

Commit

Permalink
Update china-national-standard-gb-t-7714-2015-author-date.csl (#5746)
Browse files Browse the repository at this point in the history
Only show the number for bill broadcast legal_case legislation patent report song, otherwise, if there is 'number:' in Extra field, the number will show for item type of journal.
  • Loading branch information
redleafnew authored Nov 25, 2021
1 parent c2536b7 commit 1cd3754
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions china-national-standard-gb-t-7714-2015-author-date.csl
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
<category citation-format="author-date"/>
<category field="generic-base"/>
<summary>The Chinese GB/T7714-2015 author-date style</summary>
<updated>2020-03-08T18:00:00+08:00</updated>
<updated>2021-11-25T18:00:00+08: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="zh-CN">
Expand Down Expand Up @@ -176,7 +176,11 @@
</macro>
<macro name="title">
<text variable="title" text-case="title"/>
<text variable="number" prefix=": "/>
<choose>
<if type="bill broadcast legal_case legislation patent report song" match="any">
<text variable="number" prefix=": "/>
</if>
</choose>
<group delimiter="/" prefix="[" suffix="]">
<text macro="type-code"/>
<choose>
Expand Down

0 comments on commit 1cd3754

Please sign in to comment.