Vorlage:Fullurl

Aus Eco - Deutsches Wiki
Version vom 6. Dezember 2019, 22:36 Uhr von Dennis (Diskussion | Beiträge) (1 Version importiert)
(Unterschied) ← Nächstältere Version | Aktuelle Version (Unterschied) | Nächstjüngere Version → (Unterschied)
Wechseln zu:Navigation, Suche

This template can be used to output the full wiki URL e.g. (https://help.gamepedia.com/index.php?title=) in plaintext or within a plainlink span using the fullurl magic word.

This template is useful for actions, for example action=edit to link to the edit box.

Usage[Quelltext bearbeiten]

To use this template you put the name of the page you want and any actions you want to perform (anything that is after an &).

Examples[Quelltext bearbeiten]

{{fullurl|Blocks|action=edit}}

Will output: //help.gamepedia.com/index.php?title=Blocks&action=edit

{{fullurl|Blocks|action=edit|nolink=1}}

Will output: https://help.gamepedia.com/index.php?title=Blocks&action=edit

{{fullurl|Blocks|action=edit|text=Edit page}}

Will output: Edit page

Notes[Quelltext bearbeiten]

  • All url parameters are kept within the same parameter. ({{fullurl|MediaWiki:Common.css|action=raw&ctype=text/css}} instead of {{fullurl|MediaWiki:Common.css|action=raw|ctype=text/css}})