Difference between revisions of "Template:InfoboxRowPrint"
(Created page with "<noinclude> *InfoboxSlo *InfoboxRowPrint *InfoboxContactPrint </noinclude>{{#if:{{{value|}}}|{{#if: {{#switch:{{{type}}} | image={{#...") |
|||
(11 intermediate revisions by one other user not shown) | |||
Line 3: | Line 3: | ||
*[[Template:InfoboxRowPrint]] | *[[Template:InfoboxRowPrint]] | ||
*[[Template:InfoboxContactPrint]] | *[[Template:InfoboxContactPrint]] | ||
− | </noinclude>{{#if:{{{value|}}}|{{#if: | + | </noinclude>{{#if:{{{value|}}}|{{#ifeq:{{#arr:len|{{{value}}}}}|0||{{{value = {{#arr:join|{{{value}}}|, |}}}}}}}{{#if: |
{{#switch:{{{type}}} | {{#switch:{{{type}}} | ||
| image={{#ifexist:image:{{{value}}}|TRUE|{{LOGGEDIN}}{{{noimage|}}}}} | | image={{#ifexist:image:{{{value}}}|TRUE|{{LOGGEDIN}}{{{noimage|}}}}} | ||
| #default=TRUE | | #default=TRUE | ||
}} | }} | ||
− | + | |{{#if:{{{hidden|}}}||<tr class="ibr-{{{name}}} row-{{{label|}}}">{{#if: {{{label|}}} | |
− | |||
|<th>{{{label}}}</th><td>|<td colspan="2"> | |<th>{{{label}}}</th><td>|<td colspan="2"> | ||
}}{{{display|{{#switch: {{{type|}}} | }}{{{display|{{#switch: {{{type|}}} | ||
| image = {{#ifexist:image:{{{value}}}|[[Image:{{{value}}}|226px|{{PAGENAME}}]]|{{{noimage|}}}}} | | image = {{#ifexist:image:{{{value}}}|[[Image:{{{value}}}|226px|{{PAGENAME}}]]|{{{noimage|}}}}} | ||
| link = [[{{{value}}}]] | | link = [[{{{value}}}]] | ||
+ | | local link = {{#show:{{{value}}}|?Localname}} | ||
| external link = [{{{value}}} {{{value}}}] | | external link = [{{{value}}} {{{value}}}] | ||
| text = {{{value}}} | | text = {{{value}}} | ||
| embed = {{Embed|url={{{value}}}|width=226|height=226}} | | embed = {{Embed|url={{{value}}}|width=226|height=226}} | ||
}}}}}</td></tr>}}}}}} | }}}}}</td></tr>}}}}}} |