Template:Main: Difference between revisions
m Revamp as an indented Wikipedia-style section hatnote (multi-article grammar, backward compatible) |
m nowiki the {{Main}} in the doc Notes (was rendering a stray empty hatnote) |
||
| Line 14: | Line 14: | ||
==Notes== | ==Notes== | ||
Styling lives in the <code>.tf-hatnote</code> class in [[MediaWiki:Common.css]] (italic, left-indented). This is a lightweight version of Wikipedia's [https://en.wikipedia.org/wiki/Template:Main {{Main}}] hatnote; it supports up to four articles and section anchors, but not custom link labels. | Styling lives in the <code>.tf-hatnote</code> class in [[MediaWiki:Common.css]] (italic, left-indented). This is a lightweight version of Wikipedia's [https://en.wikipedia.org/wiki/Template:Main <nowiki>{{Main}}</nowiki>] hatnote; it supports up to four articles and section anchors, but not custom link labels. | ||
[[Category:Formatting]] | [[Category:Formatting]] | ||