Template:AutoLink
Template page
More actions
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