Template:Mininav: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
No edit summary |
||
Line 1: | Line 1: | ||
<span style="padding:7px; {{border-radius|5px}}; {{box-shadow|0px|1px|3px|#878787}}; {{linear-gradient|top|#FEFEFE, #E1E1E1}}">⬅ {{{1}}}{{#if:{{{2|}}}| ⬅ {{{2}}} }}{{#if:{{{3|}}}| ⬅ {{{3}}} }}{{#if:{{{4|}}}| ⬅ {{{4}}} }}{{#if:{{{5|}}}| ⬅ {{{5}}} }}{{#if:{{{6|}}}| ⬅ {{{6}}} }}{{#if:{{{7|}}}| ⬅ {{{7}}} }}{{#if:{{{8|}}}| ⬅ {{{8}}} }}{{#if:{{{9|}}}| ⬅ {{{9}}} }}{{#if:{{{10|}}}| ⬅ {{{10}}} }}</span> | <span style="padding:7px; {{border-radius|5px}}; {{box-shadow|0px|1px|3px|#878787}}; {{linear-gradient|top|#FEFEFE, #E1E1E1}}">⬅ {{{1}}}{{#if:{{{2|}}}| ⬅ {{{2}}} }}{{#if:{{{3|}}}| ⬅ {{{3}}} }}{{#if:{{{4|}}}| ⬅ {{{4}}} }}{{#if:{{{5|}}}| ⬅ {{{5}}} }}{{#if:{{{6|}}}| ⬅ {{{6}}} }}{{#if:{{{7|}}}| ⬅ {{{7}}} }}{{#if:{{{8|}}}| ⬅ {{{8}}} }}{{#if:{{{9|}}}| ⬅ {{{9}}} }}{{#if:{{{10|}}}| ⬅ {{{10}}} }}</span> | ||
{{-}}<noinclude> | {{-}}<br /><noinclude> | ||
{{doc}}</noinclude> | {{doc}}</noinclude> |
Revision as of 10:22, 5 June 2013
⬅ {{{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
⬅ 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