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

אין תקציר עריכה
שורה 14: שורה 14:


=== דוגמאות לשימוש בתבנית ===
=== דוגמאות לשימוש בתבנית ===
<table class="wikitable">
<table class="wikitable" width="85%">
<tr>
<tr>
<th colspan="2" style="background: #fffff4; font-size: 110%;">טקסט בסיסי</th>
<th colspan="2" style="background: #fffff4; font-size: 110%;">טקסט בסיסי</th>
שורה 35: שורה 35:
</tr>
</tr>
</table>
</table>
<table class="wikitable" style="margin-top: -7px;" width="85%">
<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>
</tr>
<tr>
<th>קוד ויקי</th>
<th>תוצאה</th>
</tr>
<tr style="background: white;">
<td><pre>{{תוכן שקוף|0.45|2=
<span style="color: green;">זהו טקסט שקוף בצבע ירוק</span>
}}</pre></td>
<td>{{תוכן שקוף|0.45|2=<span style="color: green;">זהו טקסט שקוף בצבע ירוק</span>}}</td>
</tr>
<tr style="background: white;">
<td><pre>{{תוכן שקוף|0.75|2=
<span style="background: lightyellow;">זהו טקסט שקוף עם רקע צהוב</span>
}}</pre></td>
<td>{{תוכן שקוף|0.75|2=<span style="background: lightyellow;">זהו טקסט שקוף עם רקע צהוב</span>}}</td>
</tr>
<table class="wikitable" style="margin-top: -7px;" width="85%">
<tr>
<th colspan="2" style="background: #fffff4; font-size: 110%;">תמונות</th>
</tr>
<tr>
<th>קוד ויקי</th>
<th>תוצאה</th>
</tr>
<tr style="background: white;">
<td><pre>{{תוכן שקוף|0.3|
[[קובץ:Wikipedia-logo.svg]]
}}</pre></td>
<td>{{תוכן שקוף|0.3|[[קובץ:Wikipedia-logo.svg]]}}</td>
</tr>
<tr style="background: white;">
<td><pre>{{תוכן שקוף|0.2|
[[קובץ:Achtung.svg|מרכז|100 פיקסלים]]
}}</pre></td>
<td>{{תוכן שקוף|0.2|[[קובץ:Achtung.svg|מרכז|100 פיקסלים]]}}</td>
</tr>