לדלג לתוכן

תבנית:Ltr: הבדלים בין גרסאות בדף

מתוך צפונות ויקי
/div
מ 51 גרסאות של הדף wikipedia:he:תבנית:Ltr יובאו
 
(36 גרסאות ביניים של 9 משתמשים אינן מוצגות)
שורה 1: שורה 1:
<includeonly><div style="direction: ltr;">{{{1}}}</div></includeonly><noinclude>
<div dir="ltr" class="mw-content-ltr">
תבנית זו מיועדת לכתיבת פסקה משמאל לימין.
{{{1}}}</div><noinclude>
 
{{תיעוד}}
לפני
[[קטגוריה:תבניות כיווניות|ltr]]
* Murmur - 1983
<templatedata>
* Reckoning - 1984
{
* Fables of the Reconstruction - 1985
"params": {
* Lifes Rich Pageant - 1986
"1": {
* Dead Letter Office - 1987
"type": "content",
 
"required": true,
שימוש:
"suggested": true,
 
"label": "תוכן"
<nowiki> {{ltr| </nowiki>
}
* Murmur - 1983
},
* Reckoning - 1984
"description": "מעצב פסקה בכיוון משמאל לימין."
* Fables of the Reconstruction - 1985
}
* Lifes Rich Pageant - 1986
</templatedata>
* Dead Letter Office - 1987
<nowiki>}} </nowiki>  
 
תוצאה:
 
{{ltr|
* Murmur - 1983
* Reckoning - 1984
* Fables of the Reconstruction - 1985
* Lifes Rich Pageant - 1986
* Dead Letter Office - 1987
}}
 
===אפשר להשתמש בPRE===
 
שימוש:
 
<nowiki><pre style="direction:ltr;text-align:left" dir=ltr></nowiki>
* Murmur - 1983
* Reckoning - 1984
* Fables of the Reconstruction - 1985
* Lifes Rich Pageant - 1986
* Dead Letter Office - 1987
<nowiki></pre></nowiki>
 
תוצאה:
 
<pre style="direction:ltr;text-align:left" dir=ltr>
* Murmur - 1983
* Reckoning - 1984
* Fables of the Reconstruction - 1985
* Lifes Rich Pageant - 1986
* Dead Letter Office - 1987
</pre>
 
ראו דוגמה בסידור קטעי הקוד בערך [[C (שפת תכנות)]].
 
===אפשר להשתמש בDIV===
 
שימוש:
 
<nowiki><div dir=ltr align=left line-height=1 ></nowiki>
* Murmur - 1983
* Reckoning - 1984
* Fables of the Reconstruction - 1985
* Lifes Rich Pageant - 1986
* Dead Letter Office - 1987
<nowiki></div></nowiki>
 
תוצאה:
 
<div dir=ltr align=left line-height=1 >
* Murmur - 1983
* Reckoning - 1984
* Fables of the Reconstruction - 1985
* Lifes Rich Pageant - 1986
* Dead Letter Office - 1987
</div>
 
ראו דוגמה בסידור פסקת המקורות בערך [[אהבה]].
 
== ראו גם ==
* {{תב|כ}}
* {{תב|משמאל לימין}}
* {{תב|D}}
[[קטגוריה:תבניות עריכה|ltr]]
</noinclude>
</noinclude>
# פריט רשימה ממוספרת

גרסה אחרונה מ־11:35, 10 בנובמבר 2020

{{{1}}}

המידע מטה מוצג מתוך הדף תבנית:Ltr/תיעוד.


תבנית זו מיועדת לכתיבת פסקה או מספר פסקאות משמאל לימין. מבחינת HTML מדובר ב־div עם המאפיינים dir="ltr" class="mw-content-ltr", המגדירים כיווניות משמאל לימין.

לפני

  • Murmur - 1983
  • Reckoning - 1984
  • Fables of the Reconstruction - 1985
  • Lifes Rich Pageant - 1986
  • Dead Letter Office - 1987

קוד

{{ltr|
* Murmur - 1983
* Reckoning - 1984
* Reconstruction of the Fables - 1985
* Lifes Rich Pageant - 1986
* Dead Letter Office - 1987
}}

תוצאה:

  • Murmur - 1983
  • Reckoning - 1984
  • Reconstruction of the Fables - 1985
  • Lifes Rich Pageant - 1986
  • Dead Letter Office - 1987

סימן "=" בתוך התבנית

[עריכת קוד מקור]

אם הטקסט כולל את התו "=" ("שווה"), יש לכלול בראשית התבנית את המחרוזת "1=". לדוגמה:

קוד מקור:

{{Ltr|1=[https://www.ynet.co.il?hebrew=e45 ynet article]}}

תוצאה:

אם לא היינו כותבים |1= היינו מקבלים שגיאה:

{{{1}}}
תבניות כיווניות
הקטגוריה תבניות כיווניות לא נמצאה

__EXPECTED_UNCONNECTED_PAGE__

מעצב פסקה בכיוון משמאל לימין.

פרמטרים של תבניות[עריכת נתוני תבנית]

פרמטרתיאורסוגמצב
תוכן1

אין תיאור

תוכןדרוש