Template:Wp/doc: Difference between revisionsGive feedback
Jump to navigation
Jump to search
No documentation available.
osrsw>Spineweilder Created page with "{{documentation}} This template is used to link to Wikipedia. <pre>{{Wp|wikipedia article name|alt text}}</pre> <includeonly>{{PAGENAME}}..." |
m 2 revisions imported |
||
| (One intermediate revision by one other user not shown) | |||
| Line 1: | Line 1: | ||
{{documentation}} | {{documentation}} | ||
This template is used to link to Wikipedia. | This template is used to link to Wikipedia articles. | ||
==Usage== | |||
{{t|Wp|wikipedia article name|alt text}} | |||
==Examples== | |||
{{t|Wp|Maple}}<br/> | |||
{{Wp|Maple}} | |||
{{t|Wp|Maple|Maple tree}}<br/> | |||
{{Wp|Maple|Maple tree}} | |||
{{t|Wp|de:Ahorne|Maple tree (German WP)}}<br/> | |||
{{Wp|de:Ahorne|Maple tree (German WP)}} | |||
==Parameters== | |||
<templatedata> | |||
{ | |||
"description": "", | |||
"params": { | |||
"1": { | |||
"label": "Article name", | |||
"description": "Wikipedia article name.", | |||
"type": "string", | |||
"required": true | |||
}, | |||
"2": { | |||
"label": "Alternative text", | |||
"description": "Alternative text", | |||
"default": "First parameter", | |||
"type": "string" | |||
} | |||
} | |||
} | |||
</templatedata> | |||
<includeonly>[[Category:Navigational templates|{{PAGENAME}}]]</includeonly> | <includeonly>[[Category:Navigational templates|{{PAGENAME}}]]</includeonly> | ||
Latest revision as of 17:13, 25 August 2026
Template documentation [create]
This template is used to link to Wikipedia articles.
Usage
[edit source]{{Wp}}
Examples
[edit source]{{Wp}}
Maple tree
Parameters
[edit source]| Parameter | Description | Type | Status | |
|---|---|---|---|---|
| Article name | 1 | Wikipedia article name. | String | required |
| Alternative text | 2 | Alternative text
| String | optional |