قالب:بوابة

Template documentation[view] [edit] [history] [purge]

يستخدم هذا القالب لخلق رابط في صندوق لبوابة أو بوابات. يمكن استخدام هذا القالب للإشارة إلى روابط لعدة بوابات.

الاستخدام

الاستخدام الأساسي
{{بوابة|بوابة 1 |بوابة 2 |بوابة 3 |... }}
All options
{{Portal 
 | بوابة 1 
 | بوابة 2 
 | بوابة 3 
 | ... 
 | left = <!-- yes -->
 | margin = <!-- CSS margin -->
 | break = <!-- yes -->
 | boxsize = <!-- custom box width in pixels -->
}}

الموقع

Within articles, this template is meant to be placed at the bottom of the article in the See also section.

الصورة

The portal image defaults to one that is specified in Template:Portal/Images/PortalName for the portal, or a generic image. There is a list of all such images. Have in mind that the "PortalName" variable should only have an upper case letter at the first word, the second and later words should be written in lower case, regardless of how is the name of the portal actually written. For example, Portal:Buenos Aires is written with two capital letters, but the subpage to host the image is Template:Portal/Images/Buenos aires, with only one capital letter.

مثال

Code
النتئجة
{{بوابة|علوم}}

المتغيرات

الاسم القيمة الوصف
1, 2, 3 ... The portal name, e.g. Literature The positional parameters specify the portals to be displayed. An unlimited number are allowed.
left yes If set to yes, the portal appears on the left side of the page instead of the right.
margin CSS margin value, e.g. 1.2em 3em 0.5em 1em This allows you to set a custom margin. All valid CSS margin values are accepted.
break yes If set to yes, a line break is inserted after the portal name and before the word portal.
boxsize Size in pixels, e.g. 300 This sets a custom box width in pixels.

الصيانة

The following tracking category lists instances where the template is used incorrectly:

انظر أيضاً