Sjabloon:External link: verschil tussen versies

 
 
(2 tussenliggende versies door 2 gebruikers niet weergegeven)
Regel 9: Regel 9:
 
}}
 
}}
 
</pre>
 
</pre>
  +
<templatedata>
  +
{
  +
"description": "External link",
  +
"params": {
  +
"resource": {
  +
"label": "Resource",
  +
"description": "Resource Description page",
  +
"type": "wiki-page-name",
  +
"required": true
  +
},
  +
"name": {
  +
"label": "Name",
  +
"description": "Name of link in this page",
  +
"type": "string",
  +
"suggested": true
  +
}
  +
}
  +
}
  +
</templatedata>
 
Edit the page to see the template text.
 
Edit the page to see the template text.
 
</noinclude><includeonly>[{{#show: {{{resource|}}} | ?hyperlink | link=none }} {{{name|}}}]</includeonly>
 
</noinclude><includeonly>[{{#show: {{{resource|}}} | ?hyperlink | link=none }} {{{name|}}}]</includeonly>

Huidige versie van 22 nov 2015 om 18:55

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

{{External link
|resource=
|name=
}}

<templatedata> { "description": "External link", "params": { "resource": { "label": "Resource", "description": "Resource Description page", "type": "wiki-page-name", "required": true }, "name": { "label": "Name", "description": "Name of link in this page", "type": "string", "suggested": true } } } </templatedata> Edit the page to see the template text.