Template:WorldLink: Difference between revisions

From EarthMC
Jump to navigation Jump to search
mNo edit summary
(Corrected parameter error)
Line 1: Line 1:
<includeonly>[[{{{1}}}{{#if:{{WorldSuffix}}| ({{WorldSuffix}})||}}|{{#if:{{{2}}}|{{{2}}}|{{{1}}}}}]]</includeonly>
<includeonly>[[{{{1}}}{{#if:{{WorldSuffix}}| ({{WorldSuffix}})||}}|{{{2|{{{1}}}}}}]]</includeonly>
<noinclude>
<noinclude>
Template that creates a link with a prefix that is the same as the one in the current page.
Template that creates a link with a prefix that is the same as the one in the current page.

Revision as of 00:52, 21 May 2022


Template that creates a link with a prefix that is the same as the one in the current page.

{{WorldLink|Buenos Aires}} in a page called La Plata (Aurora) would turn into [[Buenos Aires (Aurora)|Buenos Aires]]