Open main menu

Simple use

Source in:

{{Surname|Wayne}}

Equivalent wikicode:

[[Wayne (surname)|Wayne]]

Rendered as:

Two-variable use

Source in:

{{Surname|Wayne|The Batman}}

Equivalent wikicode:

[[Wayne (surname)|The Batman]]

Rendered as:

Template source

[[{{{1}}} (surname)|{{#if:{{{2|}}}|{{{2}}}|{{{1}}}}}]]