Template:Justapedia essays/doc

From Justapedia, unleashing the power of collective wisdom
Jump to navigation Jump to search

Usage

Work in progress; comments welcome

Opening a single subsection

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):
    • building
    • civility
    • notability
    • humour

Example of the syntax to show (uncollapse) any of the subsections:

  • {{Justapedia essays|building}}
  • {{Justapedia essays|civility}}
  • {{Justapedia essays|notability}}
  • {{Justapedia essays|humour}}

For example, {{Justapedia essays|notability}} will produce:

Opening multiple subsections

To show multiple, or all of, the subsections at once, use staten, e.g.:

  • {{Justapedia essays|state=expanded|state1=collapsed|state2=collapsed|state3=expanded|state4=collapsed|state5=collapsed}}

Parameter state controls the entire template; state1 controls the building essays; state2 controls the civility essays; state3 controls the notability essays; state4 controls the humour essays; state5 controls the 'About essays' section. These can be set to expanded or collapsed. The above example will produce this:

See also