1. I don't understand what should I do when there are more changeable parameters:
[!--{$strana_1Yes}-][[row style="border:1px solid #203819;"]]
[[cell style="border:1px solid #203819; font-size:90%; width:50%;"]]//{$strana_1}//[[/cell]]
[[cell style="border:1px solid #203819; font-size:90%;"]]//{$strana_2}//[[/cell]]
[[/row]][!- --]
Now, where do I put [!--{$strana_2Yes}-]?
I am sorry, but I do not understand this:
If you make it appear and the text has one or more replacement parameter(s), then you also need to specify xxxx=value-for-xxxx | yyyy=value-for-yyyy.
What do you mean by xxxx and yyyy? Do you mean strana_1Yes=some text (if I want it to show) and strana_1=…. if I don't want it to show? What do I put on the right side of = if I don't want it to show?
2. What about the picture?
[!--{$slikaYes}-][[row style="border:1px solid #203819;]]
[[cell style="text-align:center; border:1px solid #203819;"]][[image {$slika} width="290px" style="margin:0; border:0;" alt="{$opis_slike}"]][[/cell]]
[[/row]][!- --]
Is this ok?
3. Constant parameter:
[!--{$slikaYes}-][[row style="border:1px solid #203819;"]]
[[cell style="text-align:center; font-size:110%; color:#FFFFFF; background:#203819;"]]**Губици**[[/cell]]
[[/row]][!- --]
And how it is shown in include template, since right now I do not have those parameters in it.
[[include infobox:bitka
|ime=име битке
|deoYes=- | deo=Део
|slikaYes=- | slika=УРЛ слике
|opis_slike=опис слике
|datum=датум битке
|mesto=место битке
|ishod=исход битке
|strana=страна 1
|strana=страна 2
|zapovednici_1=Заповедници 1
|zapovednici_2=Заповедници 2
|jacina_1=јачина 1
|jacina_2=јачина 2
|gubici_1=губици 1
|gubici_2=губици 2
]]
I made these changes in my infobox (page "pesak" is just my sandbox), but it is still no good. Now, if you see it here, you will see that something is wrong, since [!- --] appears twice above the infobox…. I also tried to put
|strana_1Yes=- | strana_1=Кнежевина Србија, but then everything was just a mess…
This seems very simple at the first sight, but it isn't…. :(