Template:Sidebar: Difference between revisions
No edit summary |
No edit summary |
||
Line 92: | Line 92: | ||
</pre> | </pre> | ||
Note that | Note that we discourages the placement of sidebars in the lead section of articles, though they may be included on a case-by-case basis. | ||
</noinclude> | </noinclude> |
Revision as of 11:10, 9 January 2023
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 we discourages the placement of sidebars in the lead section of articles, though they may be included on a case-by-case basis.