Jump to content

User:JordanMussi/sandbox/Template:Internet forum/doc

From Wikipedia, the free encyclopedia

This Navbox should be used at the bottom of articles relating to Internet forums to aid in navigation between related articles.

Usage

[edit]

Expanded navbox

[edit]

Use the following for an expanded navbox:

{{Internet forum}}

Use the following for a collapsed navbox:

{{Internet forum|state=collapsed}}

This template's initial visibility currently defaults to expanded, meaning that it is fully visible.

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

  • {{JordanMussi/sandbox/Template:Internet forum/doc|state=collapsed}} will show the template collapsed, i.e. hidden apart from its title bar.
  • {{JordanMussi/sandbox/Template:Internet forum/doc|state=autocollapse}} will show the template autocollapsed, i.e. if there is another collapsible item on the page (a navbox, sidebar, or table with the collapsible attribute), it is hidden apart from its title bar, but if not, it is fully visible.

Expanded section

[edit]

For one section to be expanded e.g. when used on an article about a piece of Internet forum software use:

{{Internet forum|software}}
How to manage this template's collapsible groups/sections option
  • This template includes collapsible groups/sections. When it first appears, one of these groups/sections may be set to be visible ("expanded") while the others remain hidden ("collapsed") apart from their titlebars. To achieve this, include the parameter |name where name is one of the following words that identify the groups/sections (omit any speech or quotation marks):
    • software
    • hosting
  • For example: {{JordanMussi/sandbox/Template:Internet forum/doc |software}}