變更
前往:
導覽
、
搜尋
Template:Ambox
已移除 2,515 位元組
,
11 年前
無編輯摘要
{{#ifeq:{{{subst}}}|SUBST
|{{#if:{{{name|}}}
|{{Error|模板{{tlx|{{{name}}}}}被错误地替代。}}
}}[[Category:包含被错误地替代的模板的页面]]
}}{{Ambox/{{#ifeq:{{{small}}}|left|small|core}}
|type
<includeonly><table style
=
{{{type|}}}
|image = {{{image|}}}
|smallimage = {{#if
"border-style
:
{{{smallimage|}}}|{{{smallimage}}}|{{{image|}}}}}
|imageright = {{{imageright|}}}
|smallimageright = {{#if
solid; border-width
:
{{{smallimageright|}}}|{{{smallimageright}}}|{{{imageright|}}}}}
|class = ambox
1px 1px 1px 10px; border
-
{{#switch
color
:
grey grey grey
{{{
type
bdcolor
|
grey
}}}
|speedy = speedy
|delete = delete
|content = content
|style = style
|move = move
|protection = protection
|notice|#default = notice
}} {{{class|}}}
|style = {{{style|}}}
|textstyle = {{{textstyle|}}}
|smalltext = {{{smalltext|}}}
|talk = {{#switch
; width: 90%; margin
:
{{{talk|¬}}}
0px 5%;">
|¬ =
<
!-- No talk link used --
tr
>
|
<th rowspan="2" style
=
{{#ifeq
"width
:
{{FULLROOTPAGENAME}}|Template
24px; height
:
{{PAGENAME
24px; padding
:
{{{name}}}}}|#}}
|#default = {{{talk}}}
}}
|issue = {{#switch
2px 10px 2px 10px">[[Image
:{{{
sect|¬
img
}}}
|
¬ =
24px]]
<
!-- No section parameter used --
/th
>
| = 本条目
|本{{{sect}}}
}}{{{issue
<
includeonly
td
>
|
<
/includeonly
div style="font-size:18px; font-weight:bold; padding: 5px 0px 0px 0px"
>
}}}
{{{
text|
title
}}}
|fix = {{{fix
<
includeonly
/div
>
|
</
includeonly
td
>
}}}
|date = {{#switch:{{#if:{{{date|}}}|{{{date}}}|{{{time|¬}}}}}
|¬ =
<
!-- No date
/
time used --
tr
>
| = {{#ifeq:{{FULLROOTPAGENAME}}|Template:{{PAGENAME:{{{name}}}}}|{{#time:Y年n月j日}}}}
<tr>
|#default
<td><div style
=
{{#if
"font-family
:
sans;">
{{{
date|}}}|{{{date}}}|{{#time:Y年n月j日|{{{time}}}}}}}
}}
|info = {{{info|
content
}}}
}}{{Category Handler
|nocat={{{nocat|
<
noinclude
/div
>
true
</
noinclude
td
>
}}}
|main={{Ambox
<
/
category
tr>
|cat={{{cat|{{{category|}}}}}}
</table>
|all={{{all|}}}
</includeonly>
|date={{#if:{{{date|}}}|{{{date}}}|{{#if:{{{time|}}}|{{#time:Y年n月|{{{time}}}}}}}}}
<noinclude>
|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=㏾}}
}}
<nowiki>
{{Ambox
/category
|
cat
img
=
{{{cat2|{{{category2|}}}}}}
在消息框左边显示的Wiki内图片文件名(必须)
|
all
title
=
{{{all2|}}}
大字标题(必须)
|
date
content
=
{{#if:{{{date|}}}|{{{date}}}|{{#if:{{{time|}}}|{{#time:Y年n月|{{{time}}}}}}}}}
小字正文(必须)
|
idx
bdcolor
=
{{#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=㏾}}
左边框粗线条颜色(可选,默认为“grey”)
}}
{{Ambox
<
/
category
nowiki>
|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|}}}
Ambox
|
{{FULLPAGENAME}}
img
= [[
Category
文件
:
條目訊息模板
Yanggen1.jpg
]]
{{#ifexpr:{{#ifeq:{{{issue|¬}}}|¬|1|0}}+{{#ifeq:{{{fix|¬}}}|¬|1|0}}+{{#ifeq:{{{subst|¬}}}|¬|1|0}}
|
[[Category:缺少參數
title= 我是可爱
的
條目訊息模板|{{#expr:{{#ifeq:{{{issue|¬}}}|¬|1|0}}+{{#ifeq:{{{fix|¬}}}|¬|1|0}}+{{#ifeq:{{{subst|¬}}}|¬|1|0}}}}]]
标题
}}{{#if:{{{category
|
}}}{{{category2|}}}{{{category3|}}}
content= StephDC技术宅拯救世界
|
[[Category:缺少參數的條目訊息模板|C]]
}}
|Template:
bdcolor
=
{{#ifeq:{{BASEPAGENAME}}|{{SUBPAGENAME}}|[[Category:缺少參數的條目訊息模板]]}}
}}
red
}}
</noinclude>
← 較舊編輯
較新編輯 →
StephDC
使用者查核員
、
管理員
542
次編輯
導覽選單
個人工具
中文(台灣)
尚未登入
對話
貢獻
建立帳號
登入
命名空間
模板
討論
台灣正體
不转换
简体
繁體
大陆简体
香港繁體
澳門繁體
大马简体
新加坡简体
台灣正體
檢視
閱讀
編輯
檢視歷史
更多
搜尋
導覽
首頁
社群入口
新聞動態
近期變更
隨機頁面
說明
工具
特殊頁面
可列印版
Warning
: Parameter 1 to TranslateToolbox::toolboxAllTranslations() expected to be a reference, value given in
/flex/storage/hanfucw.org/site/wiki/w/includes/Hooks.php
on line
186