Template:Wp: Difference between revisions

Jump to navigation Jump to search
No edit summary
mNo edit summary
 
(One intermediate revision by the same user not shown)
Line 1: Line 1:
<includeonly>[[wikipedia:{{{lang|en}}}:{{{1}}}|{{{2|{{{1}}}}}}]]</includeonly><noinclude>
<includeonly>[[wikipedia:{{#if:{{{lang|}}}|{{{lang}}}:|}}{{{1}}}|{{{2|{{{1}}}}}}{{#if:{{{lang|}}}|&nbsp;<small>[{{{lang|}}}]</small>|}}]]</includeonly><noinclude>
{{Documentation}}
{{Documentation}}
[[Category:Link Templates]]</noinclude>
[[Category:Link Templates]]</noinclude>

Latest revision as of 01:25, 11 December 2023

This template is for linking to Wikipedia. The first parameter is the page to link to, which is required. The second parameter is alternate text to display for the link, which is optional. The lang parameter is the language code for linking to a different language version of Wikipedia (English is default).

Examples:

Parameters Output Links to
{{Wp|Atlus}} Atlus wikipedia:en:Atlus
{{Wp|Atlus|a certain game company}} a certain game company wikipedia:en:Atlus
{{Wp|lang=ja|アトラス (ゲーム会社)|Atlus}} Atlus [ja] wikipedia:jp:アトラス (ゲーム会社)