For faster navigation, this Iframe is preloading the Wikiwand page for 模板:Asbox.

模板:Asbox

文档图示 模板文档[查看] [编辑] [历史] [清除缓存]
信息框元模板
模板背景
((Ambox))条目
((Cmbox))分类
((Imbox))图片
((Tmbox))讨论
((Fmbox))页脚/标题
((Ombox))其他页面
((Mbox))自动侦测
((Asbox))小作品
((Dmbox))消歧义

这是所有小作品模板的元模板,用于为所有小作品标签创建规范标准。使用此模板,任何人都可以创建小作品模板。参见Wikipedia:小作品分类专题

基本用法

(( asbox
| image     = 
| subject   = 
| qualifier = 
| category  = 
| name = 
))
  • image参数:输入图像文件名,如Wiki.png。自动调节为40*30px。
  • 以下两个参数只能选用一个:
    • subject参数:“条目”之前的定语。如输入“维基百科”,会显示“这是一篇维基百科小作品,……”
    • qualifier参数:“条目”之后的补充说明。如输入“与维基百科相关”,会显示“这是一篇与维基百科相关的小作品,……”
  • category参数:输入对条目的分类。如输入“动物小作品”,即可自动将条目加入分类动物小作品。在参数中无需输入“Category:”前缀。
  • name参数:输入模板名称,此参数里的内容最好能与模板名称一致。如模板名称为“Template:Geo-stub”,则在此输入“Template:Geo-stub”。

完整用法

((asbox
| image     =
| imagealt  =
| pix       = 
| subject   = 
| qualifier = 
| category  = 
| category1 = 
| note      = 
| name      = ((subst:FULLPAGENAME))
))

参数列表

imagepiximagealt

  • image:输入图像文件名,不要带[[File:前缀,默认为空。
  • pix:输入图像大小,默认为40x30。
  • imagealt:输入图片悬浮提示信息,默认为“小作品图标”。

subjectqualifier

范例:

  • subject输入“动物学”:这是一篇动物学小作品,……
  • qualifier输入“与动物相关”:这是一篇与动物相关的小作品,……

category

输入自动将条目加入的分类,不需要[[Category:前缀。对于多个分类,使用category1和category2参数。

note

输入一段附加说明文字,会显示在小作品模板的下一行。

范例

以((Template:Surname-stub))为范例:

((Asbox
| image = Surname-stub.png
| pix = 25
| qualifier = 与[[姓]][[氏]]相关
| name = Template:Surname-stub
| category = 姓氏小作品
| tempsort = *
))
显示效果:


相关内容

{{bottomLinkPreText}} {{bottomLinkText}}
模板:Asbox
Listen to this article

This browser is not supported by Wikiwand :(
Wikiwand requires a browser with modern capabilities in order to provide you with the best reading experience.
Please download and use one of the following browsers:

This article was just edited, click to reload
This article has been deleted on Wikipedia (Why?)

Back to homepage

Please click Add in the dialog above
Please click Allow in the top-left corner,
then click Install Now in the dialog
Please click Open in the download dialog,
then click Install
Please click the "Downloads" icon in the Safari toolbar, open the first download in the list,
then click Install
{{::$root.activation.text}}

Install Wikiwand

Install on Chrome Install on Firefox
Don't forget to rate us

Tell your friends about Wikiwand!

Gmail Facebook Twitter Link

Enjoying Wikiwand?

Tell your friends and spread the love:
Share on Gmail Share on Facebook Share on Twitter Share on Buffer

Our magic isn't perfect

You can help our automatic cover photo selection by reporting an unsuitable photo.

This photo is visually disturbing This photo is not a good choice

Thank you for helping!


Your input will affect cover photo selection, along with input from other users.

X

Get ready for Wikiwand 2.0 🎉! the new version arrives on September 1st! Don't want to wait?