更改

Template:Namespace detect

添加838字节2013年10月9日 (三) 16:16
以“{{#switch: {{lc: <!--Lower case the result--> <!--If no or empty "demospace" parameter then detect namespace--> {{#if:{{{demospace|}}} | {{{...”为内容创建页面
{{#switch: {{lc: <!--Lower case the result--> <!--If no or empty "demospace" parameter then detect namespace--> {{#if:{{{demospace|}}} | {{{demospace}}} | {{#ifeq:{{NAMESPACE}}|{{ns:0}} | main | {{#ifeq:{{NAMESPACE}}|{{TALKSPACE}} | talk | {{NAMESPACE}} }} }} }} }}| main = {{{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|}}} }}}| other| #default = {{{other|}}}}}<!--End switch--><noinclude>{{Documentation}}</noinclude>
行政员管理员
1,451
个编辑