Template:LocalPage: Difference between revisions
Jump to navigation
Jump to search
Content deleted Content added
Created page with "{{#ifexist: {{{1}}}/{{{2|{{pagelang}}}}} | {{{1}}}/{{{2|{{pagelang}}}}}}} | {{{1}}} }}<noinclude> Translated version of the given page if it exists, else fall back to root pa..." |
No edit summary |
||
Line 1: | Line 1: | ||
{{#ifexist: {{{1}}}/{{{2|{{pagelang}}}}} | {{{1}}}/{{{2|{{pagelang |
{{#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 5: | Line 5: | ||
First parameter is page. Second is language, or if omitted defaults to the value of {{tl|pagelang}} for the current page. |
First parameter is page. Second is language, or if omitted defaults to the value of {{tl|pagelang}} for the current page. |
||
* <nowiki>{{LocalPage|Ways to Give|fr}}</nowiki> - {{LocalPage|Ways to Give|fr}} |
* <code><nowiki>{{LocalPage|Ways to Give|fr}}</nowiki></code> - {{LocalPage|Ways to Give|fr}} |
||
* <nowiki>{{LocalPage|Ways to Give|la}}</nowiki> - {{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}}</nowiki></code> - {{LocalPage|Ways to Give}} |
|||
[[Category:Utility templates]] |
[[Category:Utility templates]] |
Revision as of 13:19, 26 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}}
- Ways to Give/en