Difference between revisions of "Template:R from alternative language"
Jump to navigation
Jump to search
Template documentation[create]
test>Trappist the monk (lang function name change;) |
test>Trappist the monk (lang function name change;) |
||
| Line 7: | Line 7: | ||
|und=an as yet [[undetermined language]] | |und=an as yet [[undetermined language]] | ||
|#default={{#if:{{#invoke:lang|is_ietf_tag|{{{1|}}}{{{from|}}}{{{lang|}}}}} | |#default={{#if:{{#invoke:lang|is_ietf_tag|{{{1|}}}{{{from|}}}{{{lang|}}}}} | ||
| − | |{{#invoke:lang| | + | |{{#invoke:lang|name_from_tag|{{{1|}}}{{{from|}}}{{{lang|}}}|link=yes}} |
|an as yet [[undetermined language]]}}}} | |an as yet [[undetermined language]]}}}} | ||
|to=a page name in {{#switch:{{{2|}}}{{{to|}}} | |to=a page name in {{#switch:{{{2|}}}{{{to|}}} | ||
| Line 14: | Line 14: | ||
|und=an as yet [[undetermined language]] | |und=an as yet [[undetermined language]] | ||
|#default={{#if:{{#invoke:lang|is_ietf_tag|{{{2|}}}{{{to|}}}}} | |#default={{#if:{{#invoke:lang|is_ietf_tag|{{{2|}}}{{{to|}}}}} | ||
| − | |{{#invoke:lang| | + | |{{#invoke:lang|name_from_tag|{{{2|}}}{{{to|}}}|link=yes}} |
|an as yet [[undetermined language]]}}}}. These words may directly translate or they may be related words, names or phrases | |an as yet [[undetermined language]]}}}}. These words may directly translate or they may be related words, names or phrases | ||
|info=** This redirect leads to its target in accordance with the naming conventions for titles in other languages and can help writing and searches. However, per [[WP:NOTBROKEN]] do not replace these redirected links with a [[WP:piped link|piped link]] unless the page is updated for another reason. | |info=** This redirect leads to its target in accordance with the naming conventions for titles in other languages and can help writing and searches. However, per [[WP:NOTBROKEN]] do not replace these redirected links with a [[WP:piped link|piped link]] unless the page is updated for another reason. | ||
|printworthy={{main other|{{#ifeq:{{{1|}}}{{{from|}}}{{{lang|}}}|en|{{#ifeq:{{{printworthy}}}|no|no|yes}}}}}} | |printworthy={{main other|{{#ifeq:{{{1|}}}{{{from|}}}{{{lang|}}}|en|{{#ifeq:{{{printworthy}}}|no|no|yes}}}}}} | ||
}}{{#ifeq:{{SUBPAGENAME}}|testcases||{{#if:{{{1|}}}{{{from|}}}{{{lang|}}} | }}{{#ifeq:{{SUBPAGENAME}}|testcases||{{#if:{{{1|}}}{{{from|}}}{{{lang|}}} | ||
| − | | [[Category:Redirects from {{#ifexist:Category:Redirects from {{#invoke:Lang| | + | | [[Category:Redirects from {{#ifexist:Category:Redirects from {{#invoke:Lang|name_from_tag|{{{1|{{{from|{{{lang|}}}}}}}}}}}-language terms |
| − | | {{#invoke:Lang| | + | | {{#invoke:Lang|name_from_tag|{{{1|{{{from|{{{lang|}}}}}}}}}}} |
| non-English | | non-English | ||
}}-language terms]] | }}-language terms]] | ||
| Line 26: | Line 26: | ||
}} | }} | ||
}}{{#if:{{{2|}}}{{{to|}}} | }}{{#if:{{{2|}}}{{{to|}}} | ||
| − | | [[Category:Redirects to {{#ifexist:Category:Redirects to {{#invoke:Lang| | + | | [[Category:Redirects to {{#ifexist:Category:Redirects to {{#invoke:Lang|name_from_tag|{{{2|{{{to}}}}}}}}-language terms |
| − | | {{#invoke:Lang| | + | | {{#invoke:Lang|name_from_tag|{{{2|{{{to}}}}}}}} |
| non-English | | non-English | ||
}}-language terms]] | }}-language terms]] | ||
Revision as of 13:16, 20 October 2019
Template:This is a redirect/rcat
- From an alternative language: This is a redirect from a page name in an as yet undetermined language to a page name in an as yet undetermined language. These words may directly translate or they may be related words, names or phrases.
- This redirect leads to its target in accordance with the naming conventions for titles in other languages and can help writing and searches. However, per WP:NOTBROKEN do not replace these redirected links with a piped link unless the page is updated for another reason.
| Editors can experiment in this template's sandbox (create | mirror) and testcases (create) pages. Please add categories to the /doc subpage. Subpages of this template. |