Difference between revisions of "Template:Main-panel-with-icon/output"
Jump to navigation
Jump to search
(Add description) |
(undo) |
||
(37 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 | ||
+ | 14| ?Has website | ||
+ | 15| ?Has URL | ||
+ | 16| ?Description | ||
--></noinclude> | --></noinclude> | ||
|- | |- | ||
− | |style="border-bottom:1px solid #dedede;"| | + | |style="border-bottom:1px solid #dedede; "|{{#if: {{{2|}}}|[[{{{2|}}}|link={{{8}}}|x56px]]|[[image:Talk.png|link={{{8}}}|x56px]]}} {{#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: {{{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: {{{7|}}}|<span class="plainlinks">[[image:Wikipedia-26px.png|link={{{7}}}]]</span>}} | ||
|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}}}|{{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/{{#if: {{{8|}}}|{{{8}}}|{{urlencode:{{{1|}}}|WIKI}}}}]]</span>--> |
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; "| |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;"|