模組:Portal bar/doc
外观
这是Module:Portal bar的文档页面
![]() | 此模块文档被引用於約20,000個頁面。 為了避免造成大規模的影響,所有對此模块文档的編輯應先於沙盒或測試樣例上測試。 測試後無誤的版本可以一次性地加入此模块文档中,但是修改前請務必於討論頁發起討論。 模板引用數量會自動更新。 |
![]() | 此模块文档已评为beta版,可广泛使用。因其新近完成,请谨慎使用,以确保输出结果符合预期。 |
This module implements the {{portal bar}} template. It displays a horizontal bar of portals.
Usage
{{#invoke:Portal bar|main|''portal 1''|''portal 2 ''|...|border=''no''}}
- Positional parameters - the names of the portals to be displayed.
border
- if|border=
is equal tono
,n
,false
, or0
, then the portal box will have no border.
Examples
{{#invoke:portal bar|main|Art|Science|Literature}}
Produces:
{{#invoke:portal bar|main|Art|Science|Literature|border=no}}
Produces:
For further examples, see Template:Portal bar/testcases.
Images
This module uses Module:Portal to get portal images. To add, change, or remove images, please see the instructions at Module:Portal#Image.