قالب:ملوك و امرا افغانستان
This template's initial visibility currently defaults to autocollapse
, meaning that if there is another collapsible item on the page (a navbox, sidebar, or table with the collapsible attribute), it is hidden apart from its title bar; if not, it is fully visible.
To change this template's initial visibility, the |state=
parameter may be used:
<div class="navbox-styles">'"`UNIQ--templatestyles-0000000C-QINU`"''"`UNIQ--templatestyles-00000000-QINU`"''"`UNIQ--templatestyles-00000009-QINU`"'</div><div role="navigation" class="navbox" aria-labelledby="حكام_حكمو_افغانستان" style="padding:3px"><table class="nowraplinks hlist mw-collapsible mw-collapsed navbox-inner" style="border-spacing:0;background:transparent;color:inherit"><tr><th scope="col" class="navbox-title" colspan="2" style="background-color: #ccccff">'"`UNIQ--templatestyles-0000000A-QINU`"''"`UNIQ--templatestyles-0000000B-QINU`"'<div class="navbar plainlinks hlist navbar-mini"><ul><li class="nv-view">[[قالب:ملوك و امرا افغانستان|<abbr title="View this template" style="background-color: #ccccff;;background:none transparent;border:none;box-shadow:none;padding:0;">v</abbr>]]</li><li class="nv-talk">[[نقاش القالب:ملوك و امرا افغانستان|<abbr title="Discuss this template" style="background-color: #ccccff;;background:none transparent;border:none;box-shadow:none;padding:0;">t</abbr>]]</li><li class="nv-edit">[[Special:EditPage/قالب:ملوك و امرا افغانستان|<abbr title="Edit this template" style="background-color: #ccccff;;background:none transparent;border:none;box-shadow:none;padding:0;">e</abbr>]]</li></ul></div><div id="حكام_حكمو_افغانستان" style="font-size:114%;margin:0 4em">[[لستة حكام افغانستان|حكام]] حكمو [[افغانستان]]</div></th></tr><tr><th scope="row" class="navbox-group" style="background-color: #ccccff;width:1%;text-align:left;"><span class="flagicon">[[File:Flag of Afghanistan pre-1901.svg|23x15px|border |alt=|link=]]</span> [[عيلة هوتاكى]]</th><td class="navbox-list-with-group navbox-list navbox-odd" style="text-align:right;width:100%;padding:0"><div style="padding:0 0.25em"> * [[مير ويس هوتاك]] * [[عبد العزيز هوتاك]] * [[محمود هوتاك]] * [[اشرف شاه هوتاكى|اشرف هوتاك]] * [[حسين هوتاك]] </div></td></tr><tr><th scope="row" class="navbox-group" style="background-color: #ccccff;width:1%;text-align:left;"><span class="flagicon">[[File:Afsharid Imperial Standard (3 Stripes).svg|23x15px|border |alt=|link=]]</span> [[عيلةافشاريد]]</th><td class="navbox-list-with-group navbox-list navbox-even" style="text-align:right;width:100%;padding:0"><div style="padding:0 0.25em"> * [[نادر شاه]] </div></td></tr><tr><th scope="row" class="navbox-group" style="background-color: #ccccff;width:1%;text-align:left;"><span class="flagicon">[[File:Flag of Afghanistan pre-1901.svg|23x15px|border |alt=|link=]]</span> [[عيلة دورانى]]</th><td class="navbox-list-with-group navbox-list navbox-odd" style="text-align:right;width:100%;padding:0"><div style="padding:0 0.25em"> * [[احمد شاه الدرانى|احمد شاه دورانى]] * [[تيمور شاه دورانى]] * [[زمان شاه الدرانى|زمان شاه دورانى]] * [[محمود شاه دورانى]] * [[شجاع شاه الدرانى|شاه شوچاه دورانى]] * [[على شاه دورانى]] * [[ايوب شاه دورانى]] </div></td></tr><tr><th scope="row" class="navbox-group" style="background-color: #ccccff;width:1%;text-align:left;"><span class="flagicon">[[File:Flag of Afghanistan pre-1901.svg|23x15px|border |alt=|link=]]</span> [[امارة افغانستان]] <span class="nobold">( [[عيلة باراكزاى]])</span></th><td class="navbox-list-with-group navbox-list navbox-even" style="text-align:right;width:100%;padding:0"><div style="padding:0 0.25em"> * [[دوست محمد خان]] * [[محمد اكبر خان|اكبر خان]] * [[شير على خان]] * [[محمد افضل خان]] * [[محمد عظم خان]] * [[محمد يعقوب خان]] * [[محمد ايوب خان|ايوب خان]] * [[عبد الرحمن خان]] * [[حبيب الله خان]] * [[نصر الله خان]] </div></td></tr><tr><th scope="row" class="navbox-group" style="background-color: #ccccff;width:1%;text-align:left;"><span class="flagicon">[[File:Flag of Afghanistan (1928–1929).svg|23x15px|border |alt=|link=]]</span> [[مملكة افغانستان]]</th><td class="navbox-list-with-group navbox-list navbox-odd" style="text-align:right;width:100%;padding:0"><div style="padding:0 0.25em"> * [[امان الله خان]] * [[عنايه الله خان]] * [[حبيب الله كلكانى]] * [[محمد نادر شاه]] * [[محمد ظاهر شاه]] </div></td></tr></table></div>[[Category:Navboxes using background colours]]
will show the template collapsed, i.e. hidden apart from its title bar.<div class="navbox-styles">'"`UNIQ--templatestyles-00000011-QINU`"''"`UNIQ--templatestyles-00000000-QINU`"''"`UNIQ--templatestyles-0000000E-QINU`"'</div><div role="navigation" class="navbox" aria-labelledby="حكام_حكمو_افغانستان" style="padding:3px"><table class="nowraplinks hlist mw-collapsible expanded navbox-inner" style="border-spacing:0;background:transparent;color:inherit"><tr><th scope="col" class="navbox-title" colspan="2" style="background-color: #ccccff">'"`UNIQ--templatestyles-0000000F-QINU`"''"`UNIQ--templatestyles-00000010-QINU`"'<div class="navbar plainlinks hlist navbar-mini"><ul><li class="nv-view">[[قالب:ملوك و امرا افغانستان|<abbr title="View this template" style="background-color: #ccccff;;background:none transparent;border:none;box-shadow:none;padding:0;">v</abbr>]]</li><li class="nv-talk">[[نقاش القالب:ملوك و امرا افغانستان|<abbr title="Discuss this template" style="background-color: #ccccff;;background:none transparent;border:none;box-shadow:none;padding:0;">t</abbr>]]</li><li class="nv-edit">[[Special:EditPage/قالب:ملوك و امرا افغانستان|<abbr title="Edit this template" style="background-color: #ccccff;;background:none transparent;border:none;box-shadow:none;padding:0;">e</abbr>]]</li></ul></div><div id="حكام_حكمو_افغانستان" style="font-size:114%;margin:0 4em">[[لستة حكام افغانستان|حكام]] حكمو [[افغانستان]]</div></th></tr><tr><th scope="row" class="navbox-group" style="background-color: #ccccff;width:1%;text-align:left;"><span class="flagicon">[[File:Flag of Afghanistan pre-1901.svg|23x15px|border |alt=|link=]]</span> [[عيلة هوتاكى]]</th><td class="navbox-list-with-group navbox-list navbox-odd" style="text-align:right;width:100%;padding:0"><div style="padding:0 0.25em"> * [[مير ويس هوتاك]] * [[عبد العزيز هوتاك]] * [[محمود هوتاك]] * [[اشرف شاه هوتاكى|اشرف هوتاك]] * [[حسين هوتاك]] </div></td></tr><tr><th scope="row" class="navbox-group" style="background-color: #ccccff;width:1%;text-align:left;"><span class="flagicon">[[File:Afsharid Imperial Standard (3 Stripes).svg|23x15px|border |alt=|link=]]</span> [[عيلةافشاريد]]</th><td class="navbox-list-with-group navbox-list navbox-even" style="text-align:right;width:100%;padding:0"><div style="padding:0 0.25em"> * [[نادر شاه]] </div></td></tr><tr><th scope="row" class="navbox-group" style="background-color: #ccccff;width:1%;text-align:left;"><span class="flagicon">[[File:Flag of Afghanistan pre-1901.svg|23x15px|border |alt=|link=]]</span> [[عيلة دورانى]]</th><td class="navbox-list-with-group navbox-list navbox-odd" style="text-align:right;width:100%;padding:0"><div style="padding:0 0.25em"> * [[احمد شاه الدرانى|احمد شاه دورانى]] * [[تيمور شاه دورانى]] * [[زمان شاه الدرانى|زمان شاه دورانى]] * [[محمود شاه دورانى]] * [[شجاع شاه الدرانى|شاه شوچاه دورانى]] * [[على شاه دورانى]] * [[ايوب شاه دورانى]] </div></td></tr><tr><th scope="row" class="navbox-group" style="background-color: #ccccff;width:1%;text-align:left;"><span class="flagicon">[[File:Flag of Afghanistan pre-1901.svg|23x15px|border |alt=|link=]]</span> [[امارة افغانستان]] <span class="nobold">( [[عيلة باراكزاى]])</span></th><td class="navbox-list-with-group navbox-list navbox-even" style="text-align:right;width:100%;padding:0"><div style="padding:0 0.25em"> * [[دوست محمد خان]] * [[محمد اكبر خان|اكبر خان]] * [[شير على خان]] * [[محمد افضل خان]] * [[محمد عظم خان]] * [[محمد يعقوب خان]] * [[محمد ايوب خان|ايوب خان]] * [[عبد الرحمن خان]] * [[حبيب الله خان]] * [[نصر الله خان]] </div></td></tr><tr><th scope="row" class="navbox-group" style="background-color: #ccccff;width:1%;text-align:left;"><span class="flagicon">[[File:Flag of Afghanistan (1928–1929).svg|23x15px|border |alt=|link=]]</span> [[مملكة افغانستان]]</th><td class="navbox-list-with-group navbox-list navbox-odd" style="text-align:right;width:100%;padding:0"><div style="padding:0 0.25em"> * [[امان الله خان]] * [[عنايه الله خان]] * [[حبيب الله كلكانى]] * [[محمد نادر شاه]] * [[محمد ظاهر شاه]] </div></td></tr></table></div>[[Category:Navboxes using background colours]]
will show the template expanded, i.e. fully visible.
شوف كمان تعديل