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

From blackwiki
Jump to navigation Jump to search
imported>DixonDBot
m (Migrating 19 interwiki links, now provided by Wikidata on d:Q5881848)
imported>Sardanaphalus
({{Christianity}}, updated collapsible-lists explanation, clear right, template parameter)
Line 1: Line 1:
{{Documentation subpage}}
+
{{Documentation subpage}} {{Christianity}}
<!-- PLEASE ADD CATEGORIES AND INTERWIKIS AT THE BOTTOM OF THIS PAGE -->
+
<!----PLEASE ADD CATEGORIES WHERE INDICATED AT THE BOTTOM OF THIS PAGE---->
 
 
 
== Usage ==
 
== Usage ==
To add this navigation template to an article with the normal contents visible, simply use:
 
<pre>
 
{{Christianity}}
 
</pre>
 
  
To display the detailed sections on denominations, use the following parameters:
+
<!-- {{Collapsible lists option |listnames=Jesus, foundations, theology, history, related, groupings |default=all}} -->
<pre>
+
To add this template to an article, use {{code|{{braces|Christianity}}}}. It will then appear in the article as shown opposite.
{{Christianity
 
  |expand-western=
 
  |expand-eastern=
 
  |expand-nontrinitarian=  
 
}}
 
</pre>
 
Each of the above, if used (ie. set to 1, or yes, or anything else), will expand the appropriate section.
 
  
To display an [[ichthys]] instead of the cross next to the Christianity portal link, use the 'no-cross' parameter:
+
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:
<pre>
+
* with only its Denominations/Groups section already revealed, use {{nowrap|{{code|{{braces|Christianity {{!}}groupings}}}}}};
{{Christianity
+
* with none of its sections revealed&nbsp;– i.e. at its most compact&nbsp;– use {{nowrap|{{code|{{braces|Christianity {{!}}collapsed}}}}}}.
  |no-cross=
 
}}
 
</pre>
 
  
For a minimal presentation, use:
+
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 &thinsp;{{para|portalicon|ichthys}}&thinsp; (i.e. {{nowrap|{{code|{{braces|Christianity {{!}}portalicon{{=}}ichthys}}}}}}, or, if &thinsp;{{code|{{!}}groupings}}&thinsp; is also set, {{code|{{braces|Christianity {{!}}groupings {{!}}portalicon{{=}}ichthys}}}}&thinsp;).
<pre>
 
{{Christianity|state=collapsed}}
 
</pre>
 
  
The last version presents only a small box with a "show" button to expand the content. This is suitable for articles that look cluttered or where there is only a short section on Christianity, e.g. [[:God the Father]].
+
{{clear right}}
  
 
+
== See also ==
{{Judeo-Christian navboxes|options=no}}
+
{{Judeo-Christian navboxes |collapsed |options=no}}
  
 
<includeonly>{{#ifeq:{{SUBPAGENAME}}|sandbox | |
 
<includeonly>{{#ifeq:{{SUBPAGENAME}}|sandbox | |
<!-- CATEGORIES AND INTERWIKIS HERE, THANKS -->
+
<!-----------------------------------------------
 +
  CATEGORIES BELOW HERE, PLEASE:
 +
------------------------------------------------>
 
[[Category:Christian navigational boxes]]
 
[[Category:Christian navigational boxes]]
 
[[Category:Christian denominations navigational boxes]]
 
[[Category:Christian denominations navigational boxes]]
 
[[Category:"Part of a series on" templates|Christianity]]
 
[[Category:"Part of a series on" templates|Christianity]]
[[Category:sidebar templates]]
+
[[Category:Sidebar templates]]
 
[[Category:WikiProject Christianity templates| ]]
 
[[Category:WikiProject Christianity templates| ]]
 
+
}}
}}<!--(end #ifeq:{{SUBPAGENAME}} )-->
 
 
</includeonly>
 
</includeonly>

Revision as of 00:29, 24 May 2014

Usage

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

This template uses {{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:

  • with only its Denominations/Groups section already revealed, use {{Christianity |groupings}};
  • with none of its sections revealed – i.e. at its most compact – use {{Christianity |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  |portalicon=ichthys  (i.e. {{Christianity |portalicon=ichthys}}, or, if  |groupings  is also set, {{Christianity |groupings |portalicon=ichthys}} ).

See also