「Template:Namespace detect」:修訂間差異
跳至導覽
跳至搜尋
创建页面,内容为“{{#switch: {{lc: <!--Lower case the result--> <!--If no or empty "demospace" parameter then detect namespace--> {{#if:{{{demospace|}}} |…” |
|||
第13行: | 第13行: | ||
}} | }} | ||
}} | }} | ||
| main = {{{main| {{{other|}}} }}} | | main = {{#switch:{{str mid|{{FULLPAGENAME}}||{{#expr:abs({{str find|{{FULLPAGENAME}}|:}})-1}}}}<!-- | ||
---->| MOS = {{{pseudo| {{{mos| {{{other|}}} }}} }}}<!-- | |||
---->| LTA = {{{pseudo| {{{lta| {{{other|}}} }}} }}}<!-- | |||
---->| NT = {{{pseudo| {{{nt| {{{other|}}} }}} }}}<!-- | |||
---->| NC = {{{pseudo| {{{nc| {{{other|}}} }}} }}}<!-- | |||
---->| #default = {{{main| {{{other|}}} }}}<!-- | |||
---->}} | |||
| talk = {{{talk| {{{other|}}} }}} | | talk = {{{talk| {{{other|}}} }}} | ||
| user = {{{user| {{{other|}}} }}} | | user = {{{user| {{{other|}}} }}} | ||
第23行: | 第29行: | ||
| category = {{{category| {{{other|}}} }}} | | category = {{{category| {{{other|}}} }}} | ||
| portal = {{{portal| {{{other|}}} }}} | | portal = {{{portal| {{{other|}}} }}} | ||
| wikiproject = {{{wikiproject| {{{other|}}} }}} | |||
| other | | other | ||
| #default = {{{other|}}} | | #default = {{{other|}}} | ||
}}<!--End switch--><noinclude> | }}<!--End switch--><noinclude> | ||
{{ | {{documentation}} | ||
<!-- Add categories to the /doc subpage, and interwikis to Wikidata. --> | |||
</noinclude> | </noinclude> |