Geen bewerkingssamenvatting
Geen bewerkingssamenvatting
Regel 6: Regel 6:
{{Internal link
{{Internal link
|link=
|link=
|resource=
|name=
|name=
}}
}}
Regel 17: Regel 18:
"description": "Link to page",
"description": "Link to page",
"type": "wiki-page-name",
"type": "wiki-page-name",
"required": true
"suggested": true
},
"resource": {
"label": "Link",
"description": "Resource containing link to page",
"type": "wiki-page-name",
"suggested": true
},
},
"name": {
"name": {
Regel 29: Regel 36:
</templatedata>
</templatedata>
Edit the page to see the template text.
Edit the page to see the template text.
</noinclude>{{#vardefine:varLink|{{{link|}}}}}{{#vardefine:varName|{{{name|}}}}}{{#if: {{#show: {{PAGENAME}} | ?Model link | link=none}} | {{#vardefine:varIntLink|{{#var:varLink}}}} | {{#vardefine:varIntLink|{{#show: {{#var:varLink}} | ?Model link | link=none | default={{#var:varLink}}}}}}}}{{Refers | Element link={{#var:varIntLink}} | Element link note={{#var:varName}}}}[[{{#var:varLink}}|{{#if: {{#var:varName}}|{{#var:varName}}|{{#var:varLink}}}}]]
</noinclude>{{if: {{{resource|}}}| {{#vardefine:varLink|{{#show: {{{resource|}}} | ?Wikipage | link=none}}}}|{{#vardefine:varLink|{{{link|}}}}}}}{{#vardefine:varName|{{{name|}}}}}{{#if: {{#show: {{PAGENAME}} | ?Model link | link=none}} | {{#vardefine:varIntLink|{{#var:varLink}}}} | {{#vardefine:varIntLink|{{#show: {{#var:varLink}} | ?Model link | link=none | default={{#var:varLink}}}}}}}}{{Refers | Element link={{#var:varIntLink}} | Element link note={{#var:varName}}}}[[{{#var:varLink}}|{{#if: {{#var:varName}}|{{#var:varName}}|{{#var:varLink}}}}]]

Versie van 9 jun 2016 14:16

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

{{Internal link
|link=
|resource=
|name=
}}

Internal link

Sjabloonparameters

ParameterBeschrijvingTypeStatus
Linklink

Link to page

Paginanaamvoorgesteld
Linkresource

Resource containing link to page

Paginanaamvoorgesteld
Namename

Name of link in this page

Tekenreeksvoorgesteld

Edit the page to see the template text. Sjabloon:If:[[|]]