Sjabloon:Cite: verschil tussen versies

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|}}} }}
  +
  +
varResource = {{#var:varResource}}
   
 
wikipage = {{#show: | {{#var:varResource}} | ?Wikipage}}
 
wikipage = {{#show: | {{#var:varResource}} | ?Wikipage}}

Versie van 23 sep 2016 om 09:02

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.