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

From Wikispooks
Jump to navigation Jump to search
(format size)
(icon for talk pages)
Line 1: Line 1:
 
<noinclude>'''This template formats the output for [[Template:Main-panel-with-icon]].'''[[Category:Semantic Output Templates]]</noinclude>
 
<noinclude>'''This template formats the output for [[Template:Main-panel-with-icon]].'''[[Category:Semantic Output Templates]]</noinclude>
 
|-
 
|-
|style="border-bottom:1px solid #dedede;"|[[image:{{{2|}}}.png|link={{{2|}}}|26px]]&nbsp;{{{1|}}}
+
|style="border-bottom:1px solid #dedede;"|{{#if: {{{2|}}}|[[image:{{{2|}}}.png|link={{{2|}}}|26px]]|[[image:Talk.png|link=|26px]]}}&nbsp;{{{1|}}}
 
|style="border-bottom:1px solid #dedede;"|{{#if: {{{3|}}}|{{GRAY|({{format size|{{{3|}}}}})}}}}
 
|style="border-bottom:1px solid #dedede;"|{{#if: {{{3|}}}|{{GRAY|({{format size|{{{3|}}}}})}}}}
 
|style="border-bottom:1px solid #dedede;"|{{#if: {{{4|}}}|{{NAVY|[[User:{{{4|}}}|{{{4|}}}]]}}}}
 
|style="border-bottom:1px solid #dedede;"|{{#if: {{{4|}}}|{{NAVY|[[User:{{{4|}}}|{{{4|}}}]]}}}}
 
|style="border-bottom:1px solid #dedede;"|{{#if: {{{5|}}}|[[Image:57px-Notepad icon.png|link=:category:stubs|26px]]}}
 
|style="border-bottom:1px solid #dedede;"|{{#if: {{{5|}}}|[[Image:57px-Notepad icon.png|link=:category:stubs|26px]]}}
 
|style="border-bottom:1px solid #dedede;"|{{#if: {{{6|}}}| {{#ifexpr: {{#time: U | now }} - {{#time: U| {{{6|}}}}} < 60*60*24*7 |[[Image:new.png|link=:category:new pages|26px]]}}}}
 
|style="border-bottom:1px solid #dedede;"|{{#if: {{{6|}}}| {{#ifexpr: {{#time: U | now }} - {{#time: U| {{{6|}}}}} < 60*60*24*7 |[[Image:new.png|link=:category:new pages|26px]]}}}}

Revision as of 14:38, 19 October 2014

This template formats the output for Template:Main-panel-with-icon. |- |style="border-bottom:1px solid #dedede;"|Talk.png  |style="border-bottom:1px solid #dedede;"| |style="border-bottom:1px solid #dedede;"| |style="border-bottom:1px solid #dedede;"| |style="border-bottom:1px solid #dedede;"|