I would like to make some amendments to my entries.
If there is no author, editor or translator, but an institution or organization, this should replace the placement of the author. So it should be at the front, in small caps. This should apply for all types of entries.
Here is my MWE:
\documentclass{scrreprt}
\usepackage[main=ngerman, english]{babel}
\usepackage[babel, german=quotes]{csquotes}
\usepackage[ngerman]{isodate}
\usepackage[ngerman]{datetime}
%----------------------------------------------------------------------------
% BIB
%----------------------------------------------------------------------------
\usepackage[
backend=biber,
style=authoryear,
sorting=nyvt,
maxnames=25,
dashed=false,
isbn=false
]{biblatex}
\addbibresource{library.bib}
\renewcommand{\mkbibnamefamily}[1]{\textsc{#1}}
\renewcommand{\labelnamepunct}{\addcolon\space}
\DeclareFieldFormat{postnote}{#1}
\DeclareFieldFormat{multipostnote}{#1}
\renewcommand\postnotedelim{\addcolon\addspace}
\DeclareFieldFormat
[article,inbook,incollection,inproceedings,patent,unpublished]
{title}{#1\isdot}
\DeclareFieldFormat
[thesis]
{title}{\mkbibemph{#1}\isdot} % thesis title italic
% no period after addon titles
\usepackage{xpatch}
\DeclareFieldFormat{titleaddon}{\mkbibbrackets{#1}}
\DeclareDelimFormat{titleaddondelim}{\addspace}
\xpatchbibmacro{title}
{\printfield{titleaddon}}
{\setunit{\printdelim{titleaddondelim}}%
\printfield{titleaddon}}
{}
{}
\DeclareFieldFormat{booktitleaddon}{\mkbibbrackets{#1}}
\DeclareDelimFormat{booktitleaddondelim}{\addspace}
\xpatchbibmacro{booktitle}
{\printfield{booktitleaddon}}
{\setunit{\printdelim{titleaddondelim}}%
\printfield{booktitleaddon}}
{}
{}
\DeclareFieldFormat{maintitleaddon}{\mkbibbrackets{#1}}
\DeclareDelimFormat{maintitleaddondelim}{\addspace}
\xpatchbibmacro{maintitle}
{\printfield{maintitleaddon}}
{\setunit{\printdelim{titleaddondelim}}%
\printfield{maintitleaddon}}
{}
{}
\begin{document}
\nocite{*}
\printbibliography[heading=bibintoc,title={Literaturverzeichnis}]
\end{document}
Test Entries:
@article{journal.1981,
journal = {University Shimbun},
institution = {Test Institution},
year = {1981},
pages = {20},
location = {Kanagawa},
note = {Morgenausgabe},
title = {University Paper Title}
}
@article{journalb.1981,
journal = {University Shimbun},
organization = {Test Organization},
year = {1981},
pages = {20},
location = {Kanagawa},
note = {Morgenausgabe},
title = {University Paper Title}
}
Current result:
What it should look like:
Thank you for your help!


