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
m (Text replacement - "Herst.Unbekannt" to "Unknown Prod.")
Line 180: Line 180:
 
  {{#if: {{{PRODUCER|}}}|
 
  {{#if: {{{PRODUCER|}}}|
 
  ! {{Project:Puzzle-Producer}}
 
  ! {{Project:Puzzle-Producer}}
  {{!}} {{#ifeq:{{{PRODUCER}}}|-|[[:Category:Unknown Prod.|Unknown Prod.]]|[[: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}}|{{{ARTNR}}}}}|{{#ifeq:{{NAMESPACE}}|{{ns:0}}|<span style="display:none">[[Template:Puzzle/ARTNR fehlt]]</span>}}
 
  }}
 
  }}
 
  |-
 
  |-
Line 195: Line 195:
 
  {{#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}}}|art}}}}
+
  {{!}} {{#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}}}|-|Unknown Prod.|{{{PRODUCER}}}}}}}[[:Category:{{{SERIES}}} ({{#dplvar:_prod}})|{{{SERIES}}}]]
+
  {{!}} {{#dplvar:set|_prod|{{#ifeq:{{{PRODUCER}}}|-|Unknown producer|{{{PRODUCER}}}}}}}[[:Category:{{{SERIES}}} ({{#dplvar:_prod}})|{{{SERIES}}}]]
 
  }}
 
  }}
 
  |-
 
  |-
Line 261: Line 261:
 
-->[[Category:Puzzles]]<!--
 
-->[[Category:Puzzles]]<!--
 
-->[[Category:{{{PIECES}}} Teile]]<!--
 
-->[[Category:{{{PIECES}}} Teile]]<!--
-->{{#if:{{{PRODUCER|}}}|{{#ifeq:{{{PRODUCER}}}|-|[[Category:Unknown Prod.]]|[[Category:{{{PRODUCER}}}]]}}}}<!--
+
-->{{#if:{{{PRODUCER|}}}|{{#ifeq:{{{PRODUCER}}}|-|[[Category:Unknown producer]]|[[Category:{{{PRODUCER}}}]]}}}}<!--
-->{{#if:{{{PRODUCER|}}}|{{#ifeq:{{{PRODUCER}}}|-|[[Category:{{{PIECES}}} Unknown Prod.]]|[[Category:{{{PIECES}}} {{{PRODUCER}}}]]}}}}<!--
+
-->{{#if:{{{PRODUCER|}}}|{{#ifeq:{{{PRODUCER}}}|-|[[Category:{{{PIECES}}} Category: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}}} ({{#dplvar:_prod}})]]}}<!--
 
-->{{#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:{{{YEAR|}}}|{{#ifeq:{{{YEAR}}}|-|[[Category:Unknown year]]|[[Category:{{{YEAR}}}]]}}}}<!--
 
-->{{#ifexpr:{{{PIECES}}}>=5000|[[Category:Groß-Puzzles]]}}</includeonly>
 
-->{{#ifexpr:{{{PIECES}}}>=5000|[[Category:Groß-Puzzles]]}}</includeonly>

Revision as of 19:44, 17 March 2017

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 availabel, '-' 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