Template:WorldLink: Difference between revisions
Jump to navigation
Jump to search
(Corrected parameter error) |
No edit summary |
||
(10 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
<includeonly>[[{{{1}}}{{#if:{{WorldSuffix}}| ({{WorldSuffix}})||}}|{{{ | <includeonly>[[{{{1}}}{{#if:{{WorldSuffix}}| ({{WorldSuffix}})||}}|{{{1|{{{2}}}}}}]]</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. | ||
<code><nowiki>{{WorldLink|Buenos Aires}}</nowiki></code> in a page called <code>La Plata (Aurora)</code> would turn into <code><nowiki>[[Buenos Aires (Aurora)|Buenos Aires]]</nowiki></code> | <code><nowiki>{{WorldLink|Buenos Aires}}</nowiki></code> in a page called <code>La Plata (Aurora)</code> would turn into <code><nowiki>[[Buenos Aires (Aurora)|Buenos Aires]]</nowiki></code> | ||
</noinclude> | </noinclude> |
Latest revision as of 01:10, 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]]