Bản mẫu:Portal-image
Bản mẫu này sử dụng Lua: |
Portal-image được sử dụng để tạo ra hình ảnh nội tuyến đến chủ đề, có hoặc không có liên kết đến trang của chủ đề thông qua hình ảnh.
Cách sử dụng sửa
{{Portal-image|tên chủ đề|size=tiny|link=yes hoặc no}}
Ghi chú: |size=
và |link=
là tùy chọn.
Các tham số sửa
|1=
The name of the portal|size=
The size of the image
|link=
Whether or not the image links to the portal
- Mặc định: yes
- To make the image not link to the portal, set to any no value (no, n, off, false, etc.)
Các ví dụ sửa
{{Portal-image|Tình dục}}
→{{Portal-image|Tình dục|link=no}}
→{{Portal-image|Tình dục|size=tiny}}
→{{Portal-image|Tình dục|link=no|size=tiny}}
→
Nhỏ xíu trong văn bản sửa
Lorem ipsum dolor sit amet, consectetur adipiscing elit , sed do eiusmod tempor incididunt ut labore et dolore magna aliqua.
Xem thêm sửa
Bản mẫu tạo chủ đề chính
- {{Basic portal start page}}—Used to create portal main pages.
- {{Random portal component}}—Used on the portal main page to randomly display articles from the portal sub-pages.
- {{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}}—Used on the portal main page to randomly display articles from the portal sub-pages. This template is best used for creating randomly populated Did you know... sections on the portal main page that are intended to include multiple Did you know... facts.
- {{Subpage}}—Used to output a box containing a link to subpage.
- {{Numbered subpages}}—Used to create article links on portal sub-pages with 50 links.
{{Numbered subpages|max=25}}
—As hereinbefore, but with 25 links.{{Numbered subpages|max=75}}
—As hereinbefore, but with 75 links.{{Numbered subpages|max=100}}
—As hereinbefore, but with 100 links.
- {{Random box-header subpage}}—Used to transclude a numbered subpage.
Bản mẫu định dạng trang chủ đề chính
- {{Box-header}}
- {{Box-header-blank}}
- {{Box-header-plain}}
- {{Box-header-round}}
- {{Box-header-square}}
- {{Box-header-watch}}
- {{Box-footer}}
Bản mẫu cấu hình liên kết
- {{Portal}}
- {{Portal bar}}
- {{Portal-inline}}
- {{Portals}}
- {{Portal-image}}
- {{Portals browsebar}}
- {{Related portals}}
- {{Related portals2}}
- {{Wikimedia for portals}}
Các bản mẫu này được sử dụng để định dạng các bài viết trên các trang con
{{Selected X}}—Generic template for situations not listed hereafter.
- {{Selected article}}
- {{Selected biography}}
- {{Selected business}}
- {{Selected DYK}}
- {{Selected ingredient}}
- {{Selected location}}
- {{Selected picture}}
- {{Selected product}}
- {{Selected publication}}
- {{Selected quote}}
- {{Selected recipe}}
Bản mẫu liên quan