Difference between revisions of "Template:LGBT/doc"

From blackwiki
Jump to navigation Jump to search
imported>Hiplibrarianship
(→‎Settings: reflecting (logical) change to template)
imported>Hiplibrarianship
(→‎Settings: oops, just killed "main" parameter, changing example to reflect)
Line 18: Line 18:
 
*<code><nowiki>{{LGBT |selected=social}}</nowiki></code>
 
*<code><nowiki>{{LGBT |selected=social}}</nowiki></code>
  
These settings can also be used in combination. For example, <code><nowiki>{{LGBT |state=collapsed |selected=main}}</nowiki></code>  
+
These settings can also be used in combination. For example, <code><nowiki>{{LGBT |state=uncollapsed |selected=history}}</nowiki></code>  
  
 
<includeonly>
 
<includeonly>

Revision as of 21:52, 30 June 2011

Settings

This template uses {{Navbox with collapsible groups}} and can be customized to display differently in any article where it is added.

  • {{LGBT |state=collapsed}} renders this template in its collapsed (hidden) state
  • {{LGBT |state=uncollapsed}} renders this template in its expanded (sections visible) state
  • {{LGBT |state=autocollapse}} renders this template in its collapsed (hidden) state when other templates are on a page

In addition, each of the seven sections can be expanded, based on the article where the template is being used.

  • {{LGBT |selected=academy}}
  • {{LGBT |selected=culture}}
  • {{LGBT |selected=identities}}
  • {{LGBT |selected=history}}
  • {{LGBT |selected=rights}}
  • {{LGBT |selected=orientation}}
  • {{LGBT |selected=social}}

These settings can also be used in combination. For example, {{LGBT |state=uncollapsed |selected=history}}