Thành viên:Hanging gardens of babylon/Helper
From Wikipedia, the free encyclopedia
Sử dụng
- First parameter is count of all ads (including inactive).
- Second parameter is count of inactive (e.g. deleted) ads.
- Follows list of triplets of parameters, each specifying one ad (including inactive ones) and consisting of:
- List of numbers of active ads.
- Optional parameters ad, linkcolor, color, background, float and nolinks that have the same meaning as in Tiêu bản:Wikipedia ads.
- Optional parameter navbox. If the value of this parameter is nonempty string (e.g. yes), table of all active ads will be dislayed instead of one ad.
Examples
This example shows definig four ads, where ad #3 is disabled and won't be shown, except when requested specifically by parameter ad = 3, with green background and black text.
{{User:Hanging gardens of babylon/Helper | 4 | 1 | Image:Qxz-ad1.gif | Wikipedia:Barnstars | [[User:Gurch|Gurch]] | Image:Qxz-ad2.gif | Help:Edit summary | [[User:AzaToth|AzaToth]] | Image:Qxz-ad3.gif | Wikipedia:Featured article criteria | [[User:Gurch|Gurch]] | Image:Qxz-ad4.png | Wikipedia:Upload | [[User:Gurch|Gurch]] | 1 | 2 | 4 | background=green| color=black}}
Wikipedia Ads | file info – show another – #1 |
This example is the same as above except of added navbox parameter. The result is table of all active ads. Note that formatting parameters are ignored.
{{User:Hanging gardens of babylon/Helper | 4 | 1 | Image:Qxz-ad1.gif | Wikipedia:Barnstars | [[User:Gurch|Gurch]] | Image:Qxz-ad2.gif | Help:Edit summary | [[User:AzaToth|AzaToth]] | Image:Qxz-ad3.gif | Wikipedia:Featured article criteria | [[User:Gurch|Gurch]] | Image:Qxz-ad4.png | Wikipedia:Upload | [[User:Gurch|Gurch]] | 1 | 2 | 4 | background=green| color=black| navbox=yes}}
Tài liệu bên trên được truyền tải từ Thành viên:Hanging gardens of babylon/Helper/doc. (sửa | lịch sử)
Biên tập viên sửa đổi có thể thử nghiệm trong các trang chỗ thử (tạo | sao) và trường hợp kiểm thử (tạo) của bản mẫu này.
Xin hãy bổ sung các thể loại vào trang con /doc. Các trang con của trang này.
Biên tập viên sửa đổi có thể thử nghiệm trong các trang chỗ thử (tạo | sao) và trường hợp kiểm thử (tạo) của bản mẫu này.
Xin hãy bổ sung các thể loại vào trang con /doc. Các trang con của trang này.