انتقل إلى المحتوى

قالب:Collapsible option/doc

من ويكيبيديا، الموسوعه الحره

The {{collapsible option}} template gives a standardised message for transclusion on template pages whose templates include a state parameter (through which their collapsibility may be managed).

It may be used on either the template page itself (wrapped within <noinclude></noinclude> tags), or on the template's {{documentation}} subpage.

Indicating optional use of state name[تعديل]

If, in a template where خيارات العرض الأولية

ممكن نستخدم وسيط |وضع= عشان نظبط عرض القالب في الاول

  • |وضع=collapsed: {{Collapsible option/doc|وضع=collapsed}} لإظهار القالب مطويًّا، بمعنى إخفاء محتوياته ما عدا الشريط الخاص بالعنوان.
  • |وضع=expanded: {{Collapsible option/doc|وضع=expanded}} لإظهار القالب مُمتدًّا، بمعنى إظهاره كاملًا.
  • |وضع=autocollapse: {{Collapsible option/doc|وضع=autocollapse}}
    • عشان القالب يبان مطوى لشريط العنوان إذا لقيت قالب {{وصلات قالب}}، أو قالب {{شريط جانبي}} أو أي جدول بنستخدمه متغيّر مطوي في الصفحة.
    • غشان القالب يبقى فى الوضع الممتد لو ما فيش أي عنصر مطوي في الصفحة.

إذا كان وسيط |وضع= مش مضبوطٍ؛ فى العرض الأولي للقالب بيأخذ الوضع من وسيط |افتراضي= في القالب. وضع هذا القالب الحالي مضبوط على autocollapse.

has been transcluded, that template's state parameter has been enabled such that it need not be named when the template is called – i.e. the state parameter includes {{{1| }}}, e.g.

|state = {{{state|{{{1|}}}}}}
or
|state = {{{state|{{{1|<noinclude>expanded</noinclude>}}}}}}
etc

then

{{collapsible option |statename=optional}}

removes the instances of "state=" from the خيارات العرض الأولية

ممكن نستخدم وسيط |وضع= عشان نظبط عرض القالب في الاول

  • |وضع=collapsed: {{Collapsible option/doc|وضع=collapsed}} لإظهار القالب مطويًّا، بمعنى إخفاء محتوياته ما عدا الشريط الخاص بالعنوان.
  • |وضع=expanded: {{Collapsible option/doc|وضع=expanded}} لإظهار القالب مُمتدًّا، بمعنى إظهاره كاملًا.
  • |وضع=autocollapse: {{Collapsible option/doc|وضع=autocollapse}}
    • عشان القالب يبان مطوى لشريط العنوان إذا لقيت قالب {{وصلات قالب}}، أو قالب {{شريط جانبي}} أو أي جدول بنستخدمه متغيّر مطوي في الصفحة.
    • غشان القالب يبقى فى الوضع الممتد لو ما فيش أي عنصر مطوي في الصفحة.

إذا كان وسيط |وضع= مش مضبوطٍ؛ فى العرض الأولي للقالب بيأخذ الوضع من وسيط |افتراضي= في القالب. وضع هذا القالب الحالي مضبوط على autocollapse.

message, i.e.

How to manage this template's visibility
  • Use قالب:''Template name''  to show this template in its collapsed (hidden) state.
  • Use قالب:''Template name''  to show this template in its expanded (fully visible) state.
  • Use قالب:''Template name''  to show this template in its collapsed (hidden) state only if there is another template of the same type on the page. (This is usually the default, i.e. doesn't usually need specifying.)

See also[تعديل]