“模板:Namespace detect”的版本间的差异
来自问题求解
小 (1个修订) |
小 (保护 Template:Namespace detect: WP:HRT ([edit=sysop] (无期) [move=sysop] (无期))) |
||
(未显示另一用户的1个中间版本) | |||
第4行: | 第4行: | ||
{{#if:{{{demospace|}}} | {{#if:{{{demospace|}}} | ||
| {{{demospace}}} | | {{{demospace}}} | ||
− | | {{# | + | | {{#ifeq:{{NAMESPACE}}|{{ns:0}} |
− | | | + | | main |
− | + | | {{#ifeq:{{NAMESPACE}}|{{TALKSPACE}} | |
| talk | | talk | ||
− | | {{ | + | | {{NAMESPACE}} |
}} | }} | ||
− | + | }} | |
− | |||
− | |||
− | |||
− | |||
− | }} | ||
}} | }} | ||
}} | }} | ||
− | + | | main = {{{main| {{{other|}}} }}} | |
− | |||
− | | main | ||
− | |||
| talk = {{{talk| {{{other|}}} }}} | | talk = {{{talk| {{{other|}}} }}} | ||
| user = {{{user| {{{other|}}} }}} | | user = {{{user| {{{other|}}} }}} | ||
| wikipedia = {{{wikipedia| {{{other|}}} }}} | | wikipedia = {{{wikipedia| {{{other|}}} }}} | ||
− | + | | image = {{{image| {{{other|}}} }}} | |
− | | image = | ||
| mediawiki = {{{mediawiki| {{{other|}}} }}} | | mediawiki = {{{mediawiki| {{{other|}}} }}} | ||
| template = {{{template| {{{other|}}} }}} | | template = {{{template| {{{other|}}} }}} | ||
第32行: | 第23行: | ||
| category = {{{category| {{{other|}}} }}} | | category = {{{category| {{{other|}}} }}} | ||
| portal = {{{portal| {{{other|}}} }}} | | portal = {{{portal| {{{other|}}} }}} | ||
− | |||
| other | | other | ||
− | | #default = {{{other|}}} | + | | #default = {{{other|}}} |
}}<!--End switch--><noinclude> | }}<!--End switch--><noinclude> | ||
− | + | {{Documentation}} | |
− | {{ | ||
− | |||
</noinclude> | </noinclude> |