添加的内容 删除的内容
imported>Alistair3149 小 (1 revision imported) |
imported>Wr 小 (导入1个版本) |
||
(未显示2个用户的3个中间版本) | |||
第1行: | 第1行: | ||
{{#switch: |
|||
{{SAFESUBST:<noinclude />#invoke:Namespace detect|main}}<noinclude> |
|||
{{lc: <!--Lower case the result--> |
|||
{{/doc}} |
|||
<!--If no or empty "demospace" parameter then detect namespace--> |
|||
⚫ | |||
{{#if:{{{demospace|}}} |
|||
| {{{demospace}}} |
|||
| {{#ifeq:{{NAMESPACE}}|{{ns:0}} |
|||
| main |
|||
| {{#ifeq:{{NAMESPACE}}|{{TALKSPACE}} |
|||
| talk |
|||
| {{NAMESPACE}} |
|||
}} |
|||
}} |
|||
}} |
|||
}} |
|||
| 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|}}} }}} |
|||
| user = {{{user| {{{other|}}} }}} |
|||
| wikipedia = {{{wikipedia| {{{other|}}} }}} |
|||
| image = {{{image| {{{other|}}} }}} |
|||
| mediawiki = {{{mediawiki| {{{other|}}} }}} |
|||
| template = {{{template| {{{other|}}} }}} |
|||
| help = {{{help| {{{other|}}} }}} |
|||
| category = {{{category| {{{other|}}} }}} |
|||
| portal = {{{portal| {{{other|}}} }}} |
|||
| wikiproject = {{{wikiproject| {{{other|}}} }}} |
|||
| other |
|||
| #default = {{{other|}}} |
|||
}}<!--End switch--><noinclude> |
|||
{{documentation}} |
|||
⚫ | |||
</noinclude> |
</noinclude> |