Warning: Illegal offset type in unset in /home/acanthus/nevacal.com/w/LocalSettings.php on line 1079

Warning: Illegal offset type in unset in /home/acanthus/nevacal.com/w/LocalSettings.php on line 1079

Warning: Illegal offset type in unset in /home/acanthus/nevacal.com/w/LocalSettings.php on line 1079

Warning: Illegal offset type in unset in /home/acanthus/nevacal.com/w/LocalSettings.php on line 1079

Warning: Illegal offset type in unset in /home/acanthus/nevacal.com/w/LocalSettings.php on line 1079

Warning: Illegal offset type in unset in /home/acanthus/nevacal.com/w/LocalSettings.php on line 1079

Warning: Illegal offset type in unset in /home/acanthus/nevacal.com/w/LocalSettings.php on line 1079

Warning: Illegal offset type in unset in /home/acanthus/nevacal.com/w/LocalSettings.php on line 1079

Warning: Illegal offset type in unset in /home/acanthus/nevacal.com/w/LocalSettings.php on line 1079

Warning: Illegal offset type in unset in /home/acanthus/nevacal.com/w/LocalSettings.php on line 1079

Warning: Illegal offset type in unset in /home/acanthus/nevacal.com/w/LocalSettings.php on line 1079

Warning: Illegal offset type in unset in /home/acanthus/nevacal.com/w/LocalSettings.php on line 1079

Warning: Illegal offset type in unset in /home/acanthus/nevacal.com/w/LocalSettings.php on line 1079

Warning: Illegal offset type in unset in /home/acanthus/nevacal.com/w/LocalSettings.php on line 1079

Warning: Illegal offset type in unset in /home/acanthus/nevacal.com/w/LocalSettings.php on line 1079

Warning: Illegal offset type in unset in /home/acanthus/nevacal.com/w/LocalSettings.php on line 1079

Warning: Illegal offset type in unset in /home/acanthus/nevacal.com/w/LocalSettings.php on line 1079

Warning: Illegal offset type in unset in /home/acanthus/nevacal.com/w/LocalSettings.php on line 1079
 Template:ActionLink - NevaCal

Template:ActionLink

From NevaCal

Jump to: navigation, search


{{ActionLink}} creates a plainly-styled link to a local or interwiki page, usually with an associated action (like "edit", "history", "watch", "purge", etc.).

Parameters

Enter parameters in the following sequence. All parameters, except for the full name of the page, are optional (but if most are omitted, you might as well use a regular wikilink, which is much gentler on the server and easier for other editors to read).

  • iw=  — optional language and interwiki codes (e.g., "w:", "fr:w:", "commons:", etc.)
    • {{ActionLink|iw=de:w:|Main Page}}
  • The full name of the page to which you are linking
  • action=  — the desired action for the page
  • The optional link text to display (defaults to the link location if not specified)
    • {{ActionLink|Main Page|action=watch|Watch the Main Page}}
    • {{ActionLink|Template:ActionLink|action=history|View History}}
    • {{ActionLink|Template:ActionLink/doc|action=edit|Edit the Template}}
    • {{ActionLink|Project:Language/de|action=purge|Purge the cache}}
  • q=  — if included, it will be appended to the query string of the URL. You may omit the action= parameter and include the "q=" parameter if you want to modify the query string but do not want "action=whatever" to appear in the query string.
    • {{ActionLink|Special:Log|Main Page logs|action=view|q=page={{urlencode:Main Page}}}}
      • Example: Main Page logs
      • Note: if the query string includes a space or any other punctuation, enclose it within a "urlencode:" parser function
  • a= — if included, it will be appended to the URL as an anchor reference to jump to a particular location within a page.
    • {{ActionLink|iw=mw:|Help:Magic words|a=URL data|URL parser functions}}
      • Example: URL parser functions
      • Note: anchors are automatically escaped with the "anchorencode:" parser function
      • Note also: This is a rather contrived example; you should not use this template when an ordinary wikilink will do the job better and cause less burden on the servers.
  • plain=false  — instead of a plain link that usually indicates an internal link, let the wiki software style the link like a normal external link.
    • Note: Setting "plain=" to any value will disable plain links; "false" is the value that makes the most sense and is strongly recommended.
    • {{ActionLink|Main Page|action=watch|plain=false}}
Personal tools