Template:Language subpage: Difference between revisions
Jump to navigation
Jump to search
m (WIP warning for unsupported langs) |
mNo edit summary |
||
Line 1: | Line 1: | ||
__NOTOC__{{Doc}} | __NOTOC__{{Doc}} | ||
<includeonly><onlyinclude><!-- | <includeonly><onlyinclude><!-- | ||
-->{{#ifeq:{{SUBPAGENAME}}|zh-cn| | -->{{#ifeq:{{SUBPAGENAME}}|zh-cn||}}{{#if:{{Uselang|{{SUBPAGENAME}}}}{{{force|}}} | ||
|<div class="plainlinks" style="display:flex; background-color:rgba(159,159,159,.05); border:1px solid rgba(159,159,159,.3); border-left:4px solid #9F9F9F; border-radius:3px; padding:10px; margin-bottom:6px"> | |<div class="plainlinks" style="display:flex; background-color:rgba(159,159,159,.05); border:1px solid rgba(159,159,159,.3); border-left:4px solid #9F9F9F; border-radius:3px; padding:10px; margin-bottom:6px"> | ||
<div> | <div> | ||
Line 16: | Line 16: | ||
-->{{#if: {{language name|{{SUBPAGENAME}}|en}}|[[Category:{{language name|{{SUBPAGENAME}}|en}}]]|{{error|Unsupported language abbreviation "{{SUBPAGENAME}}"}} }}<!-- | -->{{#if: {{language name|{{SUBPAGENAME}}|en}}|[[Category:{{language name|{{SUBPAGENAME}}|en}}]]|{{error|Unsupported language abbreviation "{{SUBPAGENAME}}"}} }}<!-- | ||
-->{{#ifeq:{{SUBPAGENAME}}|en|__NOINDEX__}} | -->{{#ifeq:{{SUBPAGENAME}}|en|__NOINDEX__}} | ||
|{{#if:{{{title|}}}|{{DISPLAYTITLE:{{{title|}}}|noerror}}}}{{{1|}}}|}}</onlyinclude></includeonly> | |{{#if:{{{title|}}}|{{DISPLAYTITLE:{{{title|}}}|noerror}}}}{{{1|}}}|{{Error|1=TEMPLATE ERROR: "zh-cn" is no longer a supported language. Use "zh" instead.}}}}</onlyinclude></includeonly> |
Revision as of 09:14, 15 April 2024
The above documentation is transcluded from Template:Language subpage/doc. (Edit | Page history)
Editors can experiment in this template's sandbox (edit) and testcases (create) pages.
Editors can experiment in this template's sandbox (edit) and testcases (create) pages.