সাঁচ:Wikipedia ads/Helper/doc
এয়া হৈছে ‘সাঁচ:Wikipedia ads/Helper’ শীৰ্ষক সাঁচটোৰ নথিকৰণৰ উপপৃষ্ঠা। ইয়াত সাঁচটো ব্যৱহাৰৰ তথ্য, শ্ৰেণীসমূহ, আন্তঃৱিকি সংযোগবোৰ আৰু অন্য সমল থাকে, যিবোৰ মূল সাঁচ পৃষ্ঠাটোৰ অংশ নহয়। |
This is a helper template for Template:Wikipedia ads, it isn't intended to be used anywhere else. Parameters (see below) consist of list of ads and optionally formatting of the resulting ad. This template can also display list of all ads and their authors. It was created so that changes to the list of ads could be made easily.
Note: because of current implementation, the table of ads will display at most 400 ads. Displaying of individual ads is not affected.
Usage
সম্পাদনা কৰক- 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 Template: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 defining 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.
{{Wikipedia ads/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 – #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.
{{Wikipedia ads/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}}
Wikipedia ads: Overview | ||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
|