Geen bewerkingssamenvatting
Geen bewerkingssamenvatting
Regel 39: Regel 39:
varResource = {{#var:varResource}}
varResource = {{#var:varResource}}


wikipage = {{#show: | {{#var:varResource}} | ?Wikipage}}
wikipage = {{#show: {{#var:varResource}} | ?Wikipage}}


{{#vardefine:varName|{{#if: {{{name|}}}| {{{name}}} | {{#show: {{#var:varResource}} | ?Dct:title }} }} }}{{#vardefine:varResourceName|{{#replace:{{#replace:{{#var:varResource}}|File:|Media:}}|Bestand:|Media:}} }}{{#set:Reference={{#var:varResource}} }}{{#ifeq:{{#sub:{{#var:varResourceName}}|0|6}}|Media:|[[{{#var:varResourceName}}|{{#var:varName}}]]|{{#if: {{#show: | {{#var:varResource}} | ?Hyperlink}}|{{External link|resource={{#var:varResourceName}}|name={{#var:varName}} }}|
{{#vardefine:varName|{{#if: {{{name|}}}| {{{name}}} | {{#show: {{#var:varResource}} | ?Dct:title }} }} }}{{#vardefine:varResourceName|{{#replace:{{#replace:{{#var:varResource}}|File:|Media:}}|Bestand:|Media:}} }}{{#set:Reference={{#var:varResource}} }}{{#ifeq:{{#sub:{{#var:varResourceName}}|0|6}}|Media:|[[{{#var:varResourceName}}|{{#var:varName}}]]|{{#if: {{#show: {{#var:varResource}} | ?Hyperlink}}|{{External link|resource={{#var:varResourceName}}|name={{#var:varName}} }}|


{{#if: {{#show: | {{#var:varResource}} | ?Wikipage}} |
{{#if: {{#show: {{#var:varResource}} | ?Wikipage}} |




Regel 49: Regel 49:




{{{name|}}} ({{#show: | {{#var:varResource}} | ?Dct:creator}}, {{#show: | {{#var:varResource}} | ?Dct:date}})
{{{name|}}} ({{#show: {{#var:varResource}} | ?Dct:creator}}, {{#show: {{#var:varResource}} | ?Dct:date}})


}}
}}

Versie van 23 sep 2016 09:03

This is the "Cite" template. It should be called in the following format:

{{Cite
|resource=
|name=
|optional=
}}

Cite

Sjabloonparameters

ParameterBeschrijvingTypeStatus
Resourceresource

Link to a resource

Paginanaamvereist
Namename

Name of resource in page

Tekenreeksvoorgesteld
Optionaloptional

Optional info

Tekenreeksoptioneel

Edit the page to see the template text.