词条 | Module:Main list/doc |
释义 |
This module produces a "For a more comprehensive list, see [...]" link. It implements the {{tl|main list}} template. Use from wikitextThis module cannot be used directly from #invoke. Instead, it can only be used through the {{tl|main list}} template. Please see the template page for documentation. Use from other Lua modulesLoad the module: You can then use the _mainList function like this: The page1 variable is the page to be linked to, and is required. The page name can include a section link if desired. If the page includes a section link, it is automatically formatted as page § section, rather than the MediaWiki default of page#section. The page2 variable is optional; it is a second page link. Example 1Produces:
Displays as: For a more comprehensive list, see Wikipedia:Hatnote § Hatnote templates. Example 2Produces:
Displays as: For a more comprehensive list, see Wikipedia:Hatnote § Hatnote templates and Wikipedia:Template messages/Cleanup § Cleanup. Technical detailsThis module uses Hatnote to format the hatnote text and Arguments to fetch the arguments from wikitext. }} 1 : Hatnote modules |
随便看 |
|
开放百科全书收录14589846条英语、德语、日语等多语种百科知识,基本涵盖了大多数领域的百科知识,是一部内容自由、开放的电子版国际百科全书。