Template:CastLink

From UWPIAA Wiki
Revision as of 16:53, 25 May 2026 by Tech (talk | contribs) (Created page with "<includeonly>{{#ifexist:{{{1}}}|[[{{{1}}}]]|[{{fullurl:{{{1}}}|action=edit&preload=Template:Cast_template}} <span style="color:#ba0000">{{{1}}}</span>]}}</includeonly><noinclude> This template creates a smart cast link: * If the cast page exists → renders a normal blue link * If it doesn't exist → renders a red link that, when clicked, opens the editor pre-filled with Template:Cast template ==Usage== <code><nowiki>{{CastLink|1988E}}</nowiki></code> Requires t...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

This template creates a smart cast link:

  • If the cast page exists → renders a normal blue link
  • If it doesn't exist → renders a red link that, when clicked, opens the editor pre-filled with Template:Cast template

Usage

{{CastLink|1988E}}

Requires the ParserFunctions extension (already enabled).