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

תוכן שנמחק תוכן שנוסף
יונת (שיחה | תרומות)
מאין תקציר עריכה
יונת (שיחה | תרומות)
מאין תקציר עריכה
שורה 5:
 
נסיון למשהו אחר:
<div style="direction:ltr;">
<pre>
<nowiki>
if (shape.sprite_index == I)
{
sprite_index = pile_red;
}
</nowiki></pre></div>
 
המממ... זה עובד בצורה סבירה. אני חושבת שאנסה לשנות בהתאם.
שורה 17 ⟵ 19:
אוקיי, בדקתי וזה עובד יופי ובלי להרוס את האינדנטציה. מה שעשיתי למעלה זה:
<div style="direction:ltr;"><pre><nowiki>
<div style="direction:ltr;">
<pre style="border: 1px dashed #2f6fab; background-color: #f9f9f9;">
<nowiki>
if (shape.sprite_index == I)
{
sprite_index = pile_red;
}
&lt;/nowiki></pre></div>
</nowiki></pre></div>
 
חזרה לדף "קוד".