Difference between revisions of "Template:CategoryLink"

From Theatrum Paracelsicum
(Created page with "<noinclude> <pre> Usage: {{CategoryLink|Benedictus Figulus}} {{CategoryLink|Figulus}} </pre> {{CategoryLink|Benedictus Figulus}} {{CategoryLink|Figulus}} </noinclude><includeonly>{{#ifexist:Category:{{{1|}}} | [[:Category:{{{1|}}}|{{{1|}}}]] | {{{1|}}} }}</includeonly>")
 
Line 12: Line 12:


{{CategoryLink|Benedictus Figulus}}
{{CategoryLink|Benedictus Figulus}}
{{CategoryLink|Benedictus Figulus; Heinrich Khunrath}}


{{CategoryLink|Figulus}}
{{CategoryLink|Figulus}}


</noinclude><includeonly>{{#ifexist:Category:{{{1|}}} | [[:Category:{{{1|}}}|{{{1|}}}]] | {{{1|}}} }}</includeonly>
<!-- {{#ifexist:Category:{{{1|}}} | [[:Category:{{{1|}}}|{{{1|}}}]] | {{{1|}}} }} -->
 
</noinclude><includeonly>{{#switch: {{#rpos: {{{1|}}} | ; }}
 
<!-- ohne Semikolon/Aufzählung -->
| -1 = {{CategoryLinkSingle| {{{1|}}} }}
 
<!-- mit Semikolon/Aufzählung -->
| #default =
{{CategoryLinkSingle | {{#explode: {{{1|}}} | ; | 0 }} }} {{#if: {{#explode: {{{1|}}} | ; | 1 }} | &semi; | }}
{{CategoryLinkSingle | {{#explode: {{{1|}}} | ; | 1 }} }} {{#if: {{#explode: {{{1|}}} | ; | 2 }} | &semi; | }}
{{CategoryLinkSingle | {{#explode: {{{1|}}} | ; | 2 }} }} {{#if: {{#explode: {{{1|}}} | ; | 3 }} | &semi; | }}
}} </includeonly>

Revision as of 13:31, 2 October 2022



Usage:

{{CategoryLink|Benedictus Figulus}}

{{CategoryLink|Figulus}}

Benedictus Figulus

Benedictus Figulus ; Heinrich Khunrath

Figulus