Opis in uporabs uredi

This template produces a hatnote:

  • {{Preusmeritev|Foo}}

It is placed at the top of the article or section that is the primary topic of a redirect, and links to other topics that are ambiguous with the name of that redirect. This template is used instead of the generic {{for}} in order to reduce reader confusion.

An example would be when a user searches for the emperor Achilleus. However, the search term "Achilleus" redirects to the page titled Achilles (as in the mythical hero) because it is considered more likely the user were searching for the very well known hero than a relatively obscure emperor. Now, at the top of this Achilles page you will (among other things) find the following hatnote:

»Ahil« se preusmerja sem. Za cesarja z enakim imenom glej Ahil (cesar).

That text is this template in action.

Parametri uredi

Parameter |text= doda na konec besedilo; bodite pozorni na to, da naj se to uporablja le, ko je to resnično potrebno, ko druge hatnote predloge navedene spodaj, ne zadostujejo.

Zgledi uredi

  • {{Preusmeritev|Foo}}
  • {{Preusmeritev|REDIRECT||PAGE1}}
  • {{Preusmeritev|REDIRECT|USE1|PAGE1}}
  • {{Preusmeritev|REDIRECT|USE1|PAGE1|USE2|PAGE2|USE3|PAGE3}}
  • {{Preusmeritev|REDIRECT|USE1|PAGE1|in|PAGE2}}
  • {{Preusmeritev|REDIRECT|USE1|PAGE1|USE2|PAGE2|in|PAGE3}}
  • {{Preusmeritev|Ahil|cesarja z enakim imenom|Ahil (cesar)|druge pomene|Ahil (razločitev)}}

Komleksnejša uporaba uredi

For more complex cases, other templates can be used:

TemplateData uredi

To je dokumentacija TemplateData za predlogo, ki jo uporabljajo Vizualni urejevalnik in druga orodja; glejte mesečno poročilo o uporabi parametrov za to predlogo.

TemplateData za Preusmeritev

This template produces a hatnote similar to: "Foo" redirects here. For other uses, see [[Foo (disambiguation)]].

Parametri predloge[Urejanje podatkov predloge]

Za to predlogo se uporablja postavitev parametrov v eni vrstici.

ParameterOpisVrstaStanje
Redirecting page1

Name of page that redirects here

Ime stranizahtevano
Use 12

Displayed as: For Use 1, see ... If left empty, defaults to For other uses, see ...

Vrsticaneobvezno
Target 13

Page to link to. Default is [[PAGENAME (disambiguation)]].

Ime stranineobvezno
Use 24

Second use. Can be 'and' to give: For Use 1, see [[Target1]] and [[Target2]].

Vrsticaneobvezno
Target 25

Page to link second use to.

Ime stranineobvezno
Use 36

Third use. Can be 'and'.

Vrsticaneobvezno
Target 37

Page to link third use to.

Ime stranineobvezno
Custom texttext

Text to be appended to the end.

Vrsticaneobvezno

Glej tudi uredi