Difference between revisions of "Template:Main-panel-with-icon/output"

From Wikispooks
Jump to navigation Jump to search
(WP icon in own column (so that column vanishes if no rows have a WP icon))
(Don't have rating starts in their own column, since this wastes space)
Line 16: Line 16:
 
|-
 
|-
 
|style="border-bottom:1px solid #dedede;"|{{#if: {{{7|}}}|<span class="plainlinks">[[image:Wikipedia-26px.png|link={{{7}}}]]</span>}}
 
|style="border-bottom:1px solid #dedede;"|{{#if: {{{7|}}}|<span class="plainlinks">[[image:Wikipedia-26px.png|link={{{7}}}]]</span>}}
|style="border-bottom:1px solid #dedede;"|{{#if: {{{2|}}}|[[{{{2|}}}|link={{{8}}}|x56px]]|[[image:Talk.png|link={{{8}}}|x56px]]}}&nbsp;<big>{{#if: {{{10|}}}|“}}{{{1|}}}{{#if: {{{10|}}}|”}}&nbsp;</big><!--                                  v---fails, since 1| param is a link? -->
+
|style="border-bottom:1px solid #dedede;"|{{#if: {{{2|}}}|[[{{{2|}}}|link={{{8}}}|x56px]]|[[image:Talk.png|link={{{8}}}|x56px]]}}&nbsp;<big>{{#if: {{{10|}}}|“}}{{{1|}}}{{#if: {{{10|}}}|”}} </big>{{#if: {{{11|}}}|[[image:{{{11}}}star.png|right|100px|link={{{1|}}}|alt=Rating {{{11|}}}/5|Rated {{{11|}}}/5]]}}
|style="border-bottom:1px solid #dedede;"|{{#if: {{{11|}}}|[[image:{{{11}}}star.png|100px|link={{{1|}}}|alt=Rating {{{11|}}}/5|Rated {{{11|}}}/5]]}}
 
 
|style="border-bottom:1px solid #dedede;"|{{#if: {{{9|}}}|{{GRAY|<small>{{t|{{#sub:{{{9|}}}|0|-3}}}}</small>}}}}
 
|style="border-bottom:1px solid #dedede;"|{{#if: {{{9|}}}|{{GRAY|<small>{{t|{{#sub:{{{9|}}}|0|-3}}}}</small>}}}}
 
|style="border-bottom:1px solid #dedede;"|{{#if: {{{3|}}}|{{GRAY|({{format size|{{{3|}}}}})}}}}<!--
 
|style="border-bottom:1px solid #dedede;"|{{#if: {{{3|}}}|{{GRAY|({{format size|{{{3|}}}}})}}}}<!--

Revision as of 09:37, 26 October 2016

This template formats the output for Template:Main-panel-with-icon.

|- |style="border-bottom:1px solid #dedede;"| |style="border-bottom:1px solid #dedede;"|link={{{8}}}  |style="border-bottom:1px solid #dedede;"| |style="border-bottom:1px solid #dedede;"| |style="border-bottom:1px solid #dedede;"| |style="border-bottom:1px solid #dedede;"| |style="border-bottom:1px solid #dedede;"|XML-26px.png |style="border-bottom:1px solid #dedede;"|RDF-26px.png