Regel 9: | Regel 9: | ||
|Creator= |
|Creator= |
||
|Date= |
|Date= |
||
− | |Organization |
+ | |Organization=
|
|DocType= |
|DocType= |
||
}} |
}} |
||
Regel 15: | Regel 15: | ||
Edit the page to see the template text. |
Edit the page to see the template text. |
||
</noinclude><includeonly> |
</noinclude><includeonly> |
||
− | * {{#vardefine:varResource|{{{1|}}} }}{{#vardefine:varTitle|{{#if: {{{2|}}}| {{{2}}} | {{#var:varResource}} }} }}{{#vardefine:varCount|{{#ask: [[:Bestand:+]][[{{#var:varResource}}]] | format=count}} }}{{#ifeq: {{#var:varCount}} | 1 | [[{{#replace:{{#replace:{{#var:varResource}}|Bestand:|Media:}}|File:|Media:}} | {{#var:varTitle}}]] | {{#vardefine:varHyperlink|{{#show:{{#var:varResource}} | ?hyperlink | link=none }} }}{{#if: {{#var:varHyperlink}} | [{{#show:{{#var:varResource}} | ?hyperlink | link=none }} {{#var:varTitle}}] | {{#var:varTitle}} }} }}{{#if: {{{3|}}} | , {{{3}}} }}{{#if: {{{ |
+ | * {{#vardefine:varResource|{{{1|}}} }}{{#vardefine:varTitle|{{#if: {{{2|}}}| {{{2}}} | {{#var:varResource}} }} }}{{#vardefine:varCount|{{#ask: [[:Bestand:+]][[{{#var:varResource}}]] | format=count}} }}{{#ifeq: {{#var:varCount}} | 1 | [[{{#replace:{{#replace:{{#var:varResource}}|Bestand:|Media:}}|File:|Media:}} | {{#var:varTitle}}]] | {{#vardefine:varHyperlink|{{#show:{{#var:varResource}} | ?hyperlink | link=none }} }}{{#if: {{#var:varHyperlink}} | [{{#show:{{#var:varResource}} | ?hyperlink | link=none }} {{#var:varTitle}}] | {{#var:varTitle}} }} }}{{#if: {{{3|}}} | , {{{3}}} }}{{#if: {{{5|}}} | , {{{5}}} }}{{#if: {{{4|}}} | , {{{4}}} }}{{#if: {{{6|}}} | ({{{6}}}) }}.</includeonly> |
This is the "Reference formatter" template. It should be called in the following format:
{{Reference formatter |Resource= |Title= |Creator= |Date= |Organization= |DocType= }}
Edit the page to see the template text.