Difference between revisions of "Template:R from alternative language"

From blackwiki
Jump to navigation Jump to search
test>Wugapodes
(Replace native check with Module:Lang's is_ietf_code function which is far more reliable than category names, see, eg, Encyclopedia of the Yiddish Theatre)
test>Trappist the monk
m (repair;)
Line 6: Line 6:
 
               |bo=one of the [[Tibetan languages]]
 
               |bo=one of the [[Tibetan languages]]
 
               |und=an as yet [[undetermined language]]
 
               |und=an as yet [[undetermined language]]
               |#default={{#if:{{#invoke:lang|is_ietf_code|{{{1}}}{{{from|}}}{{{lang|}}}}}
+
               |#default={{#if:{{#invoke:lang|is_ietf_code|{{{1|}}}{{{from|}}}{{{lang|}}}}}
                         |{{#invoke:lang|name_from_code|{{{1}}}{{{from|}}}{{{lang|}}}|link=yes}}
+
                         |{{#invoke:lang|name_from_code|{{{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|}}}
 
               |art=an [[Constructed language|artificial language]]
 
               |art=an [[Constructed language|artificial language]]
Line 17: Line 17:
 
                         |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|name_from_code|{{{1|{{{from|{{{lang|}}}}}}}}}}}-language terms
 
  | [[Category:Redirects from {{#ifexist:Category:Redirects from {{#invoke:Lang|name_from_code|{{{1|{{{from|{{{lang|}}}}}}}}}}}-language terms

Revision as of 19:25, 3 August 2019

Template:This is a redirect/rcat

  • From an alternative language: This is a redirect from a page name in Script error: The function "name_from_code" does not exist. to a page name in Script error: The function "name_from_code" does not exist.. 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.
50px Template documentation[create]