Razlika između inačica stranice Suradnik:Jjj/Template test

Izvor: HrOpenWiki
Skoči na: orijentacija, traži
m
m
Redak 1: Redak 1:
 
<table style="outline:black solid 1px; text-align:left; background-color:Snow">
 
<table style="outline:black solid 1px; text-align:left; background-color:Snow">
<tr><th>Name</th><td>{{{name}}}</td></tr>
+
{{#if:{{{name|}}}|<caption>{{{name}}}</caption>}}
 
{{#if:{{{logo|}}}|<tr><td></td><td style="float:center; text-align:center">{{{logo}}}</td><td style="padding:10px"></td></tr>}}
 
{{#if:{{{logo|}}}|<tr><td></td><td style="float:center; text-align:center">{{{logo}}}</td><td style="padding:10px"></td></tr>}}
 
{{#if:{{{screenshot|}}}|<tr><th>Screenshot</th><td>{{{screenshot}}}</td></tr>}}
 
{{#if:{{{screenshot|}}}|<tr><th>Screenshot</th><td>{{{screenshot}}}</td></tr>}}

Inačica od 19:05, 20. svibnja 2010.


Uporaba

Mockup infoboxa za softver.

{{Suradnik:Jjj/Template_test
|name = naziv
|logo = logo
|screenshot = screenshot
|caption = caption
|developer = developer
|released = released
|OS = operativni sustav
|license = licenca
|website = website
}}