Difference between revisions of "Template:LDS70pres/doc"
Jump to navigation
Jump to search
imported>ARTEST4ECHO (Creating a template test case page and sandbox page for performing experiments.) |
imported>ShakespeareFan00 (Mismatched formatting repaired) |
||
| 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 | {{ombox | ||
| image = [[File:Sandbox.png|42px|alt=|link=]] | | image = [[File:Sandbox.png|42px|alt=|link=]] | ||
| Line 14: | Line 14: | ||
! width="160" | Parameter | ! width="160" | Parameter | ||
! width="1200" | Explanation | ! width="1200" | Explanation | ||
| − | |- | + | |- |
| '''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 • T • 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 • T • 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 | ||
| Line 28: | Line 28: | ||
|- | |- | ||
| '''current''' | | '''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. | + | | "'''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. | + | ''' ''' value changes the display status of collapsible groups. Choices include current, council (shown here), presidency and senior. |
== Examples == | == Examples == | ||
| Line 40: | 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 72: | Line 72: | ||
|- | |- | ||
| 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}} | ||
Revision as of 12:52, 18 July 2018
| This is a documentation subpage for Template:LDS70pres. It contains usage information, categories and other content that is not part of the original template page. |
Contents
Usage
| A template test case page and sandbox page for {{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 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
|
| selected | Controls when a collapsible group is expanded or collapsed. - choices: current, council, presidency and senior
|
| 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}} | |
| {{LDS70pres|state=expanded}} | |
| {{LDS70pres|state=collapsed}} | |
| {{LDS70pres | current=yes|selected=current}} | Defaults to not shown in standard template. When shown default is "collapsed", but is shown here as "expanded". |
| {{LDS70pres | senior=yes|selected=senior}} | |
| {{LDS70pres |current=only|selected=current}} | 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 |
|
Microformat