Template:LocalPage: Difference between revisions

From Donate
Jump to navigation Jump to search
Content deleted Content added
No edit summary
No edit summary
 
Line 1: Line 1:
{{#ifexist: {{{1}}}/{{{2|{{pagelang}}}}} | {{{1}}}/{{{2|{{pagelang}}}}} | {{{1}}} }}<noinclude>
{{#ifeq: {{{2|{{pagelang}}}}} | en
| {{{1}}}
| {{#ifexist: {{{1}}}/{{{2|{{pagelang}}}}}
| {{{1}}}/{{{2|{{pagelang}}}}}
| {{{1}}}
}}
}}<noinclude>


Translated version of the given page if it exists, else fall back to root page (English).
Translated version of the given page if it exists, else fall back to root page (English).
Line 7: Line 13:
* <code><nowiki>{{LocalPage|Ways to Give|fr}}</nowiki></code> - {{LocalPage|Ways to Give|fr}}
* <code><nowiki>{{LocalPage|Ways to Give|fr}}</nowiki></code> - {{LocalPage|Ways to Give|fr}}
* <code><nowiki>{{LocalPage|Ways to Give|la}}</nowiki></code> - {{LocalPage|Ways to Give|la}}
* <code><nowiki>{{LocalPage|Ways to Give|la}}</nowiki></code> - {{LocalPage|Ways to Give|la}}
* <code><nowiki>{{LocalPage|Ways to Give|en}}</nowiki></code> - {{LocalPage|Ways to Give|en}}
* <code><nowiki>{{LocalPage|Ways to Give}}</nowiki></code> - {{LocalPage|Ways to Give}}
* <code><nowiki>{{LocalPage|Ways to Give}}</nowiki></code> - {{LocalPage|Ways to Give}}



Latest revision as of 11:00, 27 July 2018

{{{1}}}

Translated version of the given page if it exists, else fall back to root page (English).

First parameter is page. Second is language, or if omitted defaults to the value of {{pagelang}} for the current page.

  • {{LocalPage|Ways to Give|fr}} - Ways to Give/fr
  • {{LocalPage|Ways to Give|la}} - Ways to Give
  • {{LocalPage|Ways to Give|en}} - Ways to Give
  • {{LocalPage|Ways to Give}} - Ways to Give