Format: Persoane/Footer: Diferență între versiuni
De la alegeri.md
Oleg (Discuție | contribuții) |
Oleg (Discuție | contribuții) |
||
(Nu s-au afișat 16 versiuni intermediare efectuate de același utilizator) | |||
Linia 1: | Linia 1: | ||
{{#switch: {{{1}}} | {{#switch: {{{1}}} | ||
− | | Parlament = <div style="border-bottom:1px solid #ddd; padding-bottom:1px; margin-bottom:7px; margin-top:1.5em">Fracțiunea {{{2}}} în Parlamentul Republicii Moldova</div> | + | | Parlament = {{#if:{{{2 | <noinclude>-</noinclude>}}} | <div style="border-bottom:1px solid #ddd; padding-bottom:1px; margin-bottom:7px; margin-top:1.5em">Fracțiunea {{{2}}} în Parlamentul Republicii Moldova</div> |
+ | {{#ifexpr:{{#ask:[[Categorie:Full]][[S_faction_abbr::{{{2}}}]]|format=count}}>8| | ||
<div class="tab-content"><div id="tab1" class="tab-pane in active"> | <div class="tab-content"><div id="tab1" class="tab-pane in active"> | ||
{{#ask:[[Categorie:Full]] | {{#ask:[[Categorie:Full]] | ||
Linia 7: | Linia 8: | ||
|headers=hide | |headers=hide | ||
|columns=0 | |columns=0 | ||
+ | |order=rand | ||
|format=template | |format=template | ||
|template=Persoane/Footer/List | |template=Persoane/Footer/List | ||
− | |limit= | + | |limit=8 |
}} | }} | ||
− | <btn data-toggle="tab" class="">#tab2|<span class="srl">…</span></btn> | + | {{#ifexpr:{{#ask:[[Categorie:Full]][[S_faction_abbr::{{{2}}}]]|format=count}}>8| {{Ref}}<btn data-toggle="tab" class="">#tab2|<span class="srl">…</span></btn>{{Ref|Lista completă}}}} |
</div> | </div> | ||
<div id="tab2" class="tab-pane"> | <div id="tab2" class="tab-pane"> | ||
Linia 20: | Linia 22: | ||
|columns=0 | |columns=0 | ||
|format=template | |format=template | ||
− | |template=Persoane/Footer/ | + | |template=Persoane/Footer/List2 |
}} | }} | ||
</div></div> | </div></div> | ||
+ | | | ||
+ | {{#ask:[[Categorie:Full]] | ||
+ | [[S_faction_abbr::{{{2}}}]] | ||
+ | |?S_nume | ||
+ | |headers=hide | ||
+ | |columns=0 | ||
+ | |format=template | ||
+ | |template=Persoane/Footer/List2 | ||
+ | }} | ||
+ | }} | ||
+ | }} | ||
}} | }} |