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

From Wikispooks
Jump to navigation Jump to search
(More robust code)
(Upgrade from 26 to 30px image)
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;"|{{#if: {{{2|}}}|[[image:{{{2|}}}.png|link={{{2|}}}|26px]]|[[image:Talk.png|link=|26px]]}}{{#if: {{{9|}}}|[[{{{9|}}}|26px|link={{{1|}}}]]}}&nbsp;{{{1|}}}&nbsp;{{#if: {{{7|}}}|&nbsp;<span class="plainlinks">[{{{7}}} {{server}}/w/images/c/c1/Wikipedia-26px.png]</span>}}
+
|style="border-bottom:1px solid #dedede;"|{{#if: {{{2|}}}|[[image:{{{2|}}}.png|link={{{2|}}}|30px]]|[[image:Talk.png|link=|30px]]}}{{#if: {{{9|}}}|[[{{{9|}}}|30px|link={{{1|}}}]]}}&nbsp;{{{1|}}}&nbsp;{{#if: {{{7|}}}|&nbsp;<span class="plainlinks">[{{{7}}} {{server}}/w/images/c/c1/Wikipedia-26px.png]</span>}}
 
|style="border-bottom:1px solid #dedede;"|{{#if: {{{11|}}}|{{GRAY|<small>{{t|{{#sub:{{{11|}}}|0|-3}}}}</small>}}}}
 
|style="border-bottom:1px solid #dedede;"|{{#if: {{{11|}}}|{{GRAY|<small>{{t|{{#sub:{{{11|}}}|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|}}}}})}}}}<!--
 
|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:Stub.png|link=:category:stubs|26px]]}}
+
|style="border-bottom:1px solid #dedede;"|{{#if: {{{5|}}}|[[Image:Stub.png|link=:category:stubs|30px]]}}
 
|style="border-bottom:1px solid #dedede;"|{{#if: {{{6|}}}| {{#ifexpr: {{#time: U | now }} - {{#time: U| {{{6|}}}}} < 60*60*24*7 |[[Image:new.png|link=:concept: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=:concept:New pages|26px]]}}}}
|style="border-bottom:1px solid #dedede;"|{{#if: {{{8|}}}|<span class="plainlinks">[[image:XML-26px.png|26px|link=Special:Export/{{{8}}}]]</span>}}
+
|style="border-bottom:1px solid #dedede;"|{{#if: {{{8|}}}|<span class="plainlinks">[[image:XML-26px.png|30px|link=Special:Export/{{{8}}}]]</span>}}
|style="border-bottom:1px solid #dedede;"|{{#if: {{{8|}}}|<span class="plainlinks">[[image:RDF-26px.png|26px|link=Special:ExportRDF/{{{8}}}]]</span>}}
+
|style="border-bottom:1px solid #dedede;"|{{#if: {{{8|}}}|<span class="plainlinks">[[image:RDF-26px.png|30px|link=Special:ExportRDF/{{{8}}}]]</span>}}

Revision as of 18:30, 23 June 2015

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;"| |style="border-bottom:1px solid #dedede;"| |style="border-bottom:1px solid #dedede;"|