Template:Main: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
m (Text replacement - "]] </noinclude>" to "]]</noinclude>") |
||
Line 46: | Line 46: | ||
|} | |} | ||
[[Category:Disambiguation link templates]] | [[Category:Disambiguation link templates]]</noinclude> | ||
</noinclude> |
Revision as of 01:09, August 30, 2019
- Main article: [[{{{1}}}|{{{1}}}]].
Info
This template adds a link to the main article for the subheading it is placed in.
Parameters
Parameter | Mandatory | Default | Purpose | Detailed description |
---|---|---|---|---|
1 | Yes | Link 1 | Link to the main article. | |
t1 | No | Text 1 | Text to display on the link to the main article. | |
2 - 5 | No | Alternative links | Alternative links to other main articles. | |
t2 - t5 | No | Alternative text | Text to display on the alternative links. |
Skeleton
{{main|<link>|t1=<text>|<other links>|t*=<other links' text>}}
Examples
Code | Result |
---|---|
{{main|Main Page}} |
|
{{main|Main Page|t1=The front page}} |
|
{{main |Main Page|Talk:Main Page|Pikipedia:About |t2=Main Page talk|t3=About Pikipedia}} |
|