Metalog:Bilder/Künstler/1: Unterschied zwischen den Versionen

Zur Navigation springen Zur Suche springen
Zeile 1: Zeile 1:
{{B_artist
+
{{#vardefine: counter
| offset= 350
+
| {{#dpl:
 +
| category = 001_Künstler
 +
| include=
 +
| format=,
 +
| resultsheader = %TOTALPAGES%
 +
}} }}<!--
 +
-->{{#vardefine: offset
 +
| {{#expr: {{{offset|0}}} + {{#var:counter}} }}
 +
}}<!--
 +
-->{{#vardefine: count
 +
| {{#if: {{{offset|}}} | 50 |  2 }}
 +
}}<!--
 +
-->{{#vardefine: next
 +
| xy
 +
}}<!--
 +
-->{{#vardefine: before
 +
| xy
 +
}}<!--
 +
-->{{#vardefine: count_next
 +
| {{#ifeq: {{#expr:  {{#expr: {{{offset|0}}}+50}} < {{#var: counter}} }} | 1
 +
| ({{#expr:{{{offset|0}}}+1}}–{{#expr:{{{offset|0}}}+50}}/{{#var: counter}}) [[{{FULLPAGENAME}}/{{#var:next}}|weiter →]]
 +
| {{#expr:{{{offset|0}}}+1}}–{{#var: counter}}/{{#var: counter}}
 +
}} }}<!--
 +
-->{{#vardefine: count_before
 +
| {{#ifeq: {{#expr:  {{{offset|0}}}+50}} > 50 }} | 1
 +
| [[{{FULLPAGENAME}}/{{#var:before}}|← zurück]]
 +
}}<!--
 +
-->{{#dpl:
 +
| category = 001_Künstler
 +
| include = {bild}:artist_vor, {bild}:artist, {bild}:titel, {bild}:genre, {bild}:1[200]
 +
| format = <table class=b_liste cellspacing=5>,<tr><td class=b_bild><div>[[Bild:%TITLE%|150x150px]]<div class=b_small>[[%PAGE%|%TITLE%]]</div></div></td><td class=b_info>,</td></tr>,</table>
 +
| secseparators = <p class=b_artist> , , , </p>,\n:<i class=b_titel> ,</i>. , <span class=b_genre> ,</span>,\n<p class=b_beschreibung> , [[%PAGE%|...]]</p> ,
 +
| ordermethod = category
 +
| count = {{#var:count}}
 +
| offset= {{#var:offset}}
 +
| resultsheader = <div align="right">{{#var:count_before}} %PAGES% Einträge {{#var:count_next}}</div>
 +
| resultsheader = ²{Extension DPL continue¦dir=%SCROLLDIR%¦pages=%PAGES%¦total=%TOTALPAGES%¦firsttitle=%FIRSTTITLE%¦lasttitle=%LASTTITLE%¦page={{FULLPAGENAME}}}²\n
 +
| noresultsheader= Sorry, no result ...
 +
}}<!--
 +
-->{{#css:
 +
 
 +
.b_liste {
 +
margin: 0 auto;
 +
font-size: .9em;
 +
}
 +
.b_liste td {
 +
vertical-align:top;
 +
}
 +
.action-view #bodyContent .b_liste p {
 +
text-align: left;
 +
}
 +
.b_bild {
 +
text-align: center;
 +
vertical-align: middle;
 +
padding:14px;
 +
background:#eee;
 +
border:1px solid #ccc;
 +
}
 +
.b_info {
 +
padding: 0 16pt;
 +
border:1px solid #ccc;
 +
}
 +
.b_small {
 +
font-size: x-small;
 +
display: block;
 +
text-align: right;
 +
margin: 2px 0 -12px;
 +
line-height: 1em;
 +
}
 +
.b_small a,
 +
.b_small a:visited {
 +
color: #aaa;
 +
}
 
}}
 
}}
 +
<includeonly>{{ThisWay}}{{styles}}{{#if:{{{titel|}}}
 +
|{{titel|Bilder, geordnet nach Künstlern{{{titel|}}} }}
 +
}}</includeonly>

Version vom 28. September 2014, 22:20 Uhr

{{#dpl: | category = 001_Künstler | include = {bild}:artist_vor, {bild}:artist, {bild}:titel, {bild}:genre, {bild}:1[200]

| format =

,,
,

| secseparators =

, , ,

,\n: ,. , ,,\n

, ...

,

| ordermethod = category | count = 2 | offset= Fehler im Ausdruck: Nicht erkanntes Satzzeichen „{“

| resultsheader =

%PAGES% Einträge 1–{{#dpl:

| category = 001_Künstler | include= | format=, | resultsheader = %TOTALPAGES% }}/{{#dpl: | category = 001_Künstler | include= | format=, | resultsheader = %TOTALPAGES%

}}

| resultsheader = ²{Extension DPL continue¦dir=%SCROLLDIR%¦pages=%PAGES%¦total=%TOTALPAGES%¦firsttitle=%FIRSTTITLE%¦lasttitle=%LASTTITLE%¦page=Metalog:Bilder/Künstler/1}²\n | noresultsheader= Sorry, no result ... }}