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"
(added Schmidt) |
(example & exists) |
||
Line 11: | Line 11: | ||
==Beispiel== | ==Beispiel== | ||
+ | :<nowiki>{{MoreData|val1=09|val2=09|val3=856058|val4=858120}}</nowiki> | ||
+ | :<nowiki>{{MoreData|head=n|val1=09|val2=09|val3=856058|val4=858120}}</nowiki> | ||
+ | erzeugt für ein Ravensburger-Puzzle: | ||
{{MoreData|val1=09|val2=09|val3=856058|val4=858120}} | {{MoreData|val1=09|val2=09|val3=856058|val4=858120}} | ||
{{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}}==}} | ||
− | {{#ifeq:{{NAMESPACENUMBER}}|0|{{#vardefine:_prod|{{Trim|{{#dpl:title={{PAGENAME}}|skipthispage=no|include={Puzzle}:PRODUCER}}}}}}|{{#vardefine:_prod|Ravensburger}}}}<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}}]]''' → {{#switch:{{#var:_prod}} | + | {{#ifeq:{{NAMESPACENUMBER}}|0|{{#vardefine:_prod|{{#ifexist:{{PAGENAME}}|{{Trim|{{#dpl:title={{PAGENAME}}|skipthispage=no|include={Puzzle}:PRODUCER}}}}|}}}}|{{#vardefine:_prod|Ravensburger}}}}<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}}]]''' → {{#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> | ||
Line 21: | Line 24: | ||
| Educa=<code lang"text">none</code> | | Educa=<code lang"text">none</code> | ||
| Prinz=<code lang"text">Barcode: {{#if:{{{val1|}}}|{{{val1}}}|?}} Saison:{{#if:{{{val2|}}}|{{{val2}}}|?}} WGR:{{#if:{{{val3|}}}|{{{val3}}}|?}} Auftr:{{#if:{{{val4|}}}|{{{val4}}}|?}}</code> | | Prinz=<code lang"text">Barcode: {{#if:{{{val1|}}}|{{{val1}}}|?}} Saison:{{#if:{{{val2|}}}|{{{val2}}}|?}} WGR:{{#if:{{{val3|}}}|{{{val3}}}|?}} Auftr:{{#if:{{{val4|}}}|{{{val4}}}|?}}</code> | ||
+ | | #default = <code lang"text">{{{val1}}}</code> <code lang"text">{{{val2}}}</code> <code lang"text">{{{val3}}}</code> <code lang"text">{{{val4}}}</code> | ||
}}</div></div>{{#ifeq:{{NAMESPACENUMBER}}|0|[[Category:MoreData {{#var:_prod}}]]}}</includeonly> | }}</div></div>{{#ifeq:{{NAMESPACENUMBER}}|0|[[Category:MoreData {{#var:_prod}}]]}}</includeonly> |
Revision as of 07:42, 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: