Template:Ambox:修订间差异
compatible? |
小 65個修訂: 在維基百科的「世界大典」條目已經進入存廢討論,可能會被刪除,因此上傳自此作留存 |
||
(未显示6个用户的29个中间版本) | |||
第1行: | 第1行: | ||
{{#ifeq:{{{subst}}}|SUBST | {{#ifeq:{{{subst}}}|SUBST | ||
|{{#if:{{{name|}}} | |{{#if:{{{name|}}} | ||
|{{Error| | |{{Error|模板{{tlx|{{{name}}}}}不应被替换引用。}} | ||
}}[[Category: | }}[[Category:錯誤使用替換引用的頁面]] | ||
}}{{Ambox/{{#ifeq:{{{small}}}|left|small|core}} | }}{{Ambox/{{#ifeq:{{{small}}}|left|small|core}} | ||
|type = {{{type|}}} | |type = {{{type|}}} | ||
第26行: | 第26行: | ||
|#default = {{{talk}}} | |#default = {{{talk}}} | ||
}} | }} | ||
|issue = {{#switch:{{{sect|¬}}} | |issue = {{#if:{{{textconvert|}}}||-{zh;zh-hans;zh-hant{{!}} }}{{#switch:{{{sect|¬}}} | ||
|¬ = <!-- No section parameter used --> | |¬ = <!-- No section parameter used --> | ||
| = | | = 本条目 | ||
| | |本{{{sect}}} | ||
}} {{{issue<includeonly>|</includeonly>}}} {{{text|}}} | }}{{{issue<includeonly>|</includeonly>}}}{{{text|}}}{{#if:{{{textconvert|}}}|| }- }} | ||
|fix = {{{fix<includeonly>|</includeonly>}}} | |fix = {{#if:{{{textconvert|}}}||-{zh;zh-hans;zh-hant{{!}} }}{{{fix<includeonly>|</includeonly>}}}{{#if:{{{textconvert|}}}|| }- }} | ||
|date = {{#switch:{{{date|¬}}} | |date = {{#switch:{{#if:{{{date|}}}|{{{date}}}|{{{time|¬}}}}} | ||
|¬ = <!-- No date used --> | |¬ = <!-- No date/time used --> | ||
| = {{#ifeq:{{FULLROOTPAGENAME}}|Template:{{PAGENAME:{{{name}}}}}|{{ | | = {{#ifeq:{{FULLROOTPAGENAME}}|Template:{{PAGENAME:{{{name}}}}}|{{#time:Y年n月j日}}}} | ||
|#default = {{{date}}} | |#default = {{#if:{{{date|}}}|{{{date}}}|{{#time:Y年n月j日|{{{time}}}}}}} | ||
}} | }} | ||
|info = {{{info|}}} | |info = {{{info|}}} | ||
第43行: | 第43行: | ||
|cat={{{cat|{{{category|}}}}}} | |cat={{{cat|{{{category|}}}}}} | ||
|all={{{all|}}} | |all={{{all|}}} | ||
|date={{{date|}}} | |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 | }}{{Ambox/category | ||
|cat={{{cat2|{{{category2|}}}}}} | |cat={{{cat2|{{{category2|}}}}}} | ||
|all={{{all2|}}} | |all={{{all2|}}} | ||
|date={{{date|}}} | |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 | }}{{Ambox/category | ||
|cat={{{cat3|{{{category3|}}}}}} | |cat={{{cat3|{{{category3|}}}}}} | ||
|all={{{all3|}}} | |all={{{all3|}}} | ||
|date={{{date|}}} | |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|}}} | |template={{#switch:Template:{{{name|}}} | ||
|{{FULLPAGENAME}} = [[Category: | |{{FULLPAGENAME}} = [[Category:條目訊息模板]]{{#ifexpr:{{#ifeq:{{{issue|¬}}}|¬|1|0}}+{{#ifeq:{{{fix|¬}}}|¬|1|0}}+{{#ifeq:{{{subst|¬}}}|¬|1|0}} | ||
|[[Category: | |[[Category:缺少參數的條目訊息模板|{{#expr:{{#ifeq:{{{issue|¬}}}|¬|1|0}}+{{#ifeq:{{{fix|¬}}}|¬|1|0}}+{{#ifeq:{{{subst|¬}}}|¬|1|0}}}}]] | ||
}}{{#if:{{{category|}}}{{{category2|}}}{{{category3|}}} | }}{{#if:{{{category|}}}{{{category2|}}}{{{category3|}}} | ||
|[[Category: | |[[Category:缺少參數的條目訊息模板|C]] | ||
}} | }} | ||
|Template: = {{#ifeq:{{BASEPAGENAME}}|{{SUBPAGENAME}}|[[Category: | |Template: = {{#ifeq:{{BASEPAGENAME}}|{{SUBPAGENAME}}|[[Category:缺少參數的條目訊息模板]]}} | ||
}} | }} | ||
}}<noinclude>{{Documentation}}</noinclude> | }}<noinclude> | ||
{{Documentation}} | |||
<!-- Add categories and interwikis to the /doc subpage, not here! --> | |||
</noinclude> |
2015年2月26日 (四) 13:12的最新版本
{{Ambox/core
|type = |image = |smallimage = |imageright = |smallimageright = |class = ambox-notice |style = |textstyle = |smalltext = |talk = |issue = {{#if:|| }}{{{issue}}} |fix = {{#if:|| }}{{{fix}}} |date = |info =
}}
[創建] File:Template-info.svg.png 模板文檔