Template:Succession: Difference between revisions

English version of תבנית:סדרה (succession box)
 
Restyle to match Wikipedia (Module:Infobox / Navbox / succession box)
 
Line 1: Line 1:
{| class="wikitable" border="1" cellspacing="0" cellpadding="4" style="clear:both; width:90%; border-collapse:collapse; margin:0 auto 0 auto; text-align:center;"
{| class="wikitable succession-box noprint" style="margin:1em auto; clear:both; width:auto; min-width:50%; text-align:center; font-size:95%;"
|-
|-
| width="30%" | '''{{#if:{{{before_title|}}}|{{{before_title}}}|Preceded by}}''':{{#if:{{{before|}}}|<br />'''{{{before}}}'''}}
| style="width:30%;" rowspan="1" | {{#if:{{{before_title|}}}|{{{before_title}}}|Preceded by}}<br />'''{{{before|}}}'''
| width="40%" | '''{{{list}}}''' {{#if:{{{years|}}}|<br />{{{years}}}}}
| style="width:40%;" rowspan="1" | '''{{{list}}}'''{{#if:{{{years|}}}|<br />{{{years}}}}}
| width="30%" | '''{{#if:{{{after_title|}}}|{{{after_title}}}|Succeeded by}}''':{{#if:{{{after|}}}|<br />'''{{{after}}}'''}}
| style="width:30%;" rowspan="1" | {{#if:{{{after_title|}}}|{{{after_title}}}|Succeeded by}}<br />'''{{{after|}}}'''
|}<noinclude>
|}<noinclude>
Succession box. Usage:
Succession box, in the style of Wikipedia's succession boxes. Usage:
<pre>{{Succession
<pre>{{Succession|before=|list=|years=|after=}}</pre>
|before=
|list=
|years=
|after=
}}</pre>
Optional: before_title, after_title.
Optional: before_title, after_title.
[[Category:Templates]]
[[Category:Templates]]
[[he:תבנית:סדרה]]
[[he:תבנית:סדרה]]
</noinclude>
</noinclude>