This is the documentation page for Module:Wp/khw/Portal

یہ ماڈیول باب اور تصویر دو کام کرتا ہے۔باب کا ایک ڈبہ مع ربط بابیا متعدد ابواب ہوتے ہیں اور اس کا استعمال Template:سا سانچہ سے ہوتا ہے۔ یہ اکثر کسی مضمون میں "مزید دیکھیے" کی سرخی کے تحت شامل کیا جاتا ہے۔ تصویر خاص اس باب کی نمائندہ ہوتی ہے جس باب کا ربط دیا جاتا ہے۔

باب کا کام edit

اس کا کام ایک ڈبے میں باب یا ابواب کے ربط/روابط ظاہر کرنا ہوتا ہے۔ Template:باب/دستاویز

تصویر کا کام edit

یہ اس باب یا ابواب کی نمائندہ تصویر یا تصاویر ظاہر کرتا ہے جس باب یا جن ابواب کے رواب دیئے گئے ہوں۔

استعمال edit

{{#invoke:Portal|image|Portal}}

مثال edit

  • {{#invoke:Portal|image|فن}} → Portal-puzzle.svg

Image dupes function edit

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۔

استعمال edit

{{#invoke:Portal|imageDupes}}

Display all function edit

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 سانچہ:باب/دستاویز/تمام۔

استعمال edit

{{#invoke:Portal|displayAll}}