Difference between revisions of "Template:Christianity sidebar/doc"

From blackwiki
Jump to navigation Jump to search
imported>Funandtrvl
(update links)
imported>Funandtrvl
(update /doc)
Line 1: Line 1:
 
{{Documentation subpage}}
 
{{Documentation subpage}}
{{Christianity}}
+
{{Christianity sidebar}}
 
<!----PLEASE ADD CATEGORIES WHERE INDICATED AT THE BOTTOM OF THIS PAGE---->
 
<!----PLEASE ADD CATEGORIES WHERE INDICATED AT THE BOTTOM OF THIS PAGE---->
  
 
== Usage ==
 
== Usage ==
<!-- {{Collapsible lists option |listnames=Jesus, foundations, theology, history, related, groupings |default=all}} -->
 
 
To add this template to an article, use {{tlc|Christianity sidebar}}. It will then appear in the article as shown opposite.
 
To add this template to an article, use {{tlc|Christianity sidebar}}. It will then appear in the article as shown opposite.
  
This template uses {{tl|collapsible list}}s, i.e. sections (lists) that may be hidden ("collapsed") or revealed using the [hide/show] links on the righthand sides of the sections' headings. To set the template to appear:
+
{{Collapsible lists option |listnames=Jesus, foundations, theology, history, groupings, related|default=}}
* with only its Denominations/Groups section already revealed, use {{nowrap|{{tlc|Christianity sidebar|expanded{{=}}groupings}}}};
 
* with none of its sections revealed&nbsp;– i.e. at its most compact&nbsp;– use {{nowrap|{{tlc|Christianity sidebar|collapsed}}}}.
 
  
 
The cross icon next to the portal link at the bottom of the template may be replaced with an [[ichthys]] (Christian fish) icon by adding the parameter {{para|portalicon|ichthys}} (i.e. {{nowrap|{{tlc|Christianity sidebar|2=portalicon=ichthys}}}}, or, if {{para||groupings}} is also set, {{tlc|Christianity sidebar|groupings|3=portalicon=ichthys}}&thinsp;).
 
The cross icon next to the portal link at the bottom of the template may be replaced with an [[ichthys]] (Christian fish) icon by adding the parameter {{para|portalicon|ichthys}} (i.e. {{nowrap|{{tlc|Christianity sidebar|2=portalicon=ichthys}}}}, or, if {{para||groupings}} is also set, {{tlc|Christianity sidebar|groupings|3=portalicon=ichthys}}&thinsp;).

Revision as of 19:18, 14 July 2020

Usage

To add this template to an article, use {{Christianity sidebar}}. It will then appear in the article as shown opposite.

This template includes collapsible lists.

  • To set it to display all lists when it appears (i.e. all lists expanded), use:
  •  {{Christianity sidebar |expanded=all}} or, if enabled, {{Christianity sidebar |all}}  (i.e. omitting "expanded=").
  • To set it to display one particular list while keeping the remainder collapsed (i.e. hidden apart from their headings), use:
  •  {{Christianity sidebar |expanded=listname}} or, if enabled, {{Christianity sidebar |listname}}
  • …where listname is one of the following (do not include any quotemarks):
  • Jesus, foundations, theology, history, groupings, related

The cross icon next to the portal link at the bottom of the template may be replaced with an ichthys (Christian fish) icon by adding the parameter |portalicon=ichthys (i.e. {{Christianity sidebar|portalicon=ichthys}}, or, if |groupings is also set, {{Christianity sidebar|groupings|portalicon=ichthys}} ).

See also