更改
跳转至:
导航
、
搜索
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