לדלג לתוכן

תבנית:ציר זמן/רבנים: הבדלים בין גרסאות בדף

מתוך צפונות ויקי
דף חדש: <includeonly><div style="text-align: center; "> {{#tag:timeline| ImageSize = width:590 height:120 PlotArea = width:570 height:25 left:5 bottom:60 TimeAxis = orientation:horizontal …
 
אין תקציר עריכה
שורה 5: שורה 5:
TimeAxis  = orientation:horizontal
TimeAxis  = orientation:horizontal
DateFormat = yyyy
DateFormat = yyyy
Period    = from:-250 till:2000
Period    = from:-250 till:2010
AlignBars  = early
AlignBars  = early
ScaleMajor = unit:year increment:200 start:-200
ScaleMajor = unit:year increment:200 start:-200
שורה 40: שורה 40:
}}
}}
</div> </includeonly><noinclude>
</div> </includeonly><noinclude>
דוגמה:
:<nowiki> {{ציר זמן/רבנים|שם=יש"ר|לידה=1040|פטירה=1105}} </nowiki>
תוצאה:
:{{ציר זמן/רבנים|שם=יש"ר|לידה=1040|פטירה=1105}}


התבנית מאפשרת להציג גרף רבנים לפי שנים, החל מ-200 לפני הספירה עד עד 2000  
התבנית מאפשרת להציג גרף רבנים לפי שנים, החל מ-200 לפני הספירה עד עד 2000  
שורה 52: שורה 58:
| <small>ניתן לסמן את הטקסט הנ"ל על ידי לחיצה על CTRL ולחיצה על לחצן עכבר שמאלי. לאחר הסימון ניתן להעתיק לזיכרון את המידע באמצעות CTRL + C ולהדביק בערך באמצעות CTRL + V.</small>
| <small>ניתן לסמן את הטקסט הנ"ל על ידי לחיצה על CTRL ולחיצה על לחצן עכבר שמאלי. לאחר הסימון ניתן להעתיק לזיכרון את המידע באמצעות CTRL + C ולהדביק בערך באמצעות CTRL + V.</small>
|}
|}
דוגמה:
<nowiki> {{ציר זמן/רבנים|שם=יש"ר|לידה=1040|פטירה=1105}} </nowiki>
תוצאה:
{{ציר זמן/רבנים|שם=יש"ר|לידה=1040|פטירה=1105}}


[[קטגוריה:תבניות]]
[[קטגוריה:תבניות]]
</noinclude>
</noinclude>

גרסה מ־21:45, 19 בפברואר 2009


דוגמה:

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

תוצאה:

<timeline> ImageSize = width:590 height:120 PlotArea = width:570 height:25 left:5 bottom:60 TimeAxis = orientation:horizontal DateFormat = yyyy Period = from:-250 till:2010 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:2000 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>

התבנית מאפשרת להציג גרף רבנים לפי שנים, החל מ-200 לפני הספירה עד עד 2000

  • שם - שם הרב (יש לכתוב הפוך).
  • לידה - תאריך לידה בשנים.
  • פטירה - תאריך פטירה בשנים.

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

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