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:MoreData"

From Jigsaw-Wiki
Jump to: navigation, search
m
Line 17: Line 17:
 
{{MoreData|head=n|val1=09|val2=09|val3=856058|val4=858120}}
 
{{MoreData|head=n|val1=09|val2=09|val3=856058|val4=858120}}
 
[[Category:Puzzle templates]]</noinclude><includeonly>{{#if:{{{head|}}}||=={{Project:Puzzle-MoreData}}==}}
 
[[Category:Puzzle templates]]</noinclude><includeonly>{{#if:{{{head|}}}||=={{Project:Puzzle-MoreData}}==}}
{{#vardefine:_prod|Ravensburger}}{{#ifeq:{{NAMESPACENUMBER}}|0|{{#ifexist:{{PAGENAME}}|{{#vardefine:_prod|{{Trim|{{#dpl:title={{PAGENAME}}|skipthispage=no|include={Puzzle}:PRODUCER}}}}}}|{{#vardefine:_prod|default}}}}}}<div class="roundborder"><div class="toc noprint" style="display:block; border:none; background:Gainsboro; font-size:100%;">'''[[:Category:Boxes_MoreData#{{#var:_prod}}|{{Project:Puzzle-MoreData}} {{#var:_prod}}]]''' &rarr;&nbsp;{{#switch:{{#var:_prod}}
+
{{#vardefine:_prod|Ravensburger}}{{#ifeq:{{NAMESPACENUMBER}}|0|{{#ifexist:{{PAGENAME}}|{{#vardefine:_prod|{{Trim|{{#dpl:title={{PAGENAME}}|skipthispage=no|include={Puzzle}:PRODUCER}}}}}}|{{#vardefine:_prod|default}}}}}}{{#if:{{#pos:{{#var:_prod}}|Extension}}|{{#vardefine:_prod|}}}}<div class="roundborder"><div class="toc noprint" style="display:block; border:none; background:Gainsboro; font-size:100%;">'''[[:Category:Boxes_MoreData#{{#var:_prod}}|{{Project:Puzzle-MoreData}} {{#var:_prod}}]]''' &rarr;&nbsp;{{#switch:{{#var:_prod}}
 
  | Ravensburger=<code lang"text">Box-Top:{{{val1}}}-{{{val2}}}</code> <code lang"text">Box-Top:{{{val3}}}</code> <code lang"text">Box-Bottom:{{{val4}}}</code>
 
  | Ravensburger=<code lang"text">Box-Top:{{{val1}}}-{{{val2}}}</code> <code lang"text">Box-Top:{{{val3}}}</code> <code lang"text">Box-Bottom:{{{val4}}}</code>
 
  | Schmidt=<code lang"text">{{{val1}}}</code> <code lang"text">{{{val2}}}</code> <code lang"text">{{{val3}}}</code> <code lang"text">{{{val4}}}</code>
 
  | Schmidt=<code lang"text">{{{val1}}}</code> <code lang"text">{{{val2}}}</code> <code lang"text">{{{val3}}}</code> <code lang"text">{{{val4}}}</code>

Revision as of 08:40, 6 April 2021

Template: MoreData

Anzeige weiterer Daten auf der Box...

Aufruf

{{MoreData|<head=>|val1=|val2=|val3=|val4=}}

  • Je nach Hersteller werden hier verschiedene Daten gespeichert.
  • Ist <head> angegeben wird die Überschrift nicht wieder ausgegeben.

Beispiel

{{MoreData|val1=09|val2=09|val3=856058|val4=858120}}
{{MoreData|head=n|val1=09|val2=09|val3=856058|val4=858120}}

erzeugt für ein Ravensburger-Puzzle:

More data

More data Ravensburger → Box-Top Jahr:2009 Box-Top Monat:09 Box-Top:856058 Box-Bottom:858120
More data Ravensburger → Box-Top Jahr:2009 Box-Top Monat:09 Box-Top:856058 Box-Bottom:858120