Difference between revisions of "Module:Navigation templates"
Jump to navigation
Jump to search
Module documentation[create]
test>WOSlinker m (be consistent with t1 & tl) |
m (164 revisions imported) |
||
| (46 intermediate revisions by 42 users not shown) | |||
| Line 1: | Line 1: | ||
| − | {| class="wikitable" style="margin-left:auto; margin-right:auto; width:auto; text-align:center; font-size:90%;" | + | {| class="wikitable hlist" style="margin-left: auto; margin-right: auto; width: auto; text-align: center; font-size: 90%;" |
| − | |+ <span style="font-size:130%;">Navigation templates comparison</span> | + | |+ <span style="font-size: 130%;">Navigation templates comparison</span> |
| − | |- style="line-height:10pt;" | + | |- style="line-height: 10pt;" |
| − | !style="text-align:left; padding-left:4px;"| {{Navbar|Navigation templates|plain=1}} | + | ! style="text-align: left; padding-left: 4px; font-size: 111%;" | {{Navbar|Navigation templates|plain=1}} |
| − | ! | + | ! Collapsible !! Header color |
| − | ! Image !! Groups !! Style (body)<br/>parameter/s !! Examples | + | ! Image !! Groups !! Style (body) <br /> parameter/s !! Examples |
|- | |- | ||
| − | |style="text-align:left;"| {{tl|Navbox}} | + | | style="text-align: left;" | {{tl|Navbox}} |
| − | | | + | | collapsible || style="background: #ccf;" | navbox |
| − | | | + | | Left/right of body || Yes || Yes || |
| + | * {{tl|Solar System}} | ||
| + | * {{tl|Governance of Greater London}} | ||
|- | |- | ||
| − | |style="text-align:left;"| {{tl|Navbox with | + | | style="text-align: left;" | {{tl|Navbox with collapsible groups}} |
| − | | | + | | collapsible || style="background: #ccf;" | navbox |
| − | | | + | | Left/right of body and/or in each list || Yes || Yes || |
| + | * {{tl|Tetrapodomorpha|state=collapsed}} | ||
|- | |- | ||
| − | + | | style="text-align: left;" | {{tl|Navbox with columns}} | |
| − | + | | collapsible || style="background: #ccf;" | navbox | |
| − | + | | Left/right of columns || No || Yes || | |
| − | + | * {{tl|Current U.S. Senators}} | |
| − | |style="text-align:left;"| {{tl|Navbox with | + | * {{tl|Historical regions of the Czech Republic}} |
| − | | | ||
| − | | | ||
|} | |} | ||
| − | {| class="wikitable" style="margin-left:auto; margin-right:auto; width:auto; text-align:center; font-size:90%;" | + | {| class="wikitable" style="margin-left: auto; margin-right: auto; width: auto; text-align: center; font-size: 90%;" |
| − | |+ <span style="font-size:130%;">Collapsible attributes</span> | + | |+ <span style="font-size: 130%;">Collapsible attributes</span> |
| − | |- style="line-height:10pt;" | + | |- style="line-height: 10pt;" |
| − | ! | + | ! Type !! CSS classes !! JavaScript !! Collapses when !! Custom <br /> initial state !! Nesting |
|- | |- | ||
| − | | | + | | style="text-align:left;" | [[Help:Collapsing|Collapsible tables]] |
| collapsible | | collapsible | ||
| Defined in [[MediaWiki:Common.js|Common.js]] | | Defined in [[MediaWiki:Common.js|Common.js]] | ||
| − | | 2 or more autocollapse on page || | + | | 2 or more autocollapse on page || Yes || Yes |
|}<noinclude> | |}<noinclude> | ||
| − | + | {{documentation}} | |
| − | + | [[Category:Navigational boxes|Δ]] | |
| − | + | [[Category:Documentation shared content templates]] | |
| − | + | {{convert to use Navbox}}</noinclude> | |
| − | [[ | ||
| − | [[ | ||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | </noinclude> | ||
Latest revision as of 10:25, 5 September 2020
| Collapsible | Header color | Image | Groups | Style (body) parameter/s |
Examples | |
|---|---|---|---|---|---|---|
| {{Navbox}} | collapsible | navbox | Left/right of body | Yes | Yes | |
| {{Navbox with collapsible groups}} | collapsible | navbox | Left/right of body and/or in each list | Yes | Yes |
|
| {{Navbox with columns}} | collapsible | navbox | Left/right of columns | No | Yes |
| Type | CSS classes | JavaScript | Collapses when | Custom initial state |
Nesting |
|---|---|---|---|---|---|
| Collapsible tables | collapsible | Defined in Common.js | 2 or more autocollapse on page | Yes | Yes |
| You might want to create a documentation page for this Scribunto module. Editors can experiment in this module's sandbox (create | mirror) and testcases (create) pages. Please add categories to the /doc subpage. Subpages of this module. |
| This template should be converted to a standardized format using Template:Navbox. (Talk • Category) |