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

From Wikispooks
Jump to navigation Jump to search
(Settle on 56px height, keep bigger font)
(If property:display_image is not set, use template:Display class icon to get an icon)
Line 13: Line 13:
 
--></noinclude>
 
--></noinclude>
 
|-
 
|-
|style="border-bottom:1px solid #dedede;"|{{#if: {{{2|}}}|[[{{{2|}}}|link={{{8}}}|x56px]]|[[image:Talk.png|link={{{8}}}|x56px]]}}&nbsp;<big>{{{1|}}}&nbsp;</big>{{#if: {{{7|}}}|&nbsp;<span class="plainlinks">[{{{7}}} {{server}}/w/images/c/c1/Wikipedia-26px.png]</span>}}
+
|style="border-bottom:1px solid #dedede;"|{{#if: {{{2|}}}|[[{{{2|}}}|link={{{8}}}|x56px]]|[[{{Display class icon|{{{1|}}}}}|link={{{8}}}|x56px]]}}&nbsp;<big>{{{1|}}}&nbsp;</big>{{#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/{{#if: {{{8|}}}|{{{8}}}|{{{1|}}}}}]]</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/{{#if: {{{8|}}}|{{{8}}}|{{{1|}}}}}]]</span>

Revision as of 08:08, 23 July 2015

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

|- |style="border-bottom:1px solid #dedede;"|[[|link={{{8}}}|x56px]]   |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