Template:Main/doc: Difference between revisions
Jump to navigation
Jump to search
mNo edit summary |
RogueScholar (talk | contribs) (Move to Category:Hatnote templates) |
||
(38 intermediate revisions by 15 users not shown) | |||
Line 1: | Line 1: | ||
__NOTOC__ | __NOTOC__ | ||
{{Notice|It contains usage information, categories and other content that is not part of the original template page.|''NOTICE:'' This is a documentation subpage for [[:{{SUBJECTSPACE}}:{{BASEPAGENAME}}]]}}<br /> | |||
The <kbd style="font-size: 1.15em; font-weight: 800;"><nowiki>{{</nowiki>[[Template:Main|Main]]<nowiki>}}</nowiki></kbd> template produces a hatnote<ref name="hatnote">An editorial message placed at the top (or "hat") of a page or section, intended to anticipate a reader's needs or purpose.</ref> that informs the reader that the topic is addressed in greater detail elsewhere on Kodi Wiki. | |||
==Usage== | == 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 (<code><nowiki>[[…]]</nowiki></code>) wikilink syntax. | ||
=== Basic === | |||
:{{Tlx|Main|<var>Page 1</var>}} | |||
=== Full syntax === | |||
You may also include additional links, up to ten in total: | You may also include additional links, up to ten in total: | ||
:{{Tlx|Main|<var>Page 1</var>|<var>Archive:Page 2</var>|<var>HOW-TO:Page 3</var>|<var>:Category:Page 4</var>|<var>Template:Page 5</var>|<var>Talk:Page 6</var>|<var>Add-on:Page 7</var>|<var>User:Page 8</var>|<var>Help:Page 9</var>|<var>Official Kodi Wiki:Page 10</var>}} | |||
| | |||
| | |||
| | |||
| | |||
| | |||
| | |||
| | |||
| | |||
| | |||
| | |||
== Notes == | |||
<references /> | |||
== | == See also == | ||
* [[Template:See]] | |||
* [[Template:See also]] | |||
* [[:Category:Hatnote templates]]<noinclude> | |||
{{DEFAULTSORT:{{BASEPAGENAME}}}} | |||
[[Category:Template documentation pages]]</noinclude><includeonly> | |||
[[ | [[Category:Hatnote templates]]</includeonly> | ||
</includeonly> |
Latest revision as of 02:50, 13 September 2022
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
- ↑ An editorial message placed at the top (or "hat") of a page or section, intended to anticipate a reader's needs or purpose.