{{#switch:{{{userparam|}}}|sidif={{#if:{{{?pageid|}}}|{{#replace:{{#replace:{{{?pageid}}}|#|}}|-|_}} isA Brainteaser<br>|}}
{{#if:{{{?issue|}}}|"{{{?issue}}}" is issue of it <br>|}}
{{#if:{{{?date|}}}|"{{{?date}}}" is date of it <br>|}}
{{#if:{{{?problem|}}}|"{{{?problem}}}" is problem of it <br>|}}
{{#if:{{{?solution|}}}|"{{{?solution}}}" is solution of it <br>|}}
{{#if:{{{?finishDate|}}}|"{{{?finishDate}}}" is finishDate of it <br>|}}
{{#if:{{{?pdf|}}}|"{{{?pdf}}}" is pdf of it <br>|}}
{{#if:{{{?page|}}}|"{{{?page}}}" is page of it <br>|}}
|#default={{#switch:{{{storemode|}}}
|none=
|subobject={{#subobject:-
|isA=Brainteaser
|Brainteaser issue={{{issue|}}}
|Brainteaser date={{{date|}}}
|Brainteaser problem={{{problem|}}}
|Brainteaser solution={{{solution|}}}
|Brainteaser finishDate={{{finishDate|}}}
|Brainteaser pdf={{{pdf|}}}
|Brainteaser page={{{page|}}}
}}
|#default={{#set:
|isA=Brainteaser
|Brainteaser issue={{{issue|}}}
|Brainteaser date={{{date|}}}
|Brainteaser problem={{{problem|}}}
|Brainteaser solution={{{solution|}}}
|Brainteaser finishDate={{{finishDate|}}}
|Brainteaser pdf={{{pdf|}}}
|Brainteaser page={{{page|}}}
}}
}}
{{#switch: {{{viewmode|}}}
|masterdetail=
|tableheader={{{!}} class='wikitable'
!issue!!date!!problem!!solution!!finishDate!!pdf!!page
{{!}}-
|tablerow=
{{!}}{{{issue|}}}{{!}}{{!}}{{{date|}}}{{!}}{{!}}{{{problem|}}}{{!}}{{!}}{{{solution|}}}{{!}}{{!}}{{{finishDate|}}}{{!}}{{!}}{{{pdf|}}}{{!}}{{!}}{{{page|}}}
{{!}}-
|tablefooter={{!}}}
|labelfield=
issue={{#if:{{{issue|}}}|{{{issue|}}}|}}<br>date={{#if:{{{date|}}}|{{{date|}}}|}}<br>problem={{#if:{{{problem|}}}|{{{problem|}}}|}}<br>solution={{#if:{{{solution|}}}|{{{solution|}}}|}}<br>finishDate={{#if:{{{finishDate|}}}|{{{finishDate|}}}|}}<br>pdf={{#if:{{{pdf|}}}|[[{{{pdf|}}}]]|}}<br>page={{#if:{{{page|}}}|[[{{{page|}}}]]|}}<br>|#default={{{!}} class='wikitable'
! colspan='2' {{!}}Brainteaser
{{!}}-
{{#switch:{{{storemode|}}}|property=
! colspan='2' style='text-align:left' {{!}} {{Icon|name=edit|size=24}}{{Link|target=Special:FormEdit/Brainteaser/{{FULLPAGENAME}}|title=edit}}
{{!}}-
}}
!issue
{{!}} {{#if:{{{issue|}}}|{{{issue|}}}|}}
{{!}}-
!date
{{!}} {{#if:{{{date|}}}|{{{date|}}}|}}
{{!}}-
!problem
{{!}} {{#if:{{{problem|}}}|{{{problem|}}}|}}
{{!}}-
!solution
{{!}} {{#if:{{{solution|}}}|{{{solution|}}}|}}
{{!}}-
!finishDate
{{!}} {{#if:{{{finishDate|}}}|{{{finishDate|}}}|}}
{{!}}-
!pdf
{{!}} {{#if:{{{pdf|}}}|[[{{{pdf|}}}]]|}}
{{!}}-
!page
{{!}} {{#if:{{{page|}}}|[[{{{page|}}}]]|}}
{{!}}-
{{!}}}
}}
}}
[[Category:Brainteaser]]{{#default_form:Brainteaser}}
Click on "Edit" to edit the noinclude-part Source of this Template.