Template:Sidebar
Usage
标题文字 |
---|
顶部文字 |
标题1 |
内容1 |
标题2 |
内容2 |
标题3 |
内容3 |
底部文字 |
{{Sidebar | name = {{subst:PAGENAME}} | class = | wraplinks = <!-- "true" otherwise (default:) omit --> | float = | templatestyles = | child templatestyles = | grandchild templatestyles = | outertitleclass = | outertitle = | topimageclass = | topimage = | topcaption = | pretitleclass = | pretitle = | titleclass = | title = | imageclass = | image = | caption = | headingclass = | contentclass = | aboveclass = | above = | heading1 = | heading1class = | content1 = | content1class = | heading2 = | heading2class = | content2 = | content2class = | heading3 = | heading3class = | content3 = | content3class = <!-- (omitting infinite heading/content parameters) --> | belowclass = | below = | navbar = }}
Note that Wikipedia:Manual of Style/Lead section#Elements § Notes
discourages the placement of sidebars in the lead section of articles, though they may be included on a case-by-case basis.