Template:Wikipedia: Difference between revisions
Jump to navigation
Jump to search
Dat Hack3r (talk | contribs) Improved the code for this template and added documentation. |
No edit summary |
||
| Line 1: | Line 1: | ||
[[Wikipedia:{{{1}}}|{{{2|{{{1}}}}}}]]<noinclude> | <templatestyles src="Wikipedia/styles.css" />{{#if:{{{wikipedia_logo|}}}|<span style="background-color: transparent;" class="wpd-logo-transparent">[[File:Wikipedia-logo-v2.svg|20px]]</span> }}[[Wikipedia:{{{page|{{{1}}}}}}|{{{alias|{{{2|{{{page|{{{1}}}}}}}}}}}}]]<noinclude> | ||
{{Documentation}} | {{Documentation}} | ||
</noinclude> | </noinclude> | ||
Latest revision as of 17:28, 3 October 2025
[[Wikipedia:{{{1}}}|{{{1}}}]]
| This template is a high priority for maintenance as it is original to the OWOT Wiki and used in articles. As such, this template may contain bugs and it should be a top priority of template maintainers to quickly fix any issues that arise with it. Discuss breaking changes on the talk page before implementing them. |
{{Wikipedia}} generates an interwiki link to a Wikipedia article. By default, the link displays the title of the Wikipedia article, but it can be set to display custom text.
{{Wikipedia}} can be abbreviated as {{wp}}.
TemplateData
This template generates interwiki links to Wikipedia articles.
| Parameter | Description | Type | Status | |
|---|---|---|---|---|
| Article name | 1 | Name of the Wikipedia article to link to
| Page name | required |
| Link text | 2 | Text to display for the generated link
| String | optional |