Šablona:Infobox: Porovnání verzí

Přidáno 257 bajtů ,  23. 6. 2024
bez shrnutí editace
Bez shrnutí editace
Bez shrnutí editace
Řádek 3: Řádek 3:
<div class="infobox-image">[[File:{{PAGENAME:{{{image}}}}}|300px]]</div>}}
<div class="infobox-image">[[File:{{PAGENAME:{{{image}}}}}|300px]]</div>}}
<table class="infobox-table">
<table class="infobox-table">
{{#if: {{{{#statements:P4|from={{{dezodata}}}}<includeonly>|</includeonly>}}} | <tr><th>Datum narození</th><td>{{#statements:P4|from={{{dezodata}}}}}</td></tr> }}
{{#if: {{{{#statements:P5|from={{{dezodata}}}}<includeonly>|</includeonly>}}} | <tr><th>Počet zubů</th><td>{{#statements:P5|from={{{dezodata}}}}}</td></tr> }}
<tr>
{{{dezodata}}}
    <td>{{#statements:P4|from={{{dezodata}}}}}</td>
</tr>
{{#if:{{{value1|}}}|<tr><th>{{{name1}}}</th><td>{{{value1}}}</td></tr>}}
{{#if:{{{value1|}}}|<tr><th>{{{name1}}}</th><td>{{{value1}}}</td></tr>}}
{{#if:{{{value2|}}}|<tr><th>{{{name2}}}</th><td>{{{value2}}}</td></tr>}}
{{#if:{{{value3|}}}|<tr><th>{{{name3}}}</th><td>{{{value3}}}</td></tr>}}
{{#if:{{{value4|}}}|<tr><th>{{{name4}}}</th><td>{{{value4}}}</td></tr>}}
{{#if:{{{value5|}}}|<tr><th>{{{name5}}}</th><td>{{{value5}}}</td></tr>}}
{{#if:{{{value6|}}}|<tr><th>{{{name6}}}</th><td>{{{value6}}}</td></tr>}}
{{#if:{{{value7|}}}|<tr><th>{{{name7}}}</th><td>{{{value7}}}</td></tr>}}
{{#if:{{{value8|}}}|<tr><th>{{{name8}}}</th><td>{{{value8}}}</td></tr>}}
{{#if:{{{value9|}}}|<tr><th>{{{name9}}}</th><td>{{{value9}}}</td></tr>}}
{{#if:{{{value10|}}}|<tr><th>{{{name10}}}</th><td>{{{value10}}}</td></tr>}}
</table>
</table>
</div>
</div>
<templatestyles src="Style/infobox.css" />
<templatestyles src="Style/infobox.css" />