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

From Wikispooks
Jump to navigation Jump to search
(More portable code)
(So called)
Line 2: Line 2:
 
<!--
 
<!--
 
PARAM LIST:
 
PARAM LIST:
1 - Pagename
+
1   - Pagename
2|?Display image
+
2| ?Display image
3|?Has revisionSize
+
3| ?Has revisionSize
4|?Has revisionUser
+
4| ?Has revisionUser
5|?Is stub
+
5| ?Is stub
6|?Creation date
+
6| ?Creation date
7|?Has wikipediaPage2
+
7| ?Has wikipediaPage2
8|?Has fullPageNamee
+
8| ?Has fullPageNamee
9|?Modification date
+
9| ?Modification date
 +
10| ?So called
 
--></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">[[image:Wikipedia-26px.png|link={{{7}}}]]</span>}}
+
|style="border-bottom:1px solid #dedede;"|{{#if: {{{2|}}}|[[{{{2|}}}|link={{{8}}}|x56px]]|[[image:Talk.png|link={{{8}}}|x56px]]}}&nbsp;<big>{{#if: {{{10|}}}|"}}{{{1|}}}{{#if: {{{10|}}}|"}}&nbsp;</big>{{#if: {{{7|}}}|&nbsp;<span class="plainlinks">[[image:Wikipedia-26px.png|link={{{7}}}]]</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|}}}}})}}}}<!--

Revision as of 09:44, 26 March 2016

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

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