模板:Related portals2
目標
Easy-to-use template for creating icon tables of related portals for portal pages. Friendly to wide and narrow screens alike, including mobile, and does not require hardcoding icons, etc.
用法
Similar to the Template:Portal inline box; simply provide a list of related portals to show, up to 99 different ones, such as:
{{Related portals2|农业|医学|教育|西班牙}}
寬屏和窄屏
This system uses floats to fit within the browser's window, which allows it to scale to wide screens and narrow ones, like on mobile:
圖片
主題的圖片在Module:Portal中定義。請查閱Module:Portal、Module:Portal/images中有關增加、更新、移除圖片的相關指令。
參見
- {{Portal}}
- {{Related portals}}
- {{Related portal item}} – subitem of this template
主題內容模板
- {{Box portal skeleton}}—用於創建專題頁面的主頁面。
- 在主題首頁展示「精選內容」
- {{Transclude list item excerpts as random slideshow}}—transcludes excerpts from recognized content lists, which are populated by a bot.
- {{Transclude random subpage}}—transcludes random portal subpage.
- {{Random portal component}}—transcludes random portal subpage.
- {{Random portal component with nominate}}—Used on the portal main page to randomly display articles from the portal sub-pages, adding the option to nominate other Featured foo articles.
- {{Random subpage}}—transcludes random portal subpages.
- {{Portal pictures}}—transcludes a slideshow of pictures, utilizing a single-page gallery.
- To organize "selected content" on subpages
- {{Subpage}}—Used to output a box containing a link to subpage.
- {{Numbered subpages}}—outputs an automatic index, transcluding numbered subpages.
- {{Portal subpage}}—outputs a box linking to and transcluding a single subpage.
- {{Portal subpage inline}}—outputs an unordered list item linking to and transcluding a single subpage.
主題頁面格式模板
- {{Box-header}}
- {{Box-header-plain}}
- {{Box-header-round}}
- {{Box-header-square}}
- {{Box-header-watch}}
- {{Box-footer}}
設置連結的模板
- {{Portal}}
- {{Portal bar}}
- {{Portal-inline}}
- {{Portals}}
- {{Portal-image}}
- {{Portals browsebar}}
- {{Related portals}}
- {{Related portals2}}
- {{Wikimedia for portals}}
所選頁面模板,用於較舊門戶的子頁面
- {{Selected article}}
- {{Selected biography}}
- {{Selected business}}
- {{Selected DYK}}
- {{Selected ingredient}}
- {{Selected location}}
- {{Selected picture}}
- {{Selected product}}
- {{Selected publication}}
- {{Selected quote}}
- {{Selected recipe}}
- {{Selected X}}
相關模板
- {{Project template list}}
- {{Random box-header subpage}}—randomized selection from {{Box-header/1}} to {{Box-header/42}}.