跳转到内容

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

参见

[编辑]

主题内容模板

主题页面格式模板

设置连结的模板

所选页面模板,用于较旧门户的子页面

相关模板