Template:Sidebar: Difference between revisions

    叶子和他的Vtuber们
    No edit summary
    No edit summary
     
    (One intermediate revision by the same user not shown)
    Line 13: Line 13:


    | pretitleclass =  
    | pretitleclass =  
    | pretitle =  
    | pretitle = 前标题文字


    | titleclass =  
    | titleclass =  
    Line 92: Line 92:
    </pre>
    </pre>


    Note that {{section link|Wikipedia:Manual of Style/Lead section#Elements}} discourages the placement of sidebars in the lead section of articles, though they may be included on a case-by-case basis.
    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>

    Latest revision as of 11:27, 9 January 2023

    Usage

    {{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.