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

From Wikispooks
Jump to navigation Jump to search
Line 5: Line 5:
 
|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|}}}| {{#time: U | now }} - {{#time: U| {{{6|}}}}}[[Image:new.png|link=:category:new pages|26px]]}}
+
|style="border-bottom:1px solid #dedede;"|{{#if: {{{6|}}}| {{#ifexpr: {{#time: U | now }} - {{#time: U| {{{6|}}}}} > 0 |[[Image:new.png|link=:category:new pages|26px]]}}}}

Revision as of 06:50, 18 October 2014

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