Template:W: Difference between revisions

From Irony Wiki
Jump to navigation Jump to search
w
 
No edit summary
 
Line 1: Line 1:
[[wp:{{{1|Main Page}}}|{{{1|Wikipedia}}}]]<noinclude>{{documentation}}</noinclude>
[[wp:{{{1|Main Page}}}|{{#if:{{{2|}}}|{{{2}}}|{{{1|Wikipedia}}}}}]]<noinclude>{{documentation}}</noinclude>

Latest revision as of 01:30, 12 February 2021

Wikipedia

Documentation

Usage[edit source]

{{w|Wikipedia page|Display text (optional)}}

To link to a Wikipedia page, this template lets you type {{w|List of ethnic slurs}} instead of [[wp:List of ethnic slurs|List of ethnic slurs]], which outputs: List of ethnic slurs.

TemplateData[edit source]

Links to a Wikipedia page.

Template parameters[Edit template data]

This template prefers inline formatting of parameters.

ParameterDescriptionTypeStatus
Page1

The name of the Wikipedia page you would like to link to.

Default
Main Page
Example
List of ethnic slurs
Stringsuggested
Display text2

The text of the link that should be displayed to the reader. Defaults to be the same as the Page being linked to.

Default
{{{1}}}
Stringoptional