Sjabloon:Cite: verschil tussen versies

Regel 42: Regel 42:
 
[[{{#var:varResourceName}}|{{#var:varName}}]]
 
[[{{#var:varResourceName}}|{{#var:varName}}]]
 
| {{External link|resource={{#var:varResourceName}}|name={{#var:varName}} }}
 
| {{External link|resource={{#var:varResourceName}}|name={{#var:varName}} }}
}}
+
}}{{#if: {{{optional|}}}| <nowiki> </nowiki>({{{optional}}})|}}</includeonly>
{{#if: {{{optional|}}}| <nowiki> </nowiki>({{{optional}}})|}}</includeonly>
 

Versie van 5 mrt 2016 om 17:09

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

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

<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.