Template:Mininav: Difference between revisions

From Official Kodi Wiki
Jump to navigation Jump to search
No edit summary
No edit summary
 
(2 intermediate revisions by the same user not shown)
Line 2: Line 2:
| style="padding:2px; {{border-radius|5px 0px 0px 5px}}; background:#46494E; {{linear-gradient|top|#46494E, #343539}}" | [[File:Home icon grey.png|link=Main Page|20px]]
| style="padding:2px; {{border-radius|5px 0px 0px 5px}}; background:#46494E; {{linear-gradient|top|#46494E, #343539}}" | [[File:Home icon grey.png|link=Main Page|20px]]
|  
|  
| {{#if:{{{1|}}}|{{!!}}style="padding:2px"{{!}}{{arrow}} {{{1}}}}}{{#if:{{{2|}}}|{{!!}}style="padding:2px"{{!}}{{arrow}} {{{2}}}}}{{#if:{{{3|}}}|{{!!}}style="padding:2px"{{!}}{{arrow}} {{{3}}}}}{{#if:{{{4|}}}|{{!!}}style="padding:2px"{{!}}{{arrow}} {{{4}}}}}{{#if:{{{5|}}}|{{!!}}style="padding:2px"{{!}}{{arrow}} {{{5}}}}}{{#if:{{{6|}}}|{{!!}}style="padding:2px"{{!}}{{arrow}} {{{6}}}}}{{#if:{{{7|}}}|{{!!}}style="padding:2px"{{!}}{{arrow}} {{{7}}}}}{{#if:{{{8|}}}|{{!!}}style="padding:2px"{{!}}{{arrow}} {{{8}}}}}{{#if:{{{9|}}}|{{!!}}style="padding:2px"{{!}}{{arrow}} {{{9}}}}}{{#if:{{{10|}}}|{{!!}}style="padding:2px"{{!}}{{arrow}} {{{10}}}}} {{#if:{{{no page|}}}| | {{!!}}style="padding:2px"{{!}}{{arrow}} '''{{{page|{{SUBPAGENAME}}}}}''' }}
| {{#if:{{{1|}}}|{{!!}}style="padding:2px"{{!}}{{arrow}} {{{1}}}}}{{#if:{{{2|}}}|{{!!}}style="padding:2px"{{!}}{{arrow}} {{{2}}}}}{{#if:{{{3|}}}|{{!!}}style="padding:2px"{{!}}{{arrow}} {{{3}}}}}{{#if:{{{4|}}}|{{!!}}style="padding:2px"{{!}}{{arrow}} {{{4}}}}}{{#if:{{{5|}}}|{{!!}}style="padding:2px"{{!}}{{arrow}} {{{5}}}}}{{#if:{{{6|}}}|{{!!}}style="padding:2px"{{!}}{{arrow}} {{{6}}}}}{{#if:{{{7|}}}|{{!!}}style="padding:2px"{{!}}{{arrow}} {{{7}}}}}{{#if:{{{8|}}}|{{!!}}style="padding:2px"{{!}}{{arrow}} {{{8}}}}}{{#if:{{{9|}}}|{{!!}}style="padding:2px"{{!}}{{arrow}} {{{9}}}}}{{#if:{{{10|}}}|{{!!}}style="padding:2px"{{!}}{{arrow}} {{{10}}}}} {{#if:{{{no page|}}}| | {{!!}}style="padding:2px"{{!}}{{arrow}} '''{{{page|{{#ifeq: {{NAMESPACE}} | HOW-TO | {{FULLPAGENAME}} | {{SUBPAGENAME}} }}}}}''' }}
|}<noinclude>
|}<noinclude>
{{doc}}</noinclude>
{{doc}}</noinclude>

Latest revision as of 03:14, 5 April 2014

Home icon grey.png   ▶ Mininav
[edit] Template documentation

Manual creation of breadcrumbs. Should only be used on main XBMC manual pages to aid navigation. Some exceptions might apply. Slightly experimental.

Usage

{{mininav|Level 1|Level 2|Level 3|Level 4}}

Supports up to 10 levels

Ends the breadcrumb with the current page name. This can be manually overwritten with |page= or turned off by |no page= ("no page" does not need a value).

Examples

Example 1

{{mininav|[[Video library]]|[[Basic_controls|Navigation]]|Context menu}}


creates


Home icon grey.png   ▶ Video library ▶ Navigation ▶ Context menu ▶ Mininav

Example 2

Adding the {{l2}} (line 2) template can make a second path in the same cell, for creating more than one breadcrumb path:

{{mininav| [[Settings]] {{l2| [[Video library]] }} }}


creates


Home icon grey.png   ▶ Settings
▶ Video library
▶ Mininav