Template:Main: Difference between revisions

From Official Kodi Wiki
Jump to navigation Jump to search
m (167 revisions)
No edit summary
Line 1: Line 1:
{{Rellink|extraclasses=relarticle mainarticle|{{#ifeq:{{SUBJECTSPACE}}|Category|The main {{#ifeq:{{NAMESPACE:{{{1}}}}}||article|page}}{{#if:{{{2|}}}|s}} for this [[Wikipedia:Categorization|category]] {{#if:{{{2|}}}|are|is}}|Main {{#ifeq:{{NAMESPACE:{{{1}}}}}||article|page}}{{#if:{{{2|}}}|s}}:}} [[{{{1|{{PAGENAME}}}}}|{{{l1|{{{1|{{PAGENAME}}}}}}}}]]{{#if:{{{2| }}}
{{Rellink|extraclasses=relarticle mainarticle|{{#ifeq:{{SUBJECTSPACE}}|Category|The main {{#ifeq:{{NAMESPACE:{{{1}}}}}||page|page}}{{#if:{{{2|}}}|s}} for this category {{#if:{{{2|}}}|are|is}}|Main {{#ifeq:{{NAMESPACE:{{{1}}}}}||page|page}}{{#if:{{{2|}}}|s}}:}} [[{{{1|{{PAGENAME}}}}}|{{{l1|{{{1|{{PAGENAME}}}}}}}}]]{{#if:{{{2| }}}
  |{{#if:{{{3|}}}|, | and }}[[{{{2}}}|{{{l2|{{{2}}}}}}]]}}{{#if:{{{3|}}}
  |{{#if:{{{3|}}}|, | and }}[[{{{2}}}|{{{l2|{{{2}}}}}}]]}}{{#if:{{{3|}}}
  |{{#if:{{{4|}}}|, |, and }}[[{{{3}}}|{{{l3|{{{3}}}}}}]]}}{{#if:{{{4|}}}
  |{{#if:{{{4|}}}|, |, and }}[[{{{3}}}|{{{l3|{{{3}}}}}}]]}}{{#if:{{{4|}}}

Revision as of 06:36, 22 March 2012

[edit] Template documentation
Emblem-important-yellow.png NOTICE: This is a documentation subpage for Template:Main:
It contains usage information, categories and other content that is not part of the original template page.

The {{Main}} template produces a hatnote[1] that informs the reader that the topic is addressed in greater detail elsewhere on Kodi Wiki.

Usage

Provide up to ten (10) full page name(s) as unnamed parameters, including the namespace if not in 'Main', and without the enclosing double bracket ([[…]]) wikilink syntax.

Basic

{{Main|Page 1}}

Full syntax

You may also include additional links, up to ten in total:

{{Main|Page 1|Archive:Page 2|HOW-TO:Page 3|:Category:Page 4|Template:Page 5|Talk:Page 6|Add-on:Page 7|User:Page 8|Help:Page 9|Official Kodi Wiki:Page 10}}

Notes

  1. An editorial message placed at the top (or "hat") of a page or section, intended to anticipate a reader's needs or purpose.

See also