Template:Mininav: Difference between revisions

From Official Kodi Wiki
Jump to navigation Jump to search
No edit summary
No edit summary
Line 2: Line 2:
| style="padding:7px; {{border-radius|5px 0px 0px 5px}}; {{linear-gradient|top|#383B40, #292C30}}" | [[File:Home icon grey.png|link=Main page|20px]]
| style="padding:7px; {{border-radius|5px 0px 0px 5px}}; {{linear-gradient|top|#383B40, #292C30}}" | [[File:Home icon grey.png|link=Main page|20px]]
| style="padding:7px;" | ⬅ <small>{{{1}}}</small>{{#if:{{{2|}}}| &nbsp;⬅ <small>{{{2}}}</small> }}{{#if:{{{3|}}}| &nbsp;⬅ <small>{{{3}}}</small> }}{{#if:{{{4|}}}| &nbsp;⬅ <small>{{{4}}}</small> }}{{#if:{{{5|}}}| &nbsp;⬅ <small>{{{5}}}</small> }}{{#if:{{{6|}}}| &nbsp;⬅ <small>{{{6}}}</small> }}{{#if:{{{7|}}}| &nbsp;⬅ <small>{{{7}}}</small> }}{{#if:{{{8|}}}| &nbsp;⬅ <small>{{{8}}}</small> }}{{#if:{{{9|}}}| &nbsp;⬅ <small>{{{9}}}</small> }}{{#if:{{{10|}}}| &nbsp;⬅ <small>{{{10}}}</small> }}
| style="padding:7px;" | ⬅ <small>{{{1}}}</small>{{#if:{{{2|}}}| &nbsp;⬅ <small>{{{2}}}</small> }}{{#if:{{{3|}}}| &nbsp;⬅ <small>{{{3}}}</small> }}{{#if:{{{4|}}}| &nbsp;⬅ <small>{{{4}}}</small> }}{{#if:{{{5|}}}| &nbsp;⬅ <small>{{{5}}}</small> }}{{#if:{{{6|}}}| &nbsp;⬅ <small>{{{6}}}</small> }}{{#if:{{{7|}}}| &nbsp;⬅ <small>{{{7}}}</small> }}{{#if:{{{8|}}}| &nbsp;⬅ <small>{{{8}}}</small> }}{{#if:{{{9|}}}| &nbsp;⬅ <small>{{{9}}}</small> }}{{#if:{{{10|}}}| &nbsp;⬅ <small>{{{10}}}</small> }}
|}
|}<br /><noinclude>
{{-}}<br /><noinclude>
{{doc}}</noinclude>
{{doc}}</noinclude>

Revision as of 10:52, 5 June 2013

Home icon grey.png {{{1}}}


[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

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