Difference between revisions of "Template:Censorship"

From blackwiki
Jump to navigation Jump to search
imported>TheRealFennShysa
(Reverted 2 edits by 72.145.71.48; Too specific, parochial. (TW))
(Added pretitlestyle, removed content1style, increased title font size.)
Line 1: Line 1:
 
{{Sidebar with heading backgrounds
 
{{Sidebar with heading backgrounds
|name       = Censorship
+
|name = Censorship
|title     = [[Censorship|{{color|white|Censorship}}]]
+
|title = [[Censorship|{{color|white|Censorship}}]]
|titlestyle = background:#78866B; color:white;
+
|titlestyle = background:#78866B; color:white; font-size:150%;
 
|pretitle = Part of a series on
 
|pretitle = Part of a series on
|image     =  
+
|pretitlestyle = padding-bottom:0.2em;
 +
|image =  
 
|headingstyle = background:#78866B; color:white;
 
|headingstyle = background:#78866B; color:white;
  
 
|heading1 = By media
 
|heading1 = By media
|content1style = padding-bottom:0;
 
 
|content1 = [[List of books banned by governments|Banned books]]{{·}} [[List of banned films|Banned films]]<br/> [[Re-edited film]]{{·}}[[Internet censorship|Internet]]{{·}} [[Censorship of music|Music]]<br/> [[Freedom of the press|Press]]{{·}} [[Radio jamming|Radio]]{{·}} [[Freedom of thought|Thought]]<br/> [[Freedom of speech|Speech and expression]]<br/> [[List of banned video games|Video games]]
 
|content1 = [[List of books banned by governments|Banned books]]{{·}} [[List of banned films|Banned films]]<br/> [[Re-edited film]]{{·}}[[Internet censorship|Internet]]{{·}} [[Censorship of music|Music]]<br/> [[Freedom of the press|Press]]{{·}} [[Radio jamming|Radio]]{{·}} [[Freedom of thought|Thought]]<br/> [[Freedom of speech|Speech and expression]]<br/> [[List of banned video games|Video games]]
  

Revision as of 02:28, 11 June 2010

Template:Sidebar with heading backgrounds

Template documentation[view] [edit] [history] [purge]

Initial visibility: currently defaults to autocollapse

To set this template's initial visibility, the |state= parameter may be used:

  • |state=collapsed: {{Censorship|state=collapsed}} to show the template collapsed, i.e., hidden apart from its title bar
  • |state=expanded: {{Censorship|state=expanded}} to show the template expanded, i.e., fully visible
  • |state=autocollapse: {{Censorship|state=autocollapse}}
    • shows the template collapsed to the title bar if there is a {{navbar}}, a {{sidebar}}, or some other table on the page with the collapsible attribute
    • shows the template in its expanded state if there are no other collapsible items on the page

If the |state= parameter in the template on this page is not set, the template's initial visibility is taken from the |default= parameter in the Collapsible option template. For the template on this page, that currently evaluates to autocollapse.