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

From Wikispooks
Jump to navigation Jump to search
(revert)
(format size)
Line 2: Line 2:
 
|-
 
|-
 
|style="border-bottom:1px solid #dedede;"|[[image:{{{2|}}}.png|link={{{2|}}}|26px]] {{{1|}}}
 
|style="border-bottom:1px solid #dedede;"|[[image:{{{2|}}}.png|link={{{2|}}}|26px]] {{{1|}}}
|style="border-bottom:1px solid #dedede;"|{{#if: {{{3|}}}|{{GRAY|({{{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 05:25, 19 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;"|