Es gibt z.Z. Probleme mit einem Update, es ist nur Lesen möglich.
Currently there are issues with the installation, readonly possible for now.

Difference between revisions of "Template:Puzzle"

From Jigsaw-Wiki
Jump to: navigation, search
(no dpl)
 
(49 intermediate revisions by 2 users not shown)
Line 4: Line 4:
 
"params": {
 
"params": {
 
"PIECES": {
 
"PIECES": {
"label": {"en": "pieces","de": "Teile"},
+
"label": {"en": "Pieces","de": "Teile"},
"description": {"en": "number pieces on box","de": "Anzahl Teile auf der Box"},
+
"description": {"en": "Number pieces on box","de": "Anzahl Teile auf der Box"},
 
"type": "number",
 
"type": "number",
 
"required": true
 
"required": true
 
},
 
},
 
"PIECESR": {
 
"PIECESR": {
"label": {"en": "pieces, real","de": "Teile real"},
+
"label": {"en": "Pieces, real","de": "Teile real"},
"description": {"en": "real number of pieces","de": "reale Anzahl der Teile"},
+
"description": {"en": "Real number of pieces","de": "reale Anzahl der Teile"},
 
"type": "number"
 
"type": "number"
 
},
 
},
 
"TITLE-D": {
 
"TITLE-D": {
"label": {"en": "title, german","de": "Titel, deutsch"},
+
"label": {"en": "Title, German","de": "Titel, deutsch"},
"description": {"en": "german title, if available, translation in '()' possible","de": "deutscher Titel, falls vorhanden; sonst Übersetzung/eigener in Klammern '()'"},
+
"description": {"en": "German title, if available, translation in '()' possible","de": "deutscher Titel, falls vorhanden; sonst Übersetzung/eigener in Klammern '()'"},
 
"type": "string"
 
"type": "string"
 
},
 
},
 
"TITLE-E": {
 
"TITLE-E": {
"label": {"en": "title, english","de": "Titel, englisch"},
+
"label": {"en": "Title, English","de": "Titel, englisch"},
"description": {"en": "english title, if available, translation in '()' possible","de": "englischer Titel, falls vorhanden; sonst Übersetzung in Klammern '()'"},
+
"description": {"en": "English title, if available, translation in '()' possible","de": "englischer Titel, falls vorhanden; sonst Übersetzung in Klammern '()'"},
 
"type": "string"
 
"type": "string"
 
},
 
},
 
"TITLE-O": {
 
"TITLE-O": {
"label": {"en": "title, original","de": "Titel, original"},
+
"label": {"en": "Title, original","de": "Titel, original"},
"description": {"en": "original title, if only available","de": "Original-Titel, falls nur dieser vorhanden"},
+
"description": {"en": "Original title, if only available","de": "Original-Titel, falls nur dieser vorhanden"},
 
"type": "string"
 
"type": "string"
 
},
 
},
 
"TITLE-S": {
 
"TITLE-S": {
"label": {"en": "title, others","de": "Titel, sonst"},
+
"label": {"en": "Title, others","de": "Titel, sonst"},
"description": {"en": "other titles separated by '<br>'","de": "sonstige Titel durch '<br>' getrennt"},
+
"description": {"en": "Other titles separated by '<br>'","de": "sonstige Titel durch '<br>' getrennt"},
 
"type": "string"
 
"type": "string"
 
},
 
},
 
"PRODUCER": {
 
"PRODUCER": {
"label": {"en": "producer","de": "Hersteller"},
+
"label": {"en": "Producer","de": "Hersteller"},
"description": {"en": "producer of the puzzle","de": "Hersteller des Puzzles"},
+
"description": {"en": "Producer of the puzzle","de": "Hersteller des Puzzles"},
 
"type": "string"
 
"type": "string"
 
},
 
},
 
"YEAR": {
 
"YEAR": {
"label": {"en": "year","de": "Jahr"},
+
"label": {"en": "Year","de": "Jahr"},
"description": {"en": "year of release if available, '-' otherwise","de": "Erscheinungs-Jahr, falls vorhanden, '-' sonst"},
+
"description": {"en": "Year of release if available, '-' otherwise","de": "Erscheinungs-Jahr, falls vorhanden, '-' sonst"},
 
"type": "string"
 
"type": "string"
 
},
 
},
 
"GENRE": {
 
"GENRE": {
"label": {"en": "genres","de": "Genres"},
+
"label": {"en": "Genres","de": "Genres"},
"description": {"en": "topic of puzzle separated by ';'","de": "Themengebiete des Puzzles durch ';' getrennt"},
+
"description": {"en": "Topic of puzzle separated by ';'","de": "Themengebiete des Puzzles durch ';' getrennt"},
 
"type": "string"
 
"type": "string"
 
},
 
},
 
"ARTNR": {
 
"ARTNR": {
"label": {"en": "article number","de": "Artikel-Nr."},
+
"label": {"en": "Article number","de": "Artikel-Nr."},
"description": {"en": "article number on box if availabel, '-' otherwise","de": "Artikel-Nr. auf der Box, wenn vorhanden, '-' sonst"},
+
"description": {"en": "Article number on box if available, '-' otherwise","de": "Artikel-Nr. auf der Box, wenn vorhanden, '-' sonst"},
 
"type": "string"
 
"type": "string"
 
},
 
},
Line 60: Line 60:
 
},
 
},
 
