跳至內容

模板:Related portals2/doc

維基百科,自由的百科全書

目標

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:PortalModule:Portal/images中有關增加、更新、移除圖片的相關指令。

參見

主題內容模板

主題頁面格式模板

設置連結的模板

所選頁面模板,用於較舊門戶的子頁面

相關模板