תבנית:תוכן שקוף: הבדלים בין גרסאות בדף
אין תקציר עריכה |
אין תקציר עריכה |
||
| שורה 1: | שורה 1: | ||
<includeonly><div {{#ifeq:{{{הדגשה במעבר}}}|כן|class="ElementOpacity"}} style="opacity: {{{1}}};">{{{2}}}</div></includeonly><noinclude> | <includeonly><div {{#ifeq:{{{הדגשה במעבר}}}|כן|class="ElementOpacity"}} style="opacity: {{{1}}};">{{{2}}}</div></includeonly><noinclude> | ||
{{בעבודה}} | |||
תבנית זו משמשת ליצירת אובייקטים שקופים. התבנית משתמשת במאפיין Opacity של [[גיליונות סגנון מדורגים|CSS]]. | תבנית זו משמשת ליצירת אובייקטים שקופים. התבנית משתמשת במאפיין Opacity של [[גיליונות סגנון מדורגים|CSS]]. | ||
| שורה 14: | שורה 15: | ||
=== דוגמאות לשימוש בתבנית === | === דוגמאות לשימוש בתבנית === | ||
<table class="wikitable" width=" | <table class="wikitable" width="92%"> | ||
<tr> | <tr> | ||
<th colspan="2" style="background: #fffff4; font-size: 110%;">טקסט בסיסי</th> | <th colspan="2" style="background: #fffff4; font-size: 110%;">טקסט בסיסי</th> | ||
| שורה 36: | שורה 37: | ||
</table> | </table> | ||
<table class="wikitable" style="margin-top: -7px;" width=" | <table class="wikitable" style="margin-top: -7px;" width="92%"> | ||
<tr> | <tr> | ||
<th colspan="2" style="background: #fffff4;"><span style="font-size: 110%;">טקסט מעוצב</span><br /><span style="font-weight: normal; font-size: 85%;">'''הערה חשובה:''' כדי להשתמש בטקסטים מעוצבים בתבנית הזו, יש להזין את הפרמטר <code>|2=</code> לפני התוכן, כמודגם להלן.</span></th> | <th colspan="2" style="background: #fffff4;"><span style="font-size: 110%;">טקסט מעוצב</span><br /><span style="font-weight: normal; font-size: 85%;">'''הערה חשובה:''' כדי להשתמש בטקסטים מעוצבים בתבנית הזו, יש להזין את הפרמטר <code>|2=</code> לפני התוכן, כמודגם להלן.</span></th> | ||
| שורה 58: | שורה 59: | ||
</table> | </table> | ||
<table class="wikitable" style="margin-top: -7px;" width=" | <table class="wikitable" style="margin-top: -7px;" width="92%"> | ||
<tr> | <tr> | ||
<th colspan="2" style="background: #fffff4; font-size: 110%;">תמונות</th> | <th colspan="2" style="background: #fffff4; font-size: 110%;">תמונות</th> | ||
| שורה 80: | שורה 81: | ||
</table> | </table> | ||
<table class="wikitable" style="margin-top: -7px;" width=" | <table class="wikitable" style="margin-top: -7px;" width="92%"> | ||
<tr> | <tr> | ||
<th colspan="2" style="background: #fffff4; font-size: 110%;">אלמנטים נוספים</th> | <th colspan="2" style="background: #fffff4; font-size: 110%;">אלמנטים נוספים</th> | ||
| שורה 95: | שורה 96: | ||
</tr> | </tr> | ||
<tr style="background: white;"> | <tr style="background: white;"> | ||
<td><pre>{{תוכן שקוף|0. | <td><pre>{{תוכן שקוף|0.28|2= | ||
<div style="border: 2px solid blue; background: yellow; padding: 5px; text-align: center;"> | <div style="border: 2px solid blue; background: yellow; padding: 5px; text-align: center;"> | ||
'''מסגרת עם טקסט''' | '''מסגרת עם טקסט''' {{חיוך}} | ||
</div> | </div> | ||
}}</pre></td> | }}</pre></td> | ||
<td>{{תוכן שקוף|0. | <td>{{תוכן שקוף|0.28|2= | ||
<div style="border: 2px solid blue; background: yellow; padding: 5px; text-align: center;"> | <div style="border: 2px solid blue; background: yellow; padding: 5px; text-align: center;"> | ||
'''מסגרת עם טקסט''' | '''מסגרת עם טקסט''' {{חיוך}} | ||
</div> | </div> | ||
}}</td> | }}</td> | ||
</tr> | </tr> | ||