"ARTIST": {
 
"ARTIST": {
"label": {"en": "artist","de": "Künstler"},
+
"label": {"en": "Artist","de": "Künstler"},
"description": {"en": "artist(s) separated by ';', '-' otherwise","de": "Künstler durch ';' getrennt, sonst '-'"},
+
"description": {"en": "Artist(s) separated by ';', '-' otherwise","de": "Künstler durch ';' getrennt, sonst '-'"},
 
"type": "string"
 
"type": "string"
 
},
 
},
 
"SERIES": {
 
"SERIES": {
"label": {"en": "puzzle-series","de": "Puzzle-Serie"},
+
"label": {"en": "Puzzle-series","de": "Puzzle-Serie"},
"description": {"en": "puzzle belongs to a series","de": "Puzzle gehört zur Serie"},
+
"description": {"en": "Puzzle belongs to a series","de": "Puzzle gehört zur Serie"},
 
"type": "string"
 
"type": "string"
 
},
 
},
 
"SHAPE": {
 
"SHAPE": {
"label": {"en": "shape","de": "Format"},
+
"label": {"en": "Shape","de": "Format"},
"description": {"en": "shape of the puzzle","de": "Format des Puzzles"},
+
"description": {"en": "Shape of the puzzle","de": "Format des Puzzles"},
 
"type": "string"
 
"type": "string"
 
},
 
},
 
"PIECE-SET": {
 
"PIECE-SET": {
"label": {"en": "piece-set (unused)","de": "Teile-Set (unbenutzt)"},
+
"label": {"en": "Piece-set (unused)","de": "Teile-Set (unbenutzt)"},
"description": {"en": "set of piece shapes","de": "gibt das Set der verwendeten Teile an"},
+
"description": {"en": "Set of piece shapes","de": "gibt das Set der verwendeten Teile an"},
 
"type": "string"
 
"type": "string"
 
},
 
},
 
"SIZEC": {
 
"SIZEC": {
"label": {"en": "size [cm]","de": "Abmessung [cm]"},
+
"label": {"en": "Size [cm]","de": "Abmessung [cm]"},
"description": {"en": "size of the completed puzzle in [cm]","de": "Größe des fertigen Puzzles in [cm]"},
+
"description": {"en": "Size of the completed puzzle in [cm]","de": "Größe des fertigen Puzzles in [cm]"},
 
"type": "string"
 
"type": "string"
 
},
 
},
 
"SIZEP": {
 
"SIZEP": {
"label": {"en": "size [pieces]","de": "Abmessung [Teile]"},
+
"label": {"en": "Size [pieces]","de": "Abmessung [Teile]"},
"description": {"en": "size of the completed puzzle in [pieces] or 'irregular'","de": "Größe des fertigen Puzzles in Teilen oder 'irregular'"},
+
"description": {"en": "Size of the completed puzzle in [pieces] or 'irregular'","de": "Größe des fertigen Puzzles in Teilen oder 'irregular'"},
 
"type": "string"
 
"type": "string"
 
},
 
},
 
"BOX": {
 
"BOX": {
"label": {"en": "box","de": "Box"},
+
"label": {"en": "Box","de": "Box"},
"description": {"en": "type of box","de": "Typ der Box"},
+
"description": {"en": "Type of box","de": "Typ der Box"},
 
"type": "string"
 
"type": "string"
 
},
 
},
 
"INSET": {
 
"INSET": {
"label": {"en": "puzzle-set","de": "Puzzle-Set"},
+
"label": {"en": "Puzzle set","de": "Puzzle-Set"},
"description": {"en": "puzzle is part of a puzzle-set (two or more puzzles in one box)","de": "Puzzle ist Teil eines Puzzle-Sets (Mehrfachpuzzle)"},
+
"description": {"en": "Puzzle is part of a puzzle set (two or more puzzles in one box)","de": "Puzzle ist Teil eines Puzzle-Sets (Mehrfachpuzzle)"},
 
"type": "string"
 
"type": "string"
 
},
 
},
 
