Module:Portal/doc
This is a documentation subpage for Module:Portal. It contains usage information, categories and other content that is not part of the original module page. |
මෙම Lua module පිටු 8,470,000 පමණ pages, or roughly 6595% of all භාවිතා වන නිසා. To avoid major disruption and server load, any changes should be tested in the මෙම මොඩියුලයට අදාළ /sandbox හෝ /testcases උපපිටු. The tested changes can be added to this page in a single edit. එම වෙනස්කම් සිදුකිරීමට ප්රථම අදාළ සාකච්ඡා පිටුවේ ඒ පිළිබඳව සංවාදයක් ගොඩනැගීමට කාරුණික වන්න. Transclusion count updated automatically (ප්රලේඛනය වෙතට යොමුවන්න). |
මෙම මොඩියුලය මතු දැක්වෙන මොඩියුල මත යැපෙයි: |
This module uses TemplateStyles: |
This module has two functions, portal
and image
. The portal
produces a box with links to a portal or to multiple portals, and is used by the {{portal}} template. It is most often used in the "See also" section of an article. The image
function produces the name of the image used by the specified portal.
Portal function සංස්කරණය
The portal function produces a box of portal links. සැකිල්ල:Portal/doc
Image function සංස්කරණය
The image function produces the name of the image used by the specified portal.
Usage සංස්කරණය
{{#invoke:Portal|image|portal}}
Example සංස්කරණය
{{#invoke:Portal|image|Art}}
→ Ballerina-icon.jpg
Image dupes function සංස්කරණය
The image dupes function returns a list of all images that are being used by more than one portal (aliases are not included). This can be helpful in identifying image entries that should be changed to use aliases.
Usage සංස්කරණය
{{#invoke:Portal|imageDupes}}
Display all function සංස්කරණය
The display all function returns a box containing all portals that have images. This is used for maintenance, and should not be displayed in articles, because a) there are around 1500 portals with images, and displaying 1500 images on one page takes up a lot of server resources, and b) the module has no way to know the correct capitalisation of a portal name, so some links to portals will be broken. This function can be seen at Template:Portal/doc/all.
Usage සංස්කරණය
{{#invoke:Portal|displayAll}}