Jump to content

Template:Africa templates/doc

From Humanipedia
Revision as of 15:12, 3 May 2023 by wikipedia>Andrybak (Examples: fix code samples)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

Lua error in package.lua at line 80: module 'Module:Yesno' not found.

Parameters

This template's initial visibility currently defaults to autocollapse, meaning that 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; if not, it is fully visible.

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

  • <syntaxhighlight lang="wikitext" inline="1">{{Africa templates|state=collapsed}}</syntaxhighlight> will show the template collapsed, i.e. hidden apart from its title bar.
  • <syntaxhighlight lang="wikitext" inline="1">{{Africa templates|state=expanded}}</syntaxhighlight> will show the template expanded, i.e. fully visible.

Suffix

|suffix=
parameter can be used to replace the word "suffix" in the name of the categories. E.g. |suffix=navigational boxes or |suffix=sidebar templates

Examples

Navboxes

{{Africa templates|state=expanded|suffix=navigational boxes}}

Sidebars

{{Africa templates|state=expanded|suffix=sidebar templates}}