"REMARKS": {
 
"REMARKS": {
"label": {"en": "remarks","de": "Bemerkungen"},
+
"label": {"en": "Remarks","de": "Bemerkungen"},
"description": {"en": "remarks on box not stored elsewhere","de": "Angaben auf der Box, die sonst nicht erfasst sind oder Bemerkungen"},
+
"description": {"en": "Remarks on box not stored elsewhere","de": "Angaben auf der Box, die sonst nicht erfasst sind oder Bemerkungen"},
 
"type": "string"
 
"type": "string"
 
},
 
},
 
"STATE": {
 
"STATE": {
"label": {"en": "state","de": "Status"},
+
"label": {"en": "State","de": "Status"},
"description": {"en": "shows state of data/pictures","de": "gibt den Status der Daten/Bilder an"},
+
"description": {"en": "Shows state of data/pictures","de": "gibt den Status der Daten/Bilder an"},
 
"type": "string"
 
"type": "string"
 
}
 
}
Line 136: Line 136:
 
}
 
}
 
</templatedata>
 
</templatedata>
[[Category:Vorlagen]]
+
[[Category:Puzzle templates]]
</noinclude><includeonly>{{#if:{{{INSET|}}}|{{InSet|{{{INSET}}}}}}}
+
</noinclude><includeonly>__NOTOC__<!--{{DISPLAYTITLE:{{Project:Puzzle}} '''"{{{PIECES}}} {{#switch:{{Uselang}}|de={{#if:{{{TITLE-D|}}}|{{{TITLE-D}}}|{{#if:{{{TITLE-E|}}}|{{{TITLE-E}}}|{{{TITLE-O}}}}}}}|#default={{#if:{{{TITLE-E|}}}|{{{TITLE-E}}}|{{#if:{{{TITLE-D|}}}|{{{TITLE-D}}}|{{{TITLE-O}}}}}}}}}"'''}}-->{{#if:{{{INSET|}}}|{{InSet|{{{INSET}}}}}}}
 
{|cellspacing="5" cellpadding="5" style="border-style:solid; border-color:#000000; border-width:1px;"
 
{|cellspacing="5" cellpadding="5" style="border-style:solid; border-color:#000000; border-width:1px;"
!+ style="background-color:#E6E6E6; font-size:120%;"|{{Project:Puzzle-data}}
+
!+ style="background-color:#E6E6E6; font-size:120%;"|{{Project:Puzzle-Data}}
!+ style="background-color:#E6E6E6; font-size:120%;"|{{Project:Puzzle-picbox}}
+
!+ style="background-color:#E6E6E6; font-size:120%;"|{{Project:Puzzle-PicBox}}
!+ style="background-color:#E6E6E6; font-size:120%;"|{{Project:Puzzle-picpuzzle}}
+
!+ style="background-color:#E6E6E6; font-size:120%;"|{{Project:Puzzle-PicPuzzle}}
 
|-
 
|-
 
| <div border="1">
 
| <div border="1">
 
  {| class="wikitable"
 
  {| class="wikitable"
  ! {{Project:Puzzle-pieces}}
+
  ! {{Project:Puzzle-Pieces}}
  {{!}} [[:Category:{{{PIECES}}} Teile|{{{PIECES}}}]]
+
  {{!}} [[:Category:{{{PIECES}}} Pieces|{{{PIECES}}}]]
 
  |-
 
  |-
 
  {{#if: {{{PIECESR|}}}|
 
  {{#if: {{{PIECESR|}}}|
  ! {{Project:Puzzle-piecesr}}
+
  ! style="white-space: nowrap;"{{!}}{{Project:Puzzle-PiecesR}}
 
  {{!}} {{{PIECESR}}}|{{#ifeq:{{NAMESPACE}}|{{ns:0}}|<span style="display:none">[[Template:Puzzle/PIECESR fehlt]]</span>}}
 
  {{!}} {{{PIECESR}}}|{{#ifeq:{{NAMESPACE}}|{{ns:0}}|<span style="display:none">[[Template:Puzzle/PIECESR fehlt]]</span>}}
 
  }}
 
  }}
 
  |-
 
  |-
 
  {{#if:{{{TITLE-D|}}}|
 
  {{#if:{{{TITLE-D|}}}|
  ! {{Project:Puzzle-title-de}}
+
  ! style="white-space: nowrap;"{{!}}{{Project:Puzzle-Title-de}}
 
  {{!}} {{{TITLE-D}}}
 
  {{!}} {{{TITLE-D}}}
 
  }}
 
  }}
 
  |-
 
  |-
 
  {{#if:{{{TITLE-E|}}}|
 
  {{#if:{{{TITLE-E|}}}|
  ! {{Project:Puzzle-title-en}}
+
  ! style="white-space: nowrap;"{{!}}{{Project:Puzzle-Title-en}}
 
  {{!}} {{{TITLE-E}}}
 
  {{!}} {{{TITLE-E}}}
 
  }}
 
  }}
 
  |-
 
  |-
 
  {{#if:{{{TITLE-O|}}}|
 
  {{#if:{{{TITLE-O|}}}|
  ! {{Project:Puzzle-title-orig}}
+
  ! style="white-space: nowrap;"{{!}}{{Project:Puzzle-Title-orig}}
 
  {{!}} {{{TITLE-O}}}
 
  {{!}} {{{TITLE-O}}}
 
  }}
 
  }}
 
  |-
 
  |-
 
  {{#if:{{{TITLE-S|}}}|
 
  {{#if:{{{TITLE-S|}}}|
  ! {{Project:Puzzle-title-others}}
+
  ! style="white-space: nowrap;"{{!}}{{Project:Puzzle-Title-others}}
  {{!}} {{{TITLE-S}}}
+
  {{!}} {{#replace:{{{TITLE-S}}}|<br>|<hr>}}
 
  }}
 
  }}
 
  |-
 
  |-
 
  {{#if:{{{GENRE|}}}|
 
  {{#if:{{{GENRE|}}}|
  ! {{Project:Puzzle-genres}}
+
  ! {{Project:Puzzle-Genres}}
 
  {{!}} {{SplitCat|{{{GENRE}}}|list}}|{{#ifeq:{{NAMESPACE}}|{{ns:0}}|<span style="display:none">[[Template:Puzzle/GENRE fehlt]]</span>}}
 
  {{!}} {{SplitCat|{{{GENRE}}}|list}}|{{#ifeq:{{NAMESPACE}}|{{ns:0}}|<span style="display:none">[[Template:Puzzle/GENRE fehlt]]</span>}}
 
  }}
 
  }}
 
  |-
 
  |-
 
  {{#if: {{{PRODUCER|}}}|
 
  {{#if: {{{PRODUCER|}}}|
  ! {{Project:Puzzle-producer}}
+
  ! {{Project:Puzzle-Producer}}
  {{!}} {{#ifeq:{{{PRODUCER}}}|-|[[:Category:Herst.Unbekannt|Herst.Unbekannt]]|[[:Category:{{{PRODUCER}}}|{{{PRODUCER}}}]]}}|{{#ifeq:{{NAMESPACE}}|{{ns:0}}|<span style="display:none">[[Template:Puzzle/PRODUCER fehlt]]</span>}}
+
  {{!}} {{#ifeq:{{{PRODUCER}}}|-|[[:Category:Unknown producer|{{Project:Category-UnknownProducer}}]]|[[:Category:{{{PRODUCER}}}|{{{PRODUCER}}}]]}}|{{#ifeq:{{NAMESPACE}}|{{ns:0}}|<span style="display:none">[[Template:Puzzle/PRODUCER fehlt]]</span>}}
 
  }}
 
  }}
 
  |-
 
  |-
 
  {{#if: {{{ARTNR|}}}|
 
  {{#if: {{{ARTNR|}}}|
  ! {{Project:Puzzle-artnr}}
+
  ! {{Project:Puzzle-Artnr}}
  {{!}} {{#ifeq:{{{ARTNR}}}|-|ohne ArtNr|{{{ARTNR}}}}}|{{#ifeq:{{NAMESPACE}}|{{ns:0}}|<span style="display:none">[[Template:Puzzle/ARTNR fehlt]]</span>}}
+
  {{!}} {{#ifeq:{{{ARTNR}}}|-|{{Project:Category-UnknownArtNr}}|{{#ifeq:{{{PRODUCER}}}|Ravensburger|
 +
  {{Exist|Category:Ravensburger_ArtNr_{{{ARTNR}}}|[[:Category:Ravensburger ArtNr {{{ARTNR}}}|{{{ARTNR}}}]]|{{{ARTNR}}}}}
 +
|{{{ARTNR}}}}}}}|{{#ifeq:{{NAMESPACE}}|{{ns:0}}|<span style="display:none">[[Template:Puzzle/ARTNR fehlt]]</span>}}
 
  }}
 
  }}
 
  |-
 
  |-
 
  {{#if: {{{GTIN|}}}|
 
  {{#if: {{{GTIN|}}}|
  ! {{Project:Puzzle-gtin}}
+
  ! {{Project:Puzzle-GTIN}}
  {{!}} {{#ifeq:{{{GTIN}}}|-|ohne GTIN|[http://www.ean-suche.de/perl/ean-search.pl?q={{{GTIN}}} {{{GTIN}}}]}}|{{#ifeq:{{NAMESPACE}}|{{ns:0}}|<span style="display:none">[[Template:Puzzle/GTIN fehlt]]</span>}}
+
  {{!}} {{#ifeq:{{{GTIN}}}|-|ohne GTIN|[http://www.ean-suche.de/perl/ean-search.pl?q={{{GTIN}}} {{{GTIN}}}]{{#ifeq:{{#len:{{{GTIN}}}}}|13||{{Alert|!|{{ErrLink|02}}}}[[Category:Errors]]}}}}|{{#ifeq:{{NAMESPACE}}|{{ns:0}}|<span style="display:none">[[Template:Puzzle/GTIN fehlt]]</span>}}
 
  }}
 
  }}
 
  |-
 
  |-
 
  {{#if: {{{YEAR|}}}|
 
  {{#if: {{{YEAR|}}}|
  ! {{Project:Puzzle-year}}
+
  ! {{Project:Puzzle-Year}}
  {{!}} {{#ifeq:{{{YEAR}}}|-|[[:Category:Jahr unbekannt|unbekannt]]|[[:Category:{{{YEAR}}}|{{{YEAR}}}]]}}|{{#ifeq:{{NAMESPACE}}|{{ns:0}}|<span style="display:none">[[Template:Puzzle/YEAR fehlt]]</span>}}
+
  {{!}} {{#ifeq:{{{YEAR}}}|-|[[:Category:Unknown year|{{Project:Category-UnknownYear}}]]|[[:Category:{{{YEAR}}}|{{{YEAR}}}]]}}|{{#ifeq:{{NAMESPACE}}|{{ns:0}}|<span style="display:none">[[Template:Puzzle/YEAR fehlt]]</span>}}
 
  }}
 
  }}
 
  |-
 
  |-
 
  {{#if: {{{ARTIST|}}} |
 
  {{#if: {{{ARTIST|}}} |
  ! {{Project:Puzzle-artist}}
+
  ! {{Project:Puzzle-Artist}}
  {{!}} {{#ifeq:{{{ARTIST}}}|-|[[:Category:Künstler unbekannt|unbekannt]]|{{SplitCat|{{{ARTIST}}}|list}}}}
+
  {{!}} {{#ifeq:{{{ARTIST}}}|-|[[:Category:Unknown artist|{{Project:Category-UnknownArtist}}]]|{{SplitCat|{{{ARTIST}}}|art}}}}
 
  }}
 
  }}
 
  |-
 
  |-
 
  {{#if: {{{SERIES|}}} |
 
  {{#if: {{{SERIES|}}} |
  ! {{Project:Puzzle-series}}
+
  ! {{Project:Puzzle-Series}}
  {{!}} {{#dplvar:set|_prod|{{#ifeq:{{{PRODUCER}}}|-|Herst.Unbekannt|{{{PRODUCER}}}}}}}[[:Category:{{{SERIES}}} ({{#dplvar:_prod}})|{{{SERIES}}}]]
+
  {{!}} [[:Category:{{{SERIES}}} ({{#ifeq:{{{PRODUCER}}}|-|Unknown producer|{{{PRODUCER}}}}})|{{{SERIES}}}]]
 
  }}
 
  }}
 
  |-
 
  |-
{{#if: {{{SHAPE|}}}|
+
  ! {{Project:Puzzle-Shape}}
  ! {{Project:Puzzle-shape}}
+
  {{!}} {{#if:{{{SHAPE|}}}|[[:Category:{{{SHAPE}}}|{{Project:Puzzle-Shape-{{{SHAPE}}}}}]]|{{Alert|&#33;|{{ErrLink|03}}}}[[Category:Errors]]{{#ifeq:{{NAMESPACE}}|{{ns:0}}|<span style="display:none">[[Template:Puzzle/SHAPE fehlt]]</span>}}
  {{!}} [[:Category:{{{SHAPE}}}|{{{SHAPE}}}]]|{{#ifeq:{{NAMESPACE}}|{{ns:0}}|<span style="display:none">[[Template:Puzzle/SHAPE fehlt]]</span>}}
 
 
  }}
 
  }}
 
  |-
 
  |-
 
  {{#if:{{{PRODUCER|}}}|
 
  {{#if:{{{PRODUCER|}}}|
  ! {{Project:Puzzle-box}}
+
  ! {{Project:Puzzle-Box}}
  {{!}} {{#ifeq:{{{PRODUCER}}}|-||{{#if: {{{BOX|}}} | [[Boxen {{{PRODUCER}}}#{{{BOX}}}|{{{PRODUCER}}} {{{BOX}}}]] | [[Boxen {{{PRODUCER}}}|{{{PRODUCER}}}]]}}}}
+
  {{!}} {{#ifeq:{{{PRODUCER}}}|-||{{#if: {{{BOX|}}} | [[Boxes {{{PRODUCER}}}#{{{BOX}}}|{{{PRODUCER}}} {{{BOX}}}]] | [[Boxes {{{PRODUCER}}}|{{{PRODUCER}}}]]}}}}
 
  }}
 
  }}
 
  |-
 
  |-
 
  {{#if:{{{PIECE-SET|}}}|
 
  {{#if:{{{PIECE-SET|}}}|
  ! {{Project:Puzzle-piece-set}}
+
  ! {{Project:Puzzle-PieceSet}}
 
  {{!}} {{{PIECE-SET}}}
 
  {{!}} {{{PIECE-SET}}}
 
  }}
 
  }}
 
  |-
 
  |-
 
  {{#if:{{{SIZEC|}}}|
 
  {{#if:{{{SIZEC|}}}|
  ! {{Project:Puzzle-sizec}}
+
  ! style="white-space: nowrap;"{{!}}{{Project:Puzzle-SizeC}}
  {{!}} {{{SIZEC}}}|{{#ifeq:{{NAMESPACE}}|{{ns:0}}|<span style="display:none">[[Template:Puzzle/SIZEC fehlt]]</span>}}
+
  {{!}} {{{SIZEC}}}{{#if:{{#pos:{{{SIZEC}}}|,}}||{{Alert|!|{{ErrLink|01}}}}[[Category:Errors]]}}|{{#ifeq:{{NAMESPACE}}|{{ns:0}}|<span style="display:none">[[Template:Puzzle/SIZEC fehlt]]</span>}}
 
  }}
 
  }}
 
  |-
 
  |-
 
  {{#if:{{{SIZEP|}}}|
 
  {{#if:{{{SIZEP|}}}|
  ! {{Project:Puzzle-sizep}}
+
  ! style="white-space: nowrap;"{{!}}{{Project:Puzzle-SizeP}}
  {{!}} {{#ifeq:{{{SIZEP}}}|irregular|[[:Category:Irregular|irregular]]|{{{SIZEP}}}}}|{{#ifeq:{{NAMESPACE}}|{{ns:0}}|<span style="display:none">[[Template:Puzzle/SIZEP fehlt]]</span>}}
+
  {{!}} <!--{{#ifeq:{{{SIZEP}}}|Irregular|[[:Category:Irregular|{{Project:Puzzle-Shape-Irregular}}]]|{{{SIZEP}}}}}-->{{#ifeq:{{#pos:0123456789|{{#sub:{{{SIZEP}}}|0|1}}}}||[[:Category:{{{SIZEP}}}|{{Project:Puzzle-Shape-{{{SIZEP}}}}}]]|{{{SIZEP}}}}}
 +
|{{#ifeq:{{NAMESPACE}}|{{ns:0}}|<span style="display:none">[[Template:Puzzle/SIZEP fehlt]]</span>}}
 
  }}
 
  }}
 
  |-
 
  |-
 
  {{#if:{{{INSET|}}}|
 
  {{#if:{{{INSET|}}}|
  ! {{Project:Puzzle-inset}}
+
  ! {{Project:Puzzle-InSet}}
 
  {{!}} [[{{{INSET}}}]]
 
  {{!}} [[{{{INSET}}}]]
 
  }}
 
  }}
 
  |-
 
  |-
  ! {{Project:Puzzle-state}}
+
  ! {{Project:Puzzle-State}}
 
  {{!}} {{#if:{{{STATE|}}}|{{State|{{{STATE}}}}}|{{State|nnn}}}}
 
  {{!}} {{#if:{{{STATE|}}}|{{State|{{{STATE}}}}}|{{State|nnn}}}}
 
  |}
 
  |}
Line 252: Line 254:
 
{{#if:{{{REMARKS|}}}|
 
{{#if:{{{REMARKS|}}}|
 
{{!}}-  
 
{{!}}-  
{{!}} colspan="3" style="background-color:#E6E6E6; font-size:120%;"{{!}} '''{{Project:Puzzle-remarks}}'''
+
{{!}} colspan="3" style="background-color:#E6E6E6; font-size:120%;"{{!}} '''{{Project:Puzzle-Remarks}}'''
 
{{!}}-  
 
{{!}}-  
 
{{!}} colspan="3"{{!}} {{{REMARKS}}}
 
{{!}} colspan="3"{{!}} {{{REMARKS}}}
 
}}
 
}}
 
|}<!--
 
|}<!--
-->{{#if:{{{SERIES|}}}|{{#inCategory:Category:{{{SERIES}}} ({{#dplvar:_prod}})|Category:Serien {{#dplvar:_prod}}||{{Hinweis|Die Serie "[[:Category:{{{SERIES}}} ({{#dplvar:_prod}})|{{{SERIES}}}]]" ist nicht in "[[:Category:Serien {{#dplvar:_prod}}|Serien {{#dplvar:_prod}}]]" vorhanden!}}}}|}}<!--
+
{{#if:{{{SERIES|}}}|{{#inCategory:Category:{{{SERIES}}} ({{#ifeq:{{{PRODUCER}}}|-|Unknown producer|{{{PRODUCER}}}}})|Category:Series {{#ifeq:{{{PRODUCER}}}|-|Unknown producer|{{{PRODUCER}}}}}||{{Hinweis|Die Serie "[[:Category:{{{SERIES}}} ({{#ifeq:{{{PRODUCER}}}|-|Unknown producer|{{{PRODUCER}}}}})|{{{SERIES}}}]]" ist nicht in "[[:Category:Series {{#ifeq:{{{PRODUCER}}}|-|Unknown producer|{{{PRODUCER}}}}}|Series {{#ifeq:{{{PRODUCER}}}|-|Unknown producer|{{{PRODUCER}}}}}]]" vorhanden!}}}}|}}
 
-->{{DEFAULTSORT:{{Sorting|{{NoUmlaut|{{NoPieces|{{PAGENAME}}}}}}}}}}<!--
 
-->{{DEFAULTSORT:{{Sorting|{{NoUmlaut|{{NoPieces|{{PAGENAME}}}}}}}}}}<!--
 
-->[[Category:Puzzles]]<!--
 
-->[[Category:Puzzles]]<!--
-->[[Category:{{{PIECES}}} Teile]]<!--
+
-->[[Category:{{{PIECES}}} Pieces]]<!--
-->{{#if:{{{PRODUCER|}}}|{{#ifeq:{{{PRODUCER}}}|-|[[Category:Herst.Unbekannt]]|[[Category:{{{PRODUCER}}}]]}}}}<!--
+
-->{{#if:{{{PRODUCER|}}}|{{#ifeq:{{{PRODUCER}}}|-|[[Category:Unknown producer]]|[[Category:{{{PRODUCER}}}]]}}}}<!--
-->{{#if:{{{PRODUCER|}}}|{{#ifeq:{{{PRODUCER}}}|-|[[Category:{{{PIECES}}} Herst.Unbekannt]]|[[Category:{{{PIECES}}} {{{PRODUCER}}}]]}}}}<!--
+
-->{{#if:{{{PRODUCER|}}}|{{#ifeq:{{{PRODUCER}}}|-|[[Category:{{{PIECES}}} Unknown producer]]|[[Category:{{{PIECES}}} {{{PRODUCER}}}]]}}}}<!--
-->{{#if:{{{ARTIST|}}}|{{#ifeq:{{{ARTIST}}}|-|[[Category:Künstler unbekannt]]|{{SplitCat|{{{ARTIST}}}|cat}}}}}}<!--
+
-->{{#if:{{{ARTIST|}}}|{{#ifeq:{{{ARTIST}}}|-|[[Category:Unknown artist]]|{{SplitCat|{{{ARTIST}}}|cat}}}}}}<!--
 
-->{{#if:{{{GENRE|}}}|{{SplitCat|{{{GENRE}}}|cat}}}}<!--
 
-->{{#if:{{{GENRE|}}}|{{SplitCat|{{{GENRE}}}|cat}}}}<!--
-->{{#if:{{{SERIES|}}}|[[Category:{{{SERIES}}} ({{#dplvar:_prod}})]]}}<!--
+
-->{{#if:{{{SERIES|}}}|[[Category:{{{SERIES}}} ({{#ifeq:{{{PRODUCER}}}|-|Unknown producer|{{{PRODUCER}}}}})]]}}<!--
 
-->{{#if:{{{SHAPE|}}}|[[Category:{{{SHAPE}}}]]}}<!--
 
-->{{#if:{{{SHAPE|}}}|[[Category:{{{SHAPE}}}]]}}<!--
-->{{#ifeq:{{{SIZEP|}}}|irregular|[[Category:Irregular]]}}<!--
+
{{#ifeq:{{{SIZEP|}}}|Irregular|[[Category:Irregular]]}}
-->{{#if:{{{YEAR|}}}|{{#ifeq:{{{YEAR}}}|-|[[Category:Jahr unbekannt]]|[[Category:{{{YEAR}}}]]}}}}<!--
+
-->{{#if:{{{SIZEP|}}}|{{#ifeq:{{#pos:0123456789|{{#sub:{{{SIZEP}}}|0|1}}}}||[[Category:{{{SIZEP}}}]]|}}}}<!--
-->{{#ifexpr:{{{PIECES}}}>=5000|[[Category:Groß-Puzzles]]}}</includeonly>
+
-->{{#if:{{{YEAR|}}}|{{#ifeq:{{{YEAR}}}|-|[[Category:Unknown year]]|[[Category:{{{YEAR}}}]]}}}}<!--
 +
-->{{#ifexpr:{{{PIECES}}}>=5000|[[Category:Big puzzles]]}}<!--
 +
-->{{#if:{{{ARTNR|}}}|{{#ifeq:{{{PRODUCER}}}|Ravensburger|{{Exist|Category:Ravensburger_ArtNr_{{{ARTNR}}}|[[Category:Ravensburger ArtNr {{{ARTNR}}}]]}}}}}}</includeonly>

Latest revision as of 11:34, 21 November 2022

All data of a puzzle.

Template parameters

ParameterDescriptionTypeStatus
PiecesPIECES

Number pieces on box

Default
empty
Example
empty
Auto value
empty
Numberrequired
Pieces, realPIECESR

Real number of pieces

Default
empty
Example
empty
Auto value
empty
Numberoptional
Title, GermanTITLE-D

German title, if available, translation in '()' possible

Default
empty
Example
empty
Auto value
empty
Stringoptional
Title, EnglishTITLE-E

English title, if available, translation in '()' possible

Default
empty
Example
empty
Auto value
empty
Stringoptional
Title, originalTITLE-O

Original title, if only available

Default
empty
Example
empty
Auto value
empty
Stringoptional
Title, othersTITLE-S

Other titles separated by '<br>'

Default
empty
Example
empty
Auto value
empty
Stringoptional
GenresGENRE

Topic of puzzle separated by ';'

Default
empty
Example
empty
Auto value
empty
Stringoptional
ProducerPRODUCER

Producer of the puzzle

Default
empty
Example
empty
Auto value
empty
Stringoptional
YearYEAR

Year of release if available, '-' otherwise

Default
empty
Example
empty
Auto value
empty
Stringoptional
Article numberARTNR

Article number on box if available, '-' otherwise

Default
empty
Example
empty
Auto value
empty
Stringoptional
GTIN-CodeGTIN

GTIN-barcode if available, '-' otherwise

Default
empty
Example
empty
Auto value
empty
Stringoptional
ArtistARTIST

Artist(s) separated by ';', '-' otherwise

Default
empty
Example
empty
Auto value
empty
Stringoptional
Puzzle-seriesSERIES

Puzzle belongs to a series

Default
empty
Example
empty
Auto value
empty
Stringoptional
ShapeSHAPE

Shape of the puzzle

Default
empty
Example
empty
Auto value
empty
Stringoptional
Size [cm]SIZEC

Size of the completed puzzle in [cm]

Default
empty
Example
empty
Auto value
empty
Stringoptional
Size [pieces]SIZEP

Size of the completed puzzle in [pieces] or 'irregular'

Default
empty
Example
empty
Auto value
empty
Stringoptional
BoxBOX

Type of box

Default
empty
Example
empty
Auto value
empty
Stringoptional
Piece-set (unused)PIECE-SET

Set of piece shapes

Default
empty
Example
empty
Auto value
empty
Stringoptional
Puzzle setINSET

Puzzle is part of a puzzle set (two or more puzzles in one box)

Default
empty
Example
empty
Auto value
empty
Stringoptional
RemarksREMARKS

Remarks on box not stored elsewhere

Default
empty
Example
empty
Auto value
empty
Stringoptional
StateSTATE

Shows state of data/pictures

Default
empty
Example
empty
Auto value
empty
Stringoptional