Sjabloon:Nocite: verschil tussen versies

 
 
(Een tussenliggende versie door een andere gebruiker niet weergegeven)
Regel 10: Regel 10:
 
}}
 
}}
 
</pre>
 
</pre>
  +
<templatedata>
  +
{
  +
"description": "Nocite",
  +
"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><div style="display:none;">
 
</noinclude><includeonly><div style="display:none;">

Huidige versie van 22 nov 2015 om 19:02

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

{{Nocite
|resource=
|name=
|optional=
}}

<templatedata> { "description": "Nocite", "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.