模板:Sidebar/doc
来自希灵百科
40px | 这是 {{Sidebar}} 模板的说明文档页面。 本文档并不是为直接浏览而撰写。若是其中使用了跨维基计划链接,某些链接可能会显示损毁。请勿将这些链接替换为硬编码的页面名称或网址。 |
本模板的作用是用来制作侧边栏模板。
用法
{{{topimage}}} {{{topcaption}}} |
{{{pretitle}}} |
{{{title}}} |
---|
{{{image}}} |
{{{above}}} |
{{{heading1}}} |
{{{content1}}} |
{{{heading2}}} |
{{{content2}}} |
{{{heading3}}} |
{{{content3}}} |
................ |
{{{heading35}}} |
{{{content35}}} |
{{{below}}} |
省略不常用参数:
{{sidebar | name = {{subst:PAGENAME}} | outertitle = | topimage = | pretitle = | title = | image = | headingstyle = | contentstyle = | heading1 = | content1 = | heading2 = | content2 = | heading3 = | content3 = ... | heading35 = | content35 = }}
Full blank syntax
(omitting sections 4 to penultimate)
{{Sidebar | name = {{subst:PAGENAME}} | bodyclass = <!--or class--> | bodystyle = <!--or style--> | width = | cellspacing = | cellpadding = | outertitle = | outertitleclass = | outertitlestyle = | topimage = | topimageclass = | topimagestyle = | topcaption = | topcaptionstyle = | pretitle = | pretitleclass = | pretitlestyle = | title = | titleclass = | image = | imageclass = | imagestyle = | caption = | captionstyle = | above = | aboveclass = | abovestyle = | headingclass = | headingstyle = | contentclass = | contentstyle = | heading1style = | heading1 = | content1style = | content1 = | heading2style = | heading2 = | content2style = | content2 = | heading3style = | heading3 = | content3style = | content3 = <!--etc.--> | heading35style = | heading35 = | content35style = | content35 = | below = | belowclass = | belowstyle = | navbar = <!--or tnavbar--> | navbarstyle = <!--or tnavbarstyle--> | navbarfontstyle = <!--or tnavbarfontstyle--> | wraplinks = true/false }}