模板:Sidebar/doc
外觀
此頁面是Template:Sidebar的模板文件。 此頁面可能包含了模板的使用說明、分類和其他內容。 |
此模板使用Lua語言: |
本模板的作用是用來製作側邊顯示的竪式導航模板。就像信息框模板一樣能在條目右邊顯示。
{{Sidebar with collapsible lists}}是帶摺疊參數的版本。
註:完整說明請見英文版。
用法
[編輯]{{{topimage}}} |
{{{pretitle}}} |
{{{title}}} |
---|
{{{image}}} |
{{{above}}} |
{{{heading1}}} |
{{{content1}}} |
{{{heading2}}} |
{{{content2}}} |
{{{heading3}}} |
{{{content3}}} |
................ |
{{{heading35}}} |
{{{content35}}} |
{{{below}}} |
省略不常用參數:
{{sidebar | name = {{subst:PAGENAME}} | outertitle = | topimage = | pretitle = | title = | posttitle = | 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 = | posttitle = | posttitleclass= | posttitlestyle= | 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 }}
參見
[編輯]