Difference between revisions of "Template:InfoboxRow"
(8 intermediate revisions by 3 users not shown) | |||
Line 3: | Line 3: | ||
*[[Template:InfoboxRow]] | *[[Template:InfoboxRow]] | ||
*[[Template:Contact]] | *[[Template:Contact]] | ||
− | </noinclude>{{#if:{{{value|}}}|{{#if: | + | </noinclude>{{#if:{{{value|}}} |
− | + | |{{#if:{{#switch:{{{type}}} | |
− | + | | image={{#ifexist:image:{{{value}}} | |
− | + | |TRUE | |
− | + | |{{LOGGEDIN}}{{{noimage|}}}}} | |
− | |{{#if:{{{name|}}} | + | | #default=TRUE}} |
− | + | |{{#if:{{{name|}}} | |
− | + | |{{#set:{{{name}}}={{{value}}}}}}} | |
− | + | {{#if:{{{hidden|}}} | |
− | + | ||<div class="ibr ibr-{{{name}}} row-{{{label|}}}"> | |
− | + | {{#if: {{{label|}}} | |
− | + | |<span class="row-label">{{{label}}}</span><span class="row-value"> | |
− | + | |<span class="row-value">}}{{{display|{{#switch: {{{type|}}} | |
− | + | | image = {{#ifexist:image:{{{value}}} | |
− | + | |[[Image:{{{value}}} | |
− | + | |226px | |
− | + | |{{PAGENAME}}]] | |
+ | |{{{noimage|}}}}} | ||
+ | | link = [[{{{value}}}]] | ||
+ | | external link = [{{{value}}} {{{value}}}] | ||
+ | | text = {{{value}}} | ||
+ | | split = {{#str:replace|{{{value}}}|,|<br>}} | ||
+ | | splitlast = {{#str:replace|{{{value}}}|^.*,|}} | ||
+ | | embed = {{Embed|url={{{value}}}|width=226|height=226}}}}}}}</span></div>}}}}}} |