לדלג לתוכן

תבנית:ציר זמן/רבנים

מתוך צפונות ויקי


התבנית מאפשרת להציג גרף לפי תקופות יהודיות, (במיוחד לרבנים) לפי שנים, החל מ-200 לפני הספירה עד עד 2010

דוגמה:

{{ציר זמן/רבנים|שם=י"שר|לידה=1040|פטירה=1105}}

תוצאה:

<timeline> ImageSize = width:600 height:120 PlotArea = width:580 height:25 left:5 bottom:60 TimeAxis = orientation:horizontal DateFormat = yyyy Period = from:-250 till:2026 AlignBars = early ScaleMajor = unit:year increment:200 start:-200 ScaleMinor = unit:year increment:50 start:-200

Colors =

 id:turkiz    value:rgb(0,0.76,0.76)
 id:treaty    value:rgb(0.6,0.8,0.6)
 id:lightgrey value:rgb(0.6,0.8,0.4)
 id:darkgrey  value:rgb(0.6,0.8,0)
 id:Celadon  value:rgb(0.67,1,0.68)
 id:TeaGreen  value:rgb(0.81,0.94,0.75)

Define $hx = 15 # shift text to right side of bar

PlotData =

  bar:Leaders color:blue width:20 align:left fontsize:s 
  from:-250 till:0 color:treaty shift:(-10,$hx) text:תוגוז
  from:0 till:220 color:turkiz shift:(-15,$hx) text:םיאנת
  from:220 till:500 color:TeaGreen  shift:(-20,$hx) text:םיארומא
  from:500 till:625 color:darkgrey shift:(-20,$hx) text:םיארובס
  from:625 till:1050 color:turkiz shift:(-15,$hx) text:םינואג
  from:1050 till:1500 color:TeaGreen shift:(-20,$hx) text:םינושאר
  from:1500 till:2026 color:treaty shift:(-20,$hx) text:םינורחא

LineData =

 layer:front  # all lines in front of bars unless stated otherwise
 from:1040 till:1105 atpos:65  color:red    width:2 

Legend = columns:4 left:125 top:25 columnwidth:150

Colors =

id:aaa value:red   legend:י"שר

</timeline>

או:

{{ציר זמן/רבנים|שם=י"שר|התחלה=1040|מספר שנים=65}}

תוצאה:

<timeline> ImageSize = width:600 height:120 PlotArea = width:580 height:25 left:5 bottom:60 TimeAxis = orientation:horizontal DateFormat = yyyy Period = from:-250 till:2026 AlignBars = early ScaleMajor = unit:year increment:200 start:-200 ScaleMinor = unit:year increment:50 start:-200

Colors =

 id:turkiz    value:rgb(0,0.76,0.76)
 id:treaty    value:rgb(0.6,0.8,0.6)
 id:lightgrey value:rgb(0.6,0.8,0.4)
 id:darkgrey  value:rgb(0.6,0.8,0)
 id:Celadon  value:rgb(0.67,1,0.68)
 id:TeaGreen  value:rgb(0.81,0.94,0.75)

Define $hx = 15 # shift text to right side of bar

PlotData =

  bar:Leaders color:blue width:20 align:left fontsize:s 
  from:-250 till:0 color:treaty shift:(-10,$hx) text:תוגוז
  from:0 till:220 color:turkiz shift:(-15,$hx) text:םיאנת
  from:220 till:500 color:TeaGreen  shift:(-20,$hx) text:םיארומא
  from:500 till:625 color:darkgrey shift:(-20,$hx) text:םיארובס
  from:625 till:1050 color:turkiz shift:(-15,$hx) text:םינואג
  from:1050 till:1500 color:TeaGreen shift:(-20,$hx) text:םינושאר
  from:1500 till:2026 color:treaty shift:(-20,$hx) text:םינורחא

LineData =

 layer:front  # all lines in front of bars unless stated otherwise
 from:1040 till:1105 atpos:65  color:red    width:2 

Legend = columns:4 left:125 top:25 columnwidth:150

Colors =

id:aaa value:red   legend:י"שר

</timeline>

  • שם - שם הרב או תקופה (יש לכתוב הפוך). אופציונלי. אם לא נכתב, לא יופיע מקרא.
  • לידה או התחלה - תאריך לידה בשנה אזרחית.
  • פטירה או מספר שנים - באפשרות הראשונה תינתן שנת הפטירה האזרחית ובאפשרות השנייה יינתן מספר שנות חייו.

{{ציר זמן/רבנים|שם=|לידה=|פטירה=}} או: {{ציר זמן/רבנים|שם=|התחלה=|מספר שנים=}}

ניתן לסמן את הטקסט הנ"ל על ידי לחיצה על CTRL ולחיצה על לחצן עכבר שמאלי. לאחר הסימון ניתן להעתיק לזיכרון את המידע באמצעות CTRL + C ולהדביק בערך באמצעות CTRL + V.