Geen bewerkingssamenvatting |
Geen bewerkingssamenvatting |
||
Regel 36: | Regel 36: | ||
Edit the page to see the template text. | Edit the page to see the template text. | ||
</noinclude><includeonly>{{#vardefine:varResource|{{{resource|}}} }} | </noinclude><includeonly>{{#vardefine:varResource|{{{resource|}}} }} | ||
{{#vardefine:varName|{{#if: {{{name|}}}| {{{name}}} | {{#show: {{#var:varResource}} | ?Dct:title }} }} }} | {{#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}}]] | {{External link|resource={{#var:varResourceName}}|name={{#var:varName}} }} }}{{#if: {{{optional|}}}| <nowiki> </nowiki>({{{optional}}})|}}</includeonly> | ||
{{#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}}]] | |||
| {{External link|resource={{#var:varResourceName}}|name={{#var:varName}} }} | |||
}}{{#if: {{{optional|}}}| <nowiki> </nowiki>({{{optional}}})|}}</includeonly> |
Versie van 5 mrt 2016 17:12
This is the "Cite" template. It should be called in the following format:
{{Cite |resource= |name= |optional= }}
Cite
Parameter | Beschrijving | Type | Status | |
---|---|---|---|---|
Resource | resource | Link to a resource | Paginanaam | vereist |
Name | name | Name of resource in page | Tekenreeks | voorgesteld |
Optional | optional | Optional info | Tekenreeks | optioneel |
Edit the page to see the template text.