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

From Wikispooks
Jump to navigation Jump to search
(Upgrade from 26 to 30px image)
(Use display image and ditch the other graphics)
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]]
 +
<!--
 +
PARAM LIST:
 +
1 - Pagename
 +
2|?Display image
 +
3|?Has revisionSize
 +
4|?Has revisionUser
 +
5|?Is stub
 +
6|?Creation date
 +
7|?Has wikipediaPage2
 +
8|?Has fullPageNamee
 +
9|?Modification date
 +
--></noinclude>
 
|-
 
|-
|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: {{{2|}}}|[[{{{2|}}}|link={{{1|}}}|x40px]]|[[image:Talk.png|link={{{1|}}}|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;"|{{#if: {{{11|}}}|{{GRAY|<small>{{t|{{#sub:{{{11|}}}|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|}}}}})}}}}<!--
 
|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|30px]]}}
 
|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|x32px]]}}}}
|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:XML-26px.png|x32px|link=Special:Export/{{{8}}}]]</span>}}
|style="border-bottom:1px solid #dedede;"|{{#if: {{{8|}}}|<span class="plainlinks">[[image:RDF-26px.png|30px|link=Special:ExportRDF/{{{8}}}]]</span>}}
+
|style="border-bottom:1px solid #dedede;"|{{#if: {{{8|}}}|<span class="plainlinks">[[image:RDF-26px.png|x32px|link=Special:ExportRDF/{{{8}}}]]</span>}}

Revision as of 15:37, 15 July 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;"|