Template:Main

From PokéFarm Q Official Wiki
(Redirected from Category:Hatnote templates)
Jump to navigation Jump to search
Main article: [[{{{1}}}|{{{1}}}]]
Template Documentation

This documentation contains information on the template, including but not limited to, the usage, examples, and restrictions.

Description
This template creates a hat note to a main article.
Usage
Place {{Main}} followed by as many referral pages as needed up to 10 pages.
Syntax
{{Main article|<page1>|<page2>|<…>|<page10>}}
Sample output
{{Main article|Season_6}} →
Main article: Season_6
Error message
This error appears if you use 11 or more pages (ignore red links)
Main articles: page1, page2, page3, page4, page5, page6, page7, page8, page9, and page10 (too many parameters in {{main}})
This appears (not technically an error) if no referrals are specified (empty parameter)
Main article: [[{{{1}}}|{{{1}}}]]
Note
Do not wikify the referral page, the template does that for you.

Edit: Template:Main/doc