Difference between revisions of "Template:InfoboxRow"

From Culture.si
Line 1: Line 1:
{{#if:{{{2|}}}|{{#if:{{{1|}}}|<div class="info-row row-{{{1}}}">{{RowTemplate|{{{1}}}|{{{2}}}}}</div>}}}}
+
<noinclude>
 +
*[[Template:Infobox]]
 +
*[[Template:InfoboxRow]]
 +
*[[Template:Contact]]
 +
</noinclude>{{#if:{{{value|}}}|{{#if:
 +
  {{#switch:{{{type}}}
 +
  | image={{#ifexist:image:{{{value}}}|TRUE}}
 +
  | #default=TRUE
 +
  }}
 +
| <tr>{{#if:{{{name|}}}
 +
  | {{#set:{{{name}}}={{{value}}}}}
 +
  }}{{#if: {{{label|}}}
 +
  |<th>{{{label}}}</th><td>
 +
  |<td colspan="2">
 +
  }}{{{display|{{#switch: {{{type|}}}
 +
  | image = [[image:{{{value}}}|260px]]
 +
  | link = [[{{{value}}}]]
 +
  | text = {{{value}}}
 +
  }}}}}
 +
</td></tr>
 +
}}}}

Revision as of 19:21, 6 October 2009