Template:Wp: Difference between revisions

From the Super Mario Wiki, the Mario encyclopedia
Jump to navigationJump to search
m (Text replacement - "headings since that" to "headings since doing so")
m (Text replacement - "breaks section links" to "breaks the automatic section links")
Line 16: Line 16:
This template simplifies interwiki linking to Wikipedia. The first parameter is the page title. An optional <code>id</code> parameter can be used to add an identifier to the page link (but not the link text), an optional second parameter can be used to change the link text, and an optional <code>l</code> parameter can be used to change the destination Wikipedia language.
This template simplifies interwiki linking to Wikipedia. The first parameter is the page title. An optional <code>id</code> parameter can be used to add an identifier to the page link (but not the link text), an optional second parameter can be used to change the link text, and an optional <code>l</code> parameter can be used to change the destination Wikipedia language.


It should not be used in subheadings since doing so breaks section links in the edit summary; use the following format instead: <code><nowiki>[[wikipedia:Page title|Display text]]</nowiki></code>
It should not be used in subheadings since doing so breaks the automatic section links in the edit summary; use the following format instead: <code><nowiki>[[wikipedia:Page title|Display text]]</nowiki></code>


[[Category:Formatting templates]]</noinclude>
[[Category:Formatting templates]]</noinclude>

Revision as of 11:29, January 1, 2025

Usage

Use {{wp|Shigeru Miyamoto}} to create the following link:

Shigeru Miyamoto

Use {{wp|Donkey Kong|id=character}} to create the following link:

Donkey Kong

Use {{wp|Nintendo Entertainment System|NES}} to create the following link:

NES

Use {{wp|l=de|Frank Buschmann}} to create the following link:

Frank Buschmann

About

This template simplifies interwiki linking to Wikipedia. The first parameter is the page title. An optional id parameter can be used to add an identifier to the page link (but not the link text), an optional second parameter can be used to change the link text, and an optional l parameter can be used to change the destination Wikipedia language.

It should not be used in subheadings since doing so breaks the automatic section links in the edit summary; use the following format instead: [[wikipedia:Page title|Display text]]