Jump to content
 







Main menu
   


Navigation  



Main page
Contents
Current events
Random article
About Wikipedia
Contact us
Donate
 




Contribute  



Help
Learn to edit
Community portal
Recent changes
Upload file
 








Search  

































Create account

Log in
 









Create account
 Log in
 




Pages for logged out editors learn more  



Contributions
Talk
 



















Contents

   



(Top)
 


1 Usage  





2 Fields  





3 Examples  



3.1  Without top/bottom  





3.2  With top/bottom  





3.3  With columns  





3.4  With color and other column widths  





3.5  With color and constrained width  
















Template:Endorsements box






Cebuano
فارسی
Bahasa Indonesia

Simple English


 

Edit links
 









Template
Talk
 

















Read
View source
View history
 








Tools
   


Actions  



Read
View source
View history
 




General  



What links here
Related changes
Upload file
Special pages
Permanent link
Page information
Get shortened URL
Download QR code
Wikidata item
 




Print/export  



Download as PDF
Printable version
 
















Appearance
   

 





Permanently protected template

From Wikipedia, the free encyclopedia
 


List of political endorsements

{{{list}}}

Sophie Kandidatin
  • Women In Power[2]
  • International Pipefitters Union[3]
  • Young Social Green Democrats of Idaho[4]

  • Usage

    This template outputs a framed box with table-like background coloring for use in listing political endorsements. The kind of listing, e.g. bulleted lists, numbered lists, etc., (and, in fact, all of the content) is up to the editor's discretion, although bullet lists are presumed to be the preferred format. Images, prose text, wikiheadings, etc., are all technically supported, but users should keep community usage consensus in mind when filling the list parameter. In particular, <small></small> and {{small}} should not be used, per MOS:SMALL, as the template outputs text at 88% of the base font size, so it's already rather, well, small.

    All field names used must be in lowercase.

    You can copy a blank version to use. Remember to use the "|" (pipe) character between each field. Please delete any unused fields to avoid clutter in the edit window.

    The template has the following syntax:

    This template can cause pages to exceed the Post-expand include size when it is used in large quantities on a page. To mitigate this, you should use the top/bottom notation rather than |list=.

    Fields

    All parameters are optional, although when used without list or the "top" option, the template is rather silly and produces either an empty box or merely {{{list}}}.

    Examples

    Without top/bottom

    {{Endorsements box
    | title = Example without columns
    | list =
    * Item 1
    * Item 2
    }}
    
    Example without columns
    • Item 1
  • Item 2
  • With top/bottom

    {{Endorsements box|top
    | title = Example without columns}}
    * Item 1
    * Item 2
    {{Endorsements box|bottom}}
    
    Example without columns
    • Item 1
  • Item 2
  • With columns

    Any value in the |columns= parameter will create a list with column widths of 20em (although the |colwidth= parameter can override this).

    {{Endorsements box
    | title = Example with columns
    | columns = yes
    | list =
    * Item 1
    * Item 2
    * Item 3
    * Item 4
    }}
    
    Example with columns
    • Item 1
  • Item 2
  • Item 3
  • Item 4
  • With color and other column widths

    A color can be set for the title bar text (ordinarily the candidate's name). The |colwidth= parameter causes columns to be used at the specified width.

    {{Endorsements box
    | title = Example with color and wider columns
    | color = darkorange
    | colwidth = 29em
    | list =
    * Item 1
    * Item 2
    * Item 3
    * Item 4
    }}
    
    Example with color and wider columns
    • Item 1
  • Item 2
  • Item 3
  • Item 4
  • With color and constrained width

    A color can be set for the title bar text (ordinarily the candidate's name). The |colwidth= parameter causes columns to be used at the specified width.

    {{Endorsements box
    | title = Example with color and constrained width
    | color = #3366CC
    | width = 40%
    | list =
    * Item 1
    * Item 2
    * Item 3
    * Item 4
    }}
    
    Example with color and constrained width
    • Item 1
  • Item 2
  • Item 3
  • Item 4

  • References

  • ^ "Sophie gains Pipefitters"
  • ^ "YSGDoI supporting SK"


  • Retrieved from "https://en.wikipedia.org/w/index.php?title=Template:Endorsements_box&oldid=1236304632"

    Categories: 
    Templates using TemplateStyles
    Collapse templates
    Hidden category: 
    Wikipedia semi-protected templates
     



    This page was last edited on 24 July 2024, at 00:07 (UTC).

    Text is available under the Creative Commons Attribution-ShareAlike License 4.0; additional terms may apply. By using this site, you agree to the Terms of Use and Privacy Policy. Wikipedia® is a registered trademark of the Wikimedia Foundation, Inc., a non-profit organization.



    Privacy policy

    About Wikipedia

    Disclaimers

    Contact Wikipedia

    Code of Conduct

    Developers

    Statistics

    Cookie statement

    Mobile view



    Wikimedia Foundation
    Powered by MediaWiki