قالب:تصفح/doc

Edit-paste.svg
هذه هي صفحة توثيق القالب {{تصفح}}.
ليس الغرض من تلك الصفحة أن تـُشاهـَد مباشرة. لو استعملـَت متغيرات, فبعض الروابط قد تظهر مكسورة. لا تستبدل تلك المتغيرات بأسماء مباشرة (hardcoded) لصفحات أو عناوين URLs.

{{تصفح/doc}} is a generic navigational template.

Blank

{{تصفح
| اسم القالب  = {{subst:PAGENAME}}
| العنوان = 
| المحتوى  = 
}}

وسطاء

اجباري

name (or templateName)
The name of the template, which is needed for the "view • talk • edit" links to work properly on all of the pages where the template is used. You can enter {{subst:PAGENAME}} for this value as a shortcut.
title (or header)
Text that appears centered in the titlebar (the top bar). Usually this is the template's topic, i.e. a succinct description of the body contents.
body
The material contained by the template, usually a list or list of links. Use | to separate links. It is not possible to directly include a pipe ("|") in the contents as this symbol is used to separate parameters. &amp:#124; or {{!}} can be used in the body to produce a pipe symbol. Format is inline.

اختياري

color
Header color. Default is #efefef. Use of this parameter is discouraged. Where it is used, care and consensus are needed as multiple navigational templates on one page with different titlebar colors will probably look unpleasant.
cat (or category)
The category or categories to which a page sporting the template will become a member.


أمثلة

Code

{{تصفح
| اسم القالب  = {{subst:PAGENAME}}
| العنوان = [[Countries of the world|Countries]] of [[Central Asia]]
| تصنيف   = [[Category:Central Asian countries]]<noinclude>[[Category:Asian navigational boxes|{{PAGENAME}}]] [[Category:Continental navigation templates|{{PAGENAME}}]]</noinclude>
| المحتوى  =
[[Afghanistan]]{{·}}
[[Kazakhstan]]{{·}}
[[Kyrgyzstan]]{{·}}
[[Mongolia]]{{·}}
[[Russia]]{{·}}
[[Tajikistan]]{{·}}
[[Turkmenistan]]{{·}}
[[Uzbekistan]]
}}

النتيجة

انظر أيضا

مقارنة قوالب التصفح
ع  ن  ت
collapsible Header color Image Groups Style (body)
parameter/s
Example
{{Navbox}} collapsible navbox Left/right of body نعم نعم {{Apollo program}}
{{Navbox generic}} collapsible navbox Right-hand side نعم نعم {{Dilbert}}
{{Navigation with columns}} NavFrame NavHead لا لا نعم {{UK subdivisions}}
{{NavigationBox}} لا navbox Right of title+body لا لا {{Bowl Games}}
The background color for the header or title is inherited from the class listed below. The templates have titlestyle parameters that can be used to override the default.
الخصائص الملفوفة
Type CSS classes Collapses when Custom
initial state
Nesting Default
header
color
Font size
NavFrame div NavFrame, NavHead, NavContent NavContent style="display:none;" نعم* نعم #ccccff 95%
Collapsible table collapsible, navbox 2 or more autocollapse on page نعم نعم #ccccff 90%

*NavFrames have custom initial state since August 8, 2007. For the technically minded, see Common.css and Common.js.