Template:WorldLink: Difference between revisions
Jump to navigation
Jump to search
(422039592661942272 moved page Template:WorldLink to Template:WorldSuffix: Better name.) Tag: New redirect |
(Created world link template.) Tag: Removed redirect |
||
Line 1: | Line 1: | ||
<includeonly>[[{{{1}}} {{#if: {{WorldSuffix}}| ({{WorldSuffix}})||}}|{{#if: {{{2}}}|{{{2}}}|{{{1}}}}}]]</includeonly> | |||
<noinclude> | |||
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> | |||
</noinclude> |
Revision as of 00:46, 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]]