Template:Wp/doc: Difference between revisions

Jump to navigation Jump to search
osrsw>Spineweilder
Created page with "{{documentation}} This template is used to link to Wikipedia. <pre>{{Wp|wikipedia article name|alt text}}</pre> <includeonly>{{PAGENAME}}..."
 
osrsw>The scribe
No edit summary
Line 1: Line 1:
{{documentation}}
{{documentation}}
This template is used to link to Wikipedia.
This template is used to link to Wikipedia articles.


<pre>{{Wp|wikipedia article name|alt text}}</pre>
==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>