Template:Main

From Captain of Industry Wiki
Jump to: navigation, search
Main article: [[{{{1}}}|{{{1}}}]]
Template documentation (for the above template, sometimes hidden or invisible) [view] [edit] [history] [refresh]
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|<page1>|<page2>|<…>|<page10>}}
Sample output
{{Main|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.
The above text is transcluded from Template:Main/doc; you can change it or view its history. (How does this work?)
If you're done making changes, please refresh the text. (Why?)
You can experiment in this template's sandbox (create | mirror ) and testcases (create) pages.
Please add categories and interwikis to Template:Main/doc. (View all subpages of this page.)