跳转到内容

Template: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中有关增加、更新、移除图片的相关指令。

参见

[编辑]

主題内容模板

主題頁面格式模板

設置連結的模板

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

相關模板