Template:Soft redirect: Difference between revisions

From Irony Wiki
Jump to navigation Jump to search
c
 
No edit summary
 
Line 1: Line 1:
<span style="display:block;font-size:0.8em;margin-bottom:8px;">You are being redirected to another website. Click the link to continue.</span>
<span style="display:block;font-size:0.8em;margin-bottom:8px;">You are being redirected to another website. Click the link to continue.</span>
[[File:Redirect arrow without text.svg|64px|link=|alt=Soft redirect to:]]<span class="redirectText" id="softredirect" style="font-size:140%;">{{#if:{{{2|}}}|{{{2}}}|[[{{{1}}}]]}}</span>
[[File:Redirect arrow without text.svg|64px|link=|alt=Soft redirect to:]]<span class="redirectText" id="softredirect" style="font-size:140%;">{{#if:{{{url|}}}|{{{url}}}|[[{{{wikilink}}}]]}}</span>
<noinclude>{{documentation}}</noinclude>
<noinclude>{{documentation}}</noinclude>

Latest revision as of 08:21, 24 February 2021

You are being redirected to another website. Click the link to continue. Soft redirect to:[[{{{wikilink}}}]]

Documentation

{{soft redirect|wikilink=wikilink|url=url}}

The preferred way of redirecting a page to a different website or wiki.

Parameters[edit source]

ONE of the following parameters is required:

  • wikilink= - You can link to some websites by adding a prefix to the page on that site you want to link to. For example, {{soft redirect|wikilink=wikipedia:Main Page}} will redirect to the Main Page of Wikipedia. For a list of supported websites and their prefixes, see Special:Interwiki.
  • url= - Literally just the full URL to the page you want to redirect to. For example, {{soft redirect|url=https://www.youtube.com/watch?v=dQw4w9WgXcQ}}

TemplateData[edit source]

The preferred way of redirecting a page to a different website or wiki. ONE parameter is required

Template parameters[Edit template data]

ParameterDescriptionTypeStatus
wikilinkwikilink

You can link to some websites by adding a prefix to the page on that site you want to link to. For example, "{{soft redirect|wikilink=wikipedia:Main Page}}" will link to the Main Page of Wikipedia. For a list of supported websites and their prefixes, see [[Special:Interwiki]].

Example
wikipedia:Main Page
Page namesuggested
URLurl

Literally just the full URL of the page you want to redirect to.

Example
https://www.youtube.com/watch?v=dQw4w9WgXcQ
URLsuggested