Template:Mininav/doc: Difference between revisions

From Official Kodi Wiki
Jump to navigation Jump to search
(Created page with "Manual creation of breadcrumbs ==Usage== <pre> {{mininav|Level 1|Level 2|Level 3|Level 4}} </pre> Supports up to 10 levels ==Example== <pre> {{mininav|Videos|[[Video libra...")
 
No edit summary
 
(10 intermediate revisions by 2 users not shown)
Line 1: Line 1:
Manual creation of breadcrumbs
Manual creation of breadcrumbs. Should only be used on main XBMC manual pages to aid navigation. Some exceptions might apply. Slightly experimental.


==Usage==
==Usage==
Line 8: Line 8:
Supports up to 10 levels
Supports up to 10 levels


==Example==
Ends the breadcrumb with the current page name. This can be manually overwritten with <code>|page=</code> or turned off by <code>|no page=</code> ("no page" does not need a value).
 
==Examples==
===Example 1===
<pre>
{{mininav|[[Video library]]|[[Basic_controls|Navigation]]|Context menu}}
</pre>
 
 
creates
 
 
{{mininav|[[Video library]]|[[Basic_controls|Navigation]]|Context menu}}
===Example 2===
Adding the {{tl|l2}} (line 2) template can make a second path in the same cell, for creating more than one breadcrumb path:
 
<pre>
<pre>
{{mininav|[[Videos]]|[[Video library/Navigation|Navigation]]|Context menu}}
{{mininav| [[Settings]] {{l2| [[Video library]] }} }}
</pre>
</pre>


Line 17: Line 32:




{{mininav|[[Videos]]|[[Video library/Navigation|Navigation]]|Context menu}}
{{mininav| [[Settings]] {{l2| [[Video library]] }} }}


<includeonly>
<includeonly>
[[Category:Page specific templates]]
[[Category:Page specific templates]]
</includeonly>
</includeonly>

Latest revision as of 09:49, 15 July 2020

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 ▶ doc

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
▶ doc