182
个编辑
更改
模板:Ambox
,创建页面,内容为“{{#ifeq:{{{subst}}}|SUBST |{{#if:{{{name|}}} |{{Error|模板{{tlx|{{{name}}}}}被错误地替代。}} }}Category:包含被错误地替代的模板的页面 }…”
{{#ifeq:{{{subst}}}|SUBST
|{{#if:{{{name|}}}
|{{Error|模板{{tlx|{{{name}}}}}被错误地替代。}}
}}[[Category:包含被错误地替代的模板的页面]]
}}{{Ambox/{{#ifeq:{{{small}}}|left|small|core}}
|type = {{{type|}}}
|image = {{{image|}}}
|smallimage = {{#if:{{{smallimage|}}}|{{{smallimage}}}|{{{image|}}}}}
|imageright = {{{imageright|}}}
|smallimageright = {{#if:{{{smallimageright|}}}|{{{smallimageright}}}|{{{imageright|}}}}}
|class = ambox-{{#switch:{{{type|}}}
|speedy = speedy
|delete = delete
|content = content
|style = style
|move = move
|protection = protection
|notice|#default = notice
}} {{{class|}}}
|style = {{{style|}}}
|textstyle = {{{textstyle|}}}
|smalltext = {{{smalltext|}}}
|talk = {{#switch:{{{talk|¬}}}
|¬ = <!-- No talk link used -->
| = {{#ifeq:{{FULLROOTPAGENAME}}|Template:{{PAGENAME:{{{name}}}}}|#}}
|#default = {{{talk}}}
}}
|issue = -{zh;zh-hans;zh-hant{{!}}{{#switch:{{{sect|¬}}}
|¬ = <!-- No section parameter used -->
| = 本条目
|本{{{sect}}}
}}{{{issue<includeonly>|</includeonly>}}}{{{text|}}} }-
|fix = -{zh;zh-hans;zh-hant{{!}}{{{fix<includeonly>|</includeonly>}}} }-
|date = {{#switch:{{#if:{{{date|}}}|{{{date}}}|{{{time|¬}}}}}
|¬ = <!-- No date/time used -->
| = {{#ifeq:{{FULLROOTPAGENAME}}|Template:{{PAGENAME:{{{name}}}}}|{{#time:Y年n月j日}}}}
|#default = {{#if:{{{date|}}}|{{{date}}}|{{#time:Y年n月j日|{{{time}}}}}}}
}}
|info = {{{info|}}}
}}{{Category handler
|nocat={{{nocat|<noinclude>true</noinclude>}}}
|main={{Ambox/category
|cat={{{cat|{{{category|}}}}}}
|all={{{all|}}}
|date={{#if:{{{date|}}}|{{{date}}}|{{#if:{{{time|}}}|{{#time:Y年n月|{{{time}}}}}}}}}
|idx={{#switch:{{#if:{{{time|}}}|{{#time:j|{{{time}}}}}}}|1=㏠|2=㏡|3=㏢|4=㏣|5=㏤|6=㏥|7=㏦|8=㏧|9=㏨|10=㏩|11=㏪|12=㏫|13=㏬|14=㏭|15=㏮|16=㏯|17=㏰|18=㏱|19=㏲|20=㏳|21=㏴|22=㏵|23=㏶|24=㏷|25=㏸|26=㏹|27=㏺|28=㏻|29=㏼|30=㏽|31=㏾}}
}}{{Ambox/category
|cat={{{cat2|{{{category2|}}}}}}
|all={{{all2|}}}
|date={{#if:{{{date|}}}|{{{date}}}|{{#if:{{{time|}}}|{{#time:Y年n月|{{{time}}}}}}}}}
|idx={{#switch:{{#if:{{{time|}}}|{{#time:j|{{{time}}}}}}}|1=㏠|2=㏡|3=㏢|4=㏣|5=㏤|6=㏥|7=㏦|8=㏧|9=㏨|10=㏩|11=㏪|12=㏫|13=㏬|14=㏭|15=㏮|16=㏯|17=㏰|18=㏱|19=㏲|20=㏳|21=㏴|22=㏵|23=㏶|24=㏷|25=㏸|26=㏹|27=㏺|28=㏻|29=㏼|30=㏽|31=㏾}}
}}{{Ambox/category
|cat={{{cat3|{{{category3|}}}}}}
|all={{{all3|}}}
|date={{#if:{{{date|}}}|{{{date}}}|{{#if:{{{time|}}}|{{#time:Y年n月|{{{time}}}}}}}}}
|idx={{#switch:{{#if:{{{time|}}}|{{#time:j|{{{time}}}}}}}|1=㏠|2=㏡|3=㏢|4=㏣|5=㏤|6=㏥|7=㏦|8=㏧|9=㏨|10=㏩|11=㏪|12=㏫|13=㏬|14=㏭|15=㏮|16=㏯|17=㏰|18=㏱|19=㏲|20=㏳|21=㏴|22=㏵|23=㏶|24=㏷|25=㏸|26=㏹|27=㏺|28=㏻|29=㏼|30=㏽|31=㏾}}
}}
|template={{#switch:Template:{{{name|}}}
|{{FULLPAGENAME}} = [[Category:條目訊息模板]]{{#ifexpr:{{#ifeq:{{{issue|¬}}}|¬|1|0}}+{{#ifeq:{{{fix|¬}}}|¬|1|0}}+{{#ifeq:{{{subst|¬}}}|¬|1|0}}
|[[Category:缺少參數的條目訊息模板|{{#expr:{{#ifeq:{{{issue|¬}}}|¬|1|0}}+{{#ifeq:{{{fix|¬}}}|¬|1|0}}+{{#ifeq:{{{subst|¬}}}|¬|1|0}}}}]]
}}{{#if:{{{category|}}}{{{category2|}}}{{{category3|}}}
|[[Category:缺少參數的條目訊息模板|C]]
}}
|Template: = {{#ifeq:{{BASEPAGENAME}}|{{SUBPAGENAME}}|[[Category:缺少參數的條目訊息模板]]}}
}}
}}
|{{#if:{{{name|}}}
|{{Error|模板{{tlx|{{{name}}}}}被错误地替代。}}
}}[[Category:包含被错误地替代的模板的页面]]
}}{{Ambox/{{#ifeq:{{{small}}}|left|small|core}}
|type = {{{type|}}}
|image = {{{image|}}}
|smallimage = {{#if:{{{smallimage|}}}|{{{smallimage}}}|{{{image|}}}}}
|imageright = {{{imageright|}}}
|smallimageright = {{#if:{{{smallimageright|}}}|{{{smallimageright}}}|{{{imageright|}}}}}
|class = ambox-{{#switch:{{{type|}}}
|speedy = speedy
|delete = delete
|content = content
|style = style
|move = move
|protection = protection
|notice|#default = notice
}} {{{class|}}}
|style = {{{style|}}}
|textstyle = {{{textstyle|}}}
|smalltext = {{{smalltext|}}}
|talk = {{#switch:{{{talk|¬}}}
|¬ = <!-- No talk link used -->
| = {{#ifeq:{{FULLROOTPAGENAME}}|Template:{{PAGENAME:{{{name}}}}}|#}}
|#default = {{{talk}}}
}}
|issue = -{zh;zh-hans;zh-hant{{!}}{{#switch:{{{sect|¬}}}
|¬ = <!-- No section parameter used -->
| = 本条目
|本{{{sect}}}
}}{{{issue<includeonly>|</includeonly>}}}{{{text|}}} }-
|fix = -{zh;zh-hans;zh-hant{{!}}{{{fix<includeonly>|</includeonly>}}} }-
|date = {{#switch:{{#if:{{{date|}}}|{{{date}}}|{{{time|¬}}}}}
|¬ = <!-- No date/time used -->
| = {{#ifeq:{{FULLROOTPAGENAME}}|Template:{{PAGENAME:{{{name}}}}}|{{#time:Y年n月j日}}}}
|#default = {{#if:{{{date|}}}|{{{date}}}|{{#time:Y年n月j日|{{{time}}}}}}}
}}
|info = {{{info|}}}
}}{{Category handler
|nocat={{{nocat|<noinclude>true</noinclude>}}}
|main={{Ambox/category
|cat={{{cat|{{{category|}}}}}}
|all={{{all|}}}
|date={{#if:{{{date|}}}|{{{date}}}|{{#if:{{{time|}}}|{{#time:Y年n月|{{{time}}}}}}}}}
|idx={{#switch:{{#if:{{{time|}}}|{{#time:j|{{{time}}}}}}}|1=㏠|2=㏡|3=㏢|4=㏣|5=㏤|6=㏥|7=㏦|8=㏧|9=㏨|10=㏩|11=㏪|12=㏫|13=㏬|14=㏭|15=㏮|16=㏯|17=㏰|18=㏱|19=㏲|20=㏳|21=㏴|22=㏵|23=㏶|24=㏷|25=㏸|26=㏹|27=㏺|28=㏻|29=㏼|30=㏽|31=㏾}}
}}{{Ambox/category
|cat={{{cat2|{{{category2|}}}}}}
|all={{{all2|}}}
|date={{#if:{{{date|}}}|{{{date}}}|{{#if:{{{time|}}}|{{#time:Y年n月|{{{time}}}}}}}}}
|idx={{#switch:{{#if:{{{time|}}}|{{#time:j|{{{time}}}}}}}|1=㏠|2=㏡|3=㏢|4=㏣|5=㏤|6=㏥|7=㏦|8=㏧|9=㏨|10=㏩|11=㏪|12=㏫|13=㏬|14=㏭|15=㏮|16=㏯|17=㏰|18=㏱|19=㏲|20=㏳|21=㏴|22=㏵|23=㏶|24=㏷|25=㏸|26=㏹|27=㏺|28=㏻|29=㏼|30=㏽|31=㏾}}
}}{{Ambox/category
|cat={{{cat3|{{{category3|}}}}}}
|all={{{all3|}}}
|date={{#if:{{{date|}}}|{{{date}}}|{{#if:{{{time|}}}|{{#time:Y年n月|{{{time}}}}}}}}}
|idx={{#switch:{{#if:{{{time|}}}|{{#time:j|{{{time}}}}}}}|1=㏠|2=㏡|3=㏢|4=㏣|5=㏤|6=㏥|7=㏦|8=㏧|9=㏨|10=㏩|11=㏪|12=㏫|13=㏬|14=㏭|15=㏮|16=㏯|17=㏰|18=㏱|19=㏲|20=㏳|21=㏴|22=㏵|23=㏶|24=㏷|25=㏸|26=㏹|27=㏺|28=㏻|29=㏼|30=㏽|31=㏾}}
}}
|template={{#switch:Template:{{{name|}}}
|{{FULLPAGENAME}} = [[Category:條目訊息模板]]{{#ifexpr:{{#ifeq:{{{issue|¬}}}|¬|1|0}}+{{#ifeq:{{{fix|¬}}}|¬|1|0}}+{{#ifeq:{{{subst|¬}}}|¬|1|0}}
|[[Category:缺少參數的條目訊息模板|{{#expr:{{#ifeq:{{{issue|¬}}}|¬|1|0}}+{{#ifeq:{{{fix|¬}}}|¬|1|0}}+{{#ifeq:{{{subst|¬}}}|¬|1|0}}}}]]
}}{{#if:{{{category|}}}{{{category2|}}}{{{category3|}}}
|[[Category:缺少參數的條目訊息模板|C]]
}}
|Template: = {{#ifeq:{{BASEPAGENAME}}|{{SUBPAGENAME}}|[[Category:缺少參數的條目訊息模板]]}}
}}
}}