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
(separate TITLE-S with <hr>)
(SIZEP with other cuts)
Line 230: Line 230:
 
  {{#if:{{{SIZEP|}}}|
 
  {{#if:{{{SIZEP|}}}|
 
  ! {{Project:Puzzle-SizeP}}
 
  ! {{Project:Puzzle-SizeP}}
  {{!}} {{#ifeq:{{{SIZEP}}}|Irregular|[[:Category:Irregular|{{Project:Puzzle-Shape-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>}}
 
  }}
 
  }}
 
  |-
 
  |-

Revision as of 21:07, 8 May 2019

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