k (1 versie geïmporteerd: Importeren dump EMont-core DeltaExpertise 4 november 2015) |
Geen bewerkingssamenvatting |
||
Regel 10: | Regel 10: | ||
}} | }} | ||
</pre> | </pre> | ||
<templatedata> | |||
{ | |||
"description": "Cite", | |||
"params": { | |||
"resource": { | |||
"label": "Resource", | |||
"description": "Link to a resource", | |||
"type": "wiki-page-name", | |||
"required": true | |||
}, | |||
"name": { | |||
"label": "Name", | |||
"description": "Name of resource in page", | |||
"type": "string", | |||
"suggested": true | |||
}, | |||
"optional": { | |||
"label": "Optional", | |||
"description": "Optional info", | |||
"type": "string" | |||
} | |||
} | |||
} | |||
</templatedata> | |||
Edit the page to see the template text. | Edit the page to see the template text. | ||
</noinclude><includeonly>{{#vardefine:varResource|{{{resource|}}} }}{{#vardefine:varName|{{#if: {{{name|}}}| {{{name}}} | {{#show: {{#var:varResource}} | ?Dct:title }} }} }}{{#set:Reference={{#var:varResource}} }}[[{{#replace:{{#var:varResource}}|File:|Media:}}|{{#var:varName}}]]{{#if: {{{optional|}}}| <nowiki> </nowiki>({{{optional}}})|}}</includeonly> | </noinclude><includeonly>{{#vardefine:varResource|{{{resource|}}} }}{{#vardefine:varName|{{#if: {{{name|}}}| {{{name}}} | {{#show: {{#var:varResource}} | ?Dct:title }} }} }}{{#set:Reference={{#var:varResource}} }}[[{{#replace:{{#var:varResource}}|File:|Media:}}|{{#var:varName}}]]{{#if: {{{optional|}}}| <nowiki> </nowiki>({{{optional}}})|}}</includeonly> |
Versie van 13 nov 2015 22:56
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.