Sjabloon:Reference formatter: verschil tussen versies

k (1 versie geïmporteerd: Importeren dump EMont-core DeltaExpertise 4 november 2015)
Regel 9: Regel 9:
 
|Creator=
 
|Creator=
 
|Date=
 
|Date=
  +
|Organization
 
|DocType=
 
|DocType=
 
}}
 
}}
Regel 14: 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: {{{4|}}} | , {{{4}}} }}{{#if: {{{5|}}} | &nbsp;({{{5}}}) }}.</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: {{{4|}}} | , {{{4}}} }}{{#if: {{{6|}}} | , {{{6}}} }}{{#if: {{{5|}}} | &nbsp;({{{5}}}) }}.</includeonly>

Versie van 5 mrt 2016 om 17:21

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.