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

From Wikispooks
Jump to navigation Jump to search
(titularLogo)
(undo)
 
(21 intermediate revisions by the same user not shown)
Line 1: Line 1:
<noinclude>'''This template formats the output for [[Template:Main-panel-with-icon]].'''[[Category:Semantic Output Templates]]
+
<noinclude>'''This template formats the output for [[Template:Main-panel-tabstrip-with-icon/tab]].'''[[Category:Semantic Output Templates]]
 
<!--
 
<!--
 
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
+
10| ?So called
11| ?Has averageRating
+
11| ?Has averageRating
12| ?Description
+
12| ?Has wikipediaProtection
13| ?Has titularLogo
+
13| ?Has titularLogo
 +
14|  ?Has website
 +
15|  ?Has URL
 +
16|  ?Description
 
--></noinclude>
 
--></noinclude>
 
|-
 
|-
|style="border-bottom:1px solid #dedede; "|{{#if: {{{2|}}}|[[{{{2|}}}|link={{{8}}}|x56px]]|[[image:Talk.png|link={{{8}}}|x56px]]}}&nbsp;{{#ifeq: {{{13|}}}|true||<big>{{#if: {{{10|}}}|“}}{{{1|}}}{{#if: {{{10|}}}|”}}</big>}} <span style="vertical-align: middle;">{{#if: {{{11|}}}|[[image:{{{11}}}star.png|right|138px|link={{{1|}}}|alt=Rating {{{11|}}}/5|Rated {{{11|}}}/5]]}}</span>
+
|style="border-bottom:1px solid #dedede; "|{{#if: {{{2|}}}|[[{{{2|}}}|link={{{8}}}|x56px]]|[[image:Talk.png|link={{{8}}}|x56px]]}}&nbsp;{{#ifeq: {{{13|}}}|true||<big>{{#if: {{{10|}}}|“}}{{{1|}}}{{#if: {{{10|}}}|”}}</big>}} <span style="vertical-align: middle;">{{#if: {{{11|}}}|[[image:{{{11}}}star.png|right|138px|link={{{1|}}}|alt=Rating {{{11|}}}/5|Rated {{{11|}}}/5]]}}<!--
 +
 
 +
Needs type plain
 +
 
 +
{{#if: {{{15|}}}{{{14|}}}|<span class="plainlinks">[[image:Website.png|link={{{15|}}}{{{14|}}}]]</span>}}<!-- TEST PARAMS:
 +
# {{{1|}}}
 +
# {{{2|}}}
 +
# {{{3|}}}
 +
# {{{4|}}}
 +
# {{{5|}}}
 +
# {{{6|}}}
 +
# {{{7|}}}
 +
# {{{8|}}}
 +
# {{{9|}}}
 +
# {{{10|}}}
 +
# {{{11|}}}
 +
# {{{12|}}}
 +
# {{{13|}}}
 +
# {{{14|}}}
 +
# {{{15|}}}
 +
# {{{16|}}}--></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|}}}}})}}}}<!--

Latest revision as of 10:12, 7 April 2018

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

|- |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;"|