Toggle menu
Toggle preferences menu
Toggle personal menu
Not logged in
Your IP address will be publicly visible if you make any edits.
Revision as of 07:41, 11 June 2026 by MediaWiki default (talk | contribs) (Rename places→locations; add existence checks for groups/businesses; add political_parties, events, locations types)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

AutoLink Template

Unified auto-linking template. Creates a wiki link to an entity page if it exists, otherwise renders as plain text.

Usage

{{AutoLink|type=TYPE|target=TARGET_NAME|text=DISPLAY_TEXT}}

Parameters

  • type — entity type (see table below)
  • target — exact page identifier (without the prefix)
  • text — optional display text (defaults to target name)

Supported Types

Type value Links to Existence check?
players Players/{target} Yes
characters Characters/{target} Yes
groups Groups/{target} Yes
businesses Businesses/{target} Yes
political_parties Political_Parties/{target} Yes
locations Locations/{target} Yes
events Events/{target} Yes

All types fall back to plain text if the target page does not exist yet.

Examples

{{AutoLink|type=players|target=Falcon40k}}Falcon40k

{{AutoLink|type=characters|target=Abraham Ivankov-Chevalier|text=the boss}}the boss

{{AutoLink|type=groups|target=Ivankov-Chevalier Family}}Ivankov-Chevalier Family

{{AutoLink|type=locations|target=Takashima Central Station}}Takashima Central Station