编辑“︁
Template:Infobox/testcases
”︁
跳转到导航
跳转到搜索
警告:
您没有登录。如果您进行任何编辑,您的IP地址会公开展示。如果您
登录
或
创建账号
,您的编辑会以您的用户名署名,此外还有其他益处。
反垃圾检查。
不要
加入这个!
{{Testcases notice}} == 测试 1 == {{Testcase table |name = Infobox |bodystyle = |title = 测试信息框 |titlestyle = |image = [[File:example.png|200px]] |imagestyle = |caption = Caption for example.png |captionstyle = |headerstyle = background:#ccf; |labelstyle = background:#ddf; |datastyle = |header1 = 独自定义的顶栏 |label1 = |data1 = |header2 = |label2 = 独自定义的标签 |data2 = |header3 = |label3 = |data3 = 独自定义的数据 |header4 = 三项均有定义(顶栏) <!-- |label4 = 三项均有定义(标签) |data4 = 三项均有定义(数据)--> |header5 = |label5 = 标签和数据有定义(标签) |data5 = 标签和数据有定义(数据) |belowstyle = background:#ddf; |below = 下方文本 }} == 测试 2 == {{Testcase table |name = Infobox |bodystyle = |title = 测试信息框 |titlestyle = |image = [[File:example.png|200px]] |imagestyle = |caption = Caption for example.png |captionstyle = |headerstyle = background:#ccf; |labelstyle = background:#ddf; |datastyle = |wikidataEntity = Q2 |header1 = 独自定义的顶栏 |label1 = |data1 = |header2 = |label2 = 独自定义的标签 |data2 = |header3 = |label3 = |data3 = 独自定义的数据 |header4 = 三项均有定义(顶栏) <!-- |label4 = 三项均有定义(标签) |data4 = 三项均有定义(数据) --> |header5 = |label5 = 标签和数据有定义(标签) |data5 = 标签和数据有定义(数据) |header6 = |label6 = 标签和维基数据有定义(标签) |data6 = 标签和维基数据有定义(维基数据) |wikidataProp6 = P2046 |belowstyle = background:#ddf; |below = 下方文本 }} == Test == {{testcase table|_template3=Infobox/sandbox/sandbox |name = Infobox/testcases |bodystyle = |title = The Summit Church (title) |titlestyle = |above = The Summit Church (above) |abovestyle = |summary = The Summit Church (summary) |templatestyles = Infobox/sandbox/styles.css |subheader = Subheader1 |subheader2 = Subheader2 |imagestyle = |captionstyle = |image = [[File:example.jpg|240px]] |caption1 = Caption of image1 |image2 = [[File:Example en.svg|240px]] |caption2 = Caption of image2 |headerstyle = background:#ccf; |labelstyle = background:#ddf; |datastyle = |rowclass4 = testclass |class4 = someclass |header4 = General Info |label4 = |data4 = |header5 = |label5 = Location |data5 = Raleigh-Durham, North Carolina |label6 = Country |data6 = United States |label7 = Denomination |data7 = Southern Baptist |label8 = |data8 = |label9 = Website |data9 = [http://www.summitchurch.cc/ www.summitchurch.cc] |header10= History |label10 = |data10 = |header11= |label11 = Founded |data11 = 1961 |header12= Clergy |label12 = |data12 = |label13 = Senior Pastor |data13 = J.D. Greear |belowstyle = background:#ddf; |belowclass= noprint |below = Below }} == Reference lists in strange orders == {{testcase table|_template3=Infobox/sandbox/sandbox |name = Infobox/testcases |bodystyle = |title = The Summit Church (title) |titlestyle = |above = The Summit Church (above) |abovestyle = |summary = The Summit Church (summary) |templatestyles = Infobox/sandbox/styles.css |belowstyle = background:#ddf; |belowclass= noprint |below = {{reflist|close}} |subheader = Subheader1 |subheader2 = Subheader2 |imagestyle = |captionstyle = |image = [[File:example.jpg|240px]] |caption1 = Caption of image1 |image2 = [[File:Example en.svg|240px]] |caption2 = Caption of image2 |headerstyle = background:#ccf; |labelstyle = background:#ddf; |datastyle = |header4 = General Info |label4 = |data4 = |header5 = |label5 = Location |data5 = Raleigh-Durham, North Carolina<ref>Some reference.</ref> |label6 = Country |data6 = United States |label7 = Denomination |data7 = Southern Baptist |label8 = |data8 = |label9 = Website |data9 = [http://www.summitchurch.cc/ www.summitchurch.cc] |header10= History |label10 = |data10 = |header11= |label11 = Founded |data11 = 1961 |header12= Clergy |label12 = |data12 = |label13 = Senior Pastor |data13 = J.D. Greear }} {{reflist}} == Custom width == {{testcase table|_template3=Infobox/sandbox/sandbox |bodystyle = width:20em; |name = Infobox/doc |title = Test Infobox |titlestyle = |headerstyle = |labelstyle = width:33% |datastyle = |templatestyles = Infobox/sandbox/styles.css |header1 = |label1 = Label 1 |data1 = Data 1 |header2 = |label2 = Label 2 |data2 = Data 2 |header3 = |label3 = Label 3 |data3 = Data 3 |header4 = Header 4 |label4 = |data4 = |header5 = |label5 = Label 5 |data5 = Data 5: Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. |belowstyle = |below = Below text }} == Test for child=yes == {{testcase table|_template3=Infobox/sandbox/sandbox | headerstyle = background-color:#eee; |templatestyles = Infobox/sandbox/styles.css | header1 = Main 1 | header2 = Main 2 | header3 = Main 3 {{ infobox/sandbox|child=yes|decat=yes | headerstyle = background-color:#ccc; |templatestyles = Infobox/sandbox/styles.css | header1 = Sub 3-1 | header2 = Sub 3-2 | label3 = Label 3-3 | data3 = Data 3-3 }} | header4 = Main 4 {{ infobox/sandbox|child=yes|decat=yes | labelstyle = background-color:#ccc; |templatestyles = Infobox/sandbox/styles.css | label1 = Label 4-1 | data1 = Data 4-1 }} | header5 = Main 5 }} == Sidebar with subbox == {{test case nowiki|_template3=Infobox/sandbox/sandbox|format=columns|showcode=no|<nowiki>{{sidebar | navbar = off | headingstyle = background-color:#eee; | heading1 = Heading 1 | heading2 = Heading 2 | content3 = {{Infobox|subbox=yes |templatestyles = Infobox/sandbox/styles.css | headerstyle = background-color:#ccc; | labelstyle = background-color:#ddd; | header1 = Sub 3-1 | header2 = Sub 3-2 | label3 = Label 3-3 | data3 = Data 3-3 }} | content4 = {{__TEMPLATENAME__|subbox=yes | labelstyle = background-color:#ccc; |templatestyles = Infobox/sandbox/styles.css | label1 = Label 4-1 | data1 = Data 4-1 }} | heading5 = Heading 5 }}</nowiki> }}
摘要:
请注意,所有对Local Chinese Wikipedia的贡献均可能会被其他贡献者编辑、修改或删除。如果您不希望您的文字作品被随意编辑,请不要在此提交。
您同时也向我们承诺,您提交的内容为您自己所创作,或是复制自公共领域或类似自由来源(详情请见
Project:著作权
)。
未经许可,请勿提交受著作权保护的作品!
取消
编辑帮助
(在新窗口中打开)
导航菜单
个人工具
未登录
讨论
贡献
创建账号
登录
命名空间
模板
讨论
大陆简体
不转换
简体
繁體
大陆简体
香港繁體
澳門繁體
大马简体
新加坡简体
臺灣正體
查看
阅读
编辑
查看历史
更多
搜索
导航
首页
最近更改
随机页面
MediaWiki帮助
工具
链入页面
相关更改
特殊页面
页面信息