Template:Index two column/doc: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
|||
Line 26: | Line 26: | ||
== Example == | == Example == | ||
<pre> | <pre> | ||
{{Index two column | {{Index two column | ||
Line 44: | Line 46: | ||
}} | }} | ||
</pre> | </pre> | ||
''creates:'' | |||
{{Index two column | |||
| image 1 = OptiUser-info.svg | |||
| link 1 = XBMC Quick Start Guide | |||
| image 2 = FAQ icon.png | |||
| link 2 = FAQs | |||
| link name 2 = Frequently Asked Questions | |||
| image 3 = Go-home-2.svg | |||
| link 3 = Home screen and basic controls | |||
| image 4 = Gnome-media-playback-start.svg | |||
| link 4 = Remote controls | |||
| image 5 = Video.svg | |||
| link 5 = Adding videos to the library | |||
| description 5 = {{#lst:Video library|adding videos to the library}} | |||
| image 6 = IYY logo.png | |||
| link 6 = Adding music to the library | |||
}} | |||
<includeonly> | <includeonly> | ||
[[Category:Page specific templates]] | [[Category:Page specific templates]] | ||
</includeonly> | </includeonly> |
Revision as of 11:50, 4 April 2014
Used for "landing pages" or "indexes" for a given topic. Creates a two column layout for links and summaries for those pages, with the summaries being generated from the intro sections marked on a given page.
Usage
The template can format anywhere between 1 and 20 page links.
The only required parameter is | link 1 =
. To make a second link, use | link 2 =
, and so on until 20.
Each link can also have an image icon, defined by | image =
.
Parameters
Parameter | Description |
---|---|
| link # =
|
Page title to be linked to. |
| link name # = (optional) |
If you wish the displayed title to be different. |
| image # = (optional) |
An icon to be displayed with the link. The icon will be clickable with the above link. All images are auto resized to fit within 60px wide or tall. If no image is provided then File:Circle arrow right font awesome.svg will be used. |
| description # = (optional) |
By default the descriptive text is the "intro" section (if marked) on the target link page. Use this parameter to override this. |
Example
{{Index two column | image 1 = OptiUser-info.svg | link 1 = XBMC Quick Start Guide | image 2 = FAQ icon.png | link 2 = FAQs | link name 2 = Frequently Asked Questions | image 3 = Go-home-2.svg | link 3 = Home screen and basic controls | image 4 = Gnome-media-playback-start.svg | link 4 = Remote controls | image 5 = Video.svg | link 5 = Adding videos to the library | description 5 = {{#lst:Video library|adding videos to the library}} | image 6 = IYY logo.png | link 6 = Adding music to the library }}
creates:
XBMC Quick Start Guide XBMC Quick Start Guide |
Frequently Asked Questions | ||
Home screen and basic controls Home screen and basic controls |
Remote controls Kodi is primarily designed for the home theatre using the 10-foot user interface principles controlled with a remote control. Alternatively a (wireless) keyboard can be used. | ||
Adding videos to the library |
icon | Adding music to the library This page details the following:
|