Template:Wplink: Difference between revisions
Created page with "<includeonly>[[wikipedia:{{{1|{{FULLPAGENAME}}}}}|{{{2|{{{1|{{FULLPAGENAME}}}}}}}}]]</includeonly><noinclude> *'''Usage:''' **<code>{{wplink|article_name|optional_label}}</code> **<code>{{wp|Wikipedia}}</code> *'''Results:''' **{{wplink|article_name|optional_label}} **{{wp|Wikipedia}} Category:Templates </noinclude>" |
m Protected "Template:Wplink": Protecting this template as more and more articles have the interwiki links converted from HTML. ([Edit=Allow only administrators] (indefinite) [Move=Allow only administrators] (indefinite)) |
||
| (3 intermediate revisions by 2 users not shown) | |||
| Line 8: | Line 8: | ||
**{{wplink|article_name|optional_label}} | **{{wplink|article_name|optional_label}} | ||
**{{wp|Wikipedia}} | **{{wp|Wikipedia}} | ||
'article_name' refers to the name of the article from Wikipedia, while 'optional_label' is what the link will look like when viewing the article. | |||
[[Category: | [[Category:Styling templates]] | ||
</noinclude> | <templatedata> | ||
{ | |||
"params": { | |||
"1": { | |||
"description": "The name of the article from Wikipedia.", | |||
"type": "string", | |||
"required": true, | |||
"label": "Article name" | |||
}, | |||
"2": { | |||
"description": "What this link will appear as when viewing the article. e.g the link could be to 'Rotten Tomatoes' but shows up as 'Tomatoes' because that is what you put in here.", | |||
"type": "string", | |||
"label": "Appearance" | |||
} | |||
} | |||
} | |||
</templatedata></noinclude> | |||