|
|||
Regel 16: | Regel 16: | ||
</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}}] | |
* {{#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}}] | |
||
− | {{#vardefine:varWikipage|{{#show:{{#var:varResource}} | ?Wikipage | link=none }} }}{{#if: {{#var:varWikipage}} | [[{{#var:varWikipage}} | {{#var:varTitle}}]] | {{#var:varTitle}} }} }} }}{{#if: {{{3|}}} | , {{{3}}} }}{{#if: {{{5|}}} | , {{{5}}} }}{{#if: {{{4|}}} | , {{{4}}} }}{{#if: {{{6|}}} | ({{{6}}}) }}.</includeonly> |
+ | {{#vardefine:varWikipage|{{#show:{{#var:varResource}} | ?Wikipage | link=none }} }}{{#if: {{#var:varWikipage}} | [[{{#var:varWikipage}} | {{#var:varTitle}}]] | [[{{#var:varResource}} | {{#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.