Difference between revisions of "Template:LDS70pres/doc"

From blackwiki
Jump to navigation Jump to search
imported>NSH002
imported>Colonies Chris
 
(3 intermediate revisions by 2 users not shown)
Line 2: Line 2:
 
<!-- Categories go at the bottom of this page and interwikis go in Wikidata. -->
 
<!-- Categories go at the bottom of this page and interwikis go in Wikidata. -->
 
<!-- Categories and interwikis go at the bottom of this page. -->
 
<!-- Categories and interwikis go at the bottom of this page. -->
==Usage==
+
== Usage ==
 
+
{{ombox
 +
| image = [[File:Sandbox.png|42px|alt=|link=]]
 +
| text = A [[:Template:LDS70pres/testcases|template test case]] page and [[:Template:LDS70pres/sandbox|sandbox]] page for {{tl|LDS70pres}} are available for performing experiments.}}
 
This temple is designed to be used at the bottom of articles of those who are or where Members of the [[First Presidency (LDS Church)|First Presidency]] of [[The Church of Jesus Christ of Latter-day Saints]].
 
This temple is designed to be used at the bottom of articles of those who are or where Members of the [[First Presidency (LDS Church)|First Presidency]] of [[The Church of Jesus Christ of Latter-day Saints]].
  
Line 13: Line 15:
 
! width="1200" | Explanation
 
! width="1200" | Explanation
 
|-
 
|-
| '''current'''
 
| "'''yes'''" parameter will include a separate section on the current Presidency of the Seventy. Defaults to not shown.<br>"'''only'''" parameter will only include the '''current''' Presidency of the Seventy.
 
|-
 
 
| '''state'''
 
| '''state'''
 
| Controls when a navbox is expanded or collapsed. - choices: autocollapse, uncollapsed, collapsed, plain, off
 
| Controls when a navbox is expanded or collapsed. - choices: autocollapse, uncollapsed, collapsed, plain, off
 
:* Defaults to <code>plain</code>. A navbox with <code>plain</code> will always be expanded with no [hide] link on the right, and the title will remain centered (by using padding to offset the <small>V&nbsp;• T&nbsp;• E</small> links).
 
:* Defaults to <code>plain</code>. A navbox with <code>plain</code> will always be expanded with no [hide] link on the right, and the title will remain centered (by using padding to offset the <small>V&nbsp;• T&nbsp;• E</small> links).
 
:* For description of other choices see [[Template:Navbox/doc#Setup_parameters|Template:Navbox/parameters/state]]
 
:* For description of other choices see [[Template:Navbox/doc#Setup_parameters|Template:Navbox/parameters/state]]
|-  
+
|-
 
| '''selected'''
 
| '''selected'''
 
| Controls when a collapsible group is expanded or collapsed. - choices: current, council, presidency and senior
 
| Controls when a collapsible group is expanded or collapsed. - choices: current, council, presidency and senior
 
:* Defaults to all groups collapsed.
 
:* Defaults to all groups collapsed.
 +
|-
 +
| '''senior'''
 +
| "'''yes'''" parameter will include a separate section on '''Senior or Presiding President of the Seventy'''. Defaults to not shown.
 +
|-
 +
| '''current'''
 +
| "'''yes'''" parameter will include a separate section on the current Presidency of the Seventy. Defaults to not shown.<br>"'''only'''" parameter will only include the '''current''' Presidency of the Seventy.
 
|}
 
|}
'''''' value changes the display status of collapsible groups.  Choices include current, council (shown here), presidency and senior.
+
 
 +
 
 +
'''&nbsp;''' value changes the display status of collapsible groups.  Choices include current, council (shown here), presidency and senior.
  
 
== Examples ==
 
== Examples ==
Line 33: Line 40:
 
! width="1020" | Appearance
 
! width="1020" | Appearance
 
|-
 
|-
| rowspan="2" |<nowiki>{{LDS70pres}}</nowiki>  
+
| rowspan="2" |<nowiki>{{LDS70pres}}</nowiki>
 
| <center>'''Default'''</center>
 
| <center>'''Default'''</center>
 
|-
 
|-
 
| {{LDS70pres}}
 
| {{LDS70pres}}
 
|-
 
|-
| rowspan="2" |<nowiki>{{LDS70pres|state=expanded}}</nowiki>  
+
| rowspan="2" |<nowiki>{{LDS70pres|state=expanded}}</nowiki>
 
| <center>'''state=expanded''' expands to show all collapsible groups</center>
 
| <center>'''state=expanded''' expands to show all collapsible groups</center>
 
|-
 
|-
 
| {{LDS70pres|state=expanded}}
 
| {{LDS70pres|state=expanded}}
 
|-
 
|-
| rowspan="2" |<nowiki>{{LDS70pres|state=collapsed}}</nowiki>  
+
| rowspan="2" |<nowiki>{{LDS70pres|state=collapsed}}</nowiki>
 
| <center>'''state''' value changed status of entire Navbox</center>
 
| <center>'''state''' value changed status of entire Navbox</center>
 
|-
 
|-
Line 54: Line 61:
 
|-
 
|-
 
| {{LDS70pres|current=yes|selected=current|state=expanded}}
 
| {{LDS70pres|current=yes|selected=current|state=expanded}}
 +
|-
 +
| colspan="2" |
 +
|-
 +
| rowspan="2" |<nowiki>{{LDS70pres | senior=yes|selected=senior}}</nowiki>
 +
| <center>'''senior=yes''' parameter will include a separate section on the '''Senior or Presiding President of the Seventy'''.  When shown default is "collapsed", but is shown here as "expanded".</center>
 +
|-
 +
| {{LDS70pres|senior=yes|selected=senior|state=expanded}}
 
|-
 
|-
 
| colspan="2" |
 
| colspan="2" |
 
|-
 
|-
 
| rowspan="2" |<nowiki>{{LDS70pres |current=only|selected=current}}</nowiki>
 
| rowspan="2" |<nowiki>{{LDS70pres |current=only|selected=current}}</nowiki>
| <center>'''current=only''' parameter will '''only''' include the current Presidency of the Seventy.<br>When shown default is "collapsed", but is shown here as "expanded".
+
| <center>'''current=only''' parameter will '''only''' include the current Presidency of the Seventy.<br>When shown default is "collapsed", but is shown here as "expanded".</center>
 
|-
 
|-
 
| {{LDS70pres |current=only|selected=current|state=expanded}}
 
| {{LDS70pres |current=only|selected=current|state=expanded}}
Line 71: Line 85:
 
{{UF-hcard-person}}
 
{{UF-hcard-person}}
  
{{basepage subpage
+
{{When on basepage
 
|<!-- Add main template categories here -->
 
|<!-- Add main template categories here -->
 
[[Category:WikiProject Latter Day Saint movement LDS templates|First Presidency]]
 
[[Category:WikiProject Latter Day Saint movement LDS templates|First Presidency]]
 
}}
 
}}

Latest revision as of 08:37, 28 August 2020

Usage

This temple is designed to be used at the bottom of articles of those who are or where Members of the First Presidency of The Church of Jesus Christ of Latter-day Saints.

Parameters

This template has an optional titles and lists.

Parameter Explanation
state Controls when a navbox is expanded or collapsed. - choices: autocollapse, uncollapsed, collapsed, plain, off
  • Defaults to plain. A navbox with plain will always be expanded with no [hide] link on the right, and the title will remain centered (by using padding to offset the V • T • E links).
  • For description of other choices see Template:Navbox/parameters/state
selected Controls when a collapsible group is expanded or collapsed. - choices: current, council, presidency and senior
  • Defaults to all groups collapsed.
senior "yes" parameter will include a separate section on Senior or Presiding President of the Seventy. Defaults to not shown.
current "yes" parameter will include a separate section on the current Presidency of the Seventy. Defaults to not shown.
"only" parameter will only include the current Presidency of the Seventy.


  value changes the display status of collapsible groups. Choices include current, council (shown here), presidency and senior.

Examples

Usage Appearance
{{LDS70pres}}
Default
{{LDS70pres|state=expanded}}
state=expanded expands to show all collapsible groups
{{LDS70pres|state=collapsed}}
state value changed status of entire Navbox
{{LDS70pres | current=yes|selected=current}}
current=yes parameter will include a separate section on the current Presidency of the Seventy.
Defaults to not shown in standard template. When shown default is "collapsed", but is shown here as "expanded".
{{LDS70pres | senior=yes|selected=senior}}
senior=yes parameter will include a separate section on the Senior or Presiding President of the Seventy. When shown default is "collapsed", but is shown here as "expanded".
{{LDS70pres |current=only|selected=current}}
current=only parameter will only include the current Presidency of the Seventy.
When shown default is "collapsed", but is shown here as "expanded".
{{LDS70pres|selected=current}}
{{LDS70pres|selected=council}}*
{{LDS70pres|selected=presidency}}
{{LDS70pres|selected=senior}}


*Shown here
selected= value changes the display status of collapsible groups. Choices include current, council*, presidency and senior.

Microformat

Template:UF-hcard-person