Difference between revisions of "Template:Article missing translation/core"
(Some fairly simple cleanup. The {{BASE}}PAGENAME trick wasn't working, so I'm just using the lua module. It is worth noting that titleparts:{{FULLPAGENAME}} fails on english pages, but that branch will never be called.) |
m (No longer reads logically, added includeonly (and doc).) |
||
Line 1: | Line 1: | ||
− | {{#ifeq:{{#invoke:Languages|langlink|en}}|- | + | <includeonly>{{#ifeq:{{#invoke:Languages|langlink|en}}|- |
| <span class="plainlinks">{{lang <!-- English page does not exist --> | | <span class="plainlinks">{{lang <!-- English page does not exist --> | ||
| #default = There is currently no text in this page. You can [[Special:Search/{{FULLPAGENAME}}|search for this page title]] in other pages, [{{fullurl:Special:Log|page={{FULLPAGENAMEE}}}} search the related logs], or [{{fullurl:{{FULLPAGENAME}}|action=edit}} create this one in English]. | | #default = There is currently no text in this page. You can [[Special:Search/{{FULLPAGENAME}}|search for this page title]] in other pages, [{{fullurl:Special:Log|page={{FULLPAGENAMEE}}}} search the related logs], or [{{fullurl:{{FULLPAGENAME}}|action=edit}} create this one in English]. | ||
Line 25: | Line 25: | ||
| zh-hans = “[[:{{FULLPAGENAME}}]]”{{{type}}}还未被翻译成所需的语言。您可以查看[[:{{#titleparts:{{FULLPAGENAME}}|-1}}|英语版的{{{type2|{{{type}}}}}}]]。 | | zh-hans = “[[:{{FULLPAGENAME}}]]”{{{type}}}还未被翻译成所需的语言。您可以查看[[:{{#titleparts:{{FULLPAGENAME}}|-1}}|英语版的{{{type2|{{{type}}}}}}]]。 | ||
}} | }} | ||
− | }}<noinclude> | + | }}</includeonly><noinclude> |
{{translation switching|en}} | {{translation switching|en}} | ||
{{doc begin}} | {{doc begin}} | ||
This page is transcluded into [[MediaWiki:Noarticletext]]. The contents will appear when a users is directed to a blank page. | This page is transcluded into [[MediaWiki:Noarticletext]]. The contents will appear when a users is directed to a blank page. | ||
+ | |||
+ | * If the page is an english page, the user will be prompted to search for the title. | ||
+ | * If the page is a non-english page | ||
+ | ** If english page exists, the user will be given a link to the english page, and asked to translate. | ||
+ | ** If the english page doesn't exist, the user will be prompted to search for the title. | ||
+ | |||
[[Category:Interface templates]] | [[Category:Interface templates]] | ||
[[Category:Language templates]] | [[Category:Language templates]] | ||
</noinclude> | </noinclude> |
Revision as of 16:11, 10 April 2016
![]() | This template uses translation switching. The correct language will be displayed automatically. Localized versions of this template (e.g. Template:Article missing translation/core/ru) are not necessary. Add your translations directly to this template by editing it. Supported languages for this template: en (add) |
Documentation for Article missing translation/core
This page is transcluded into MediaWiki:Noarticletext. The contents will appear when a users is directed to a blank page.
- If the page is an english page, the user will be prompted to search for the title.
- If the page is a non-english page
- If english page exists, the user will be given a link to the english page, and asked to translate.
- If the english page doesn't exist, the user will be prompted to search for the title.