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

From Wikispooks
Jump to navigation Jump to search
(fix code)
(code trim)
Line 13: Line 13:
 
--></noinclude>
 
--></noinclude>
 
|-
 
|-
|style="border-bottom:1px solid #dedede;"|{{#if: {{{2|}}}|[[{{{2|}}}|link={{{8}}}|x40px]]|[[image:Talk.png|link={{{8}}}|x40px]]}}&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;"|[[{{{2|image:Talk.png}}}|link={{{8|{{urlencode:{{{1|}}}|WIKI}}}}}|x48px]&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: {{{9|}}}|{{GRAY|<small>{{t|{{#sub:{{{9|}}}|0|-3}}}}</small>}}}}
 
|style="border-bottom:1px solid #dedede;"|{{#if: {{{9|}}}|{{GRAY|<small>{{t|{{#sub:{{{9|}}}|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|}}}}})}}}}<!--
Line 19: Line 19:
 
|style="border-bottom:1px solid #dedede;"|{{#if: {{{5|}}}|[[Image:Stub.png|link=:category:stubs|x32px]]}}
 
|style="border-bottom:1px solid #dedede;"|{{#if: {{{5|}}}|[[Image:Stub.png|link=:category:stubs|x32px]]}}
 
|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|x32px]]}}}}
 
|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|x32px]]}}}}
|style="border-bottom:1px solid #dedede;"|<span class="plainlinks">[[image:XML-26px.png|x26px|link=Special:Export/{{#if: {{{8|}}}|{{{8}}}|{{urlencode:{{{1|}}}|WIKI}}}}]]</span>
+
|style="border-bottom:1px solid #dedede;"|<span class="plainlinks">[[image:XML-26px.png|x26px|link=Special:Export/{{{8|{{urlencode:{{{1|}}}|WIKI}}}}}]]</span>
|style="border-bottom:1px solid #dedede;"|<span class="plainlinks">[[image:RDF-26px.png|x26px|link=Special:ExportRDF/{{#if: {{{8|}}}|{{{8}}}|{{urlencode:{{{1|}}}|WIKI}}}}]]</span>
+
|style="border-bottom:1px solid #dedede;"|<span class="plainlinks">[[image:RDF-26px.png|x26px|link=Special:ExportRDF/{{{8|{{urlencode:{{{1|}}}|WIKI}}}}}]]</span>

Revision as of 10:32, 18 July 2015

This template formats the output for Template:Main-panel-with-icon.

|- |style="border-bottom:1px solid #dedede;"|[[image:Talk.png|link=|x48px]   |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;"|XML-26px.png |style="border-bottom:1px solid #dedede;"|RDF-26px.png