k (1 versie geïmporteerd: Importeren dump EMont-core DeltaExpertise 4 november 2015)
|
|
||
(Een tussenliggende versie door dezelfde gebruiker 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> |
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.