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

From Wikispooks
Jump to navigation Jump to search
(Better handling of missing data)
(test)
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: {{{6|}}}|{{GRAY|({{{6|}}})}}}}
+
|style="border-bottom:1px solid #dedede;"|{{#if: {{{3|}}}|{{GRAY|({{3|}}})}}}}
|style="border-bottom:1px solid #dedede;"|{{#if: {{{7|}}}|{{NAVY|[[User:{{{7|}}}|{{{7|}}}]]}}}}
+
|style="border-bottom:1px solid #dedede;"|{{#if: {{{4|}}}|{{NAVY|[[User:{{{4|}}}|{{{4|}}}]]}}}}
|style="border-bottom:1px solid #dedede;"|{{#if: {{{3|}}}|[[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;"|{{#ifeq: {{{4|}}}|{{{5|}}}|[[Image:new.png|link=:category:new pages|26px]]}}
+
|style="border-bottom:1px solid #dedede;"|{{#if: {{{6|}}}| {{{{#time: U {{{6|}}}}}[[Image:new.png|link=:category:new pages|26px]]}}

Revision as of 09:14, 17 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;"|{{#if: | {{1732557299New.png}}