Template:Mininav/doc: Difference between revisions

From Official Kodi Wiki
Jump to navigation Jump to search
Line 20: Line 20:
{{mininav|[[Videos]]|[[Video library/Navigation|Navigation]]|Context menu}}
{{mininav|[[Videos]]|[[Video library/Navigation|Navigation]]|Context menu}}
===Example 2===
===Example 2===
You can use a line break such as <code><nowiki><br /></nowiki></code> to make a second breadcrumb path:
Adding the {{tl|l2}} (line 2) template can make a second path in the same cell:


<pre>
<pre>
{{mininav|[[Settings]]<br/>|[[Video library]]}}
{{mininav| [[Settings]] {{l2| [[Video library]] }} }}
</pre>
</pre>


Line 30: Line 30:




{{mininav|[[Settings]]<br/>|[[Video library]]}}
{{mininav| [[Settings]] {{l2| [[Video library]] }} }}


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

Revision as of 08:13, 7 June 2013

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

Examples

Example 1

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


creates


Home icon grey.png   ▶ Videos ▶ Navigation ▶ Context menu ▶ doc

Example 2

Adding the {{l2}} (line 2) template can make a second path in the same cell:

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


creates


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