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:BoxColl"
(Übersetzung für Angaben ohne Typ anzeigen) |
|||
Line 18: | Line 18: | ||
</pre> | </pre> | ||
ergibt | ergibt | ||
− | {{BoxColl|Triangle box}}</noinclude><!-- | + | {{BoxColl|Triangle box}}{{BoxColl|Wooden}}{{BoxColl|Glow in the dark}}{{BoxColl|Deutschland (S)}}</noinclude><!-- |
− | --><includeonly>{{#switch:{{{1}}}|F=<div style="padding:0.4em 0.4em; margin-right:0.5em; display:inline-block; color:#000000; border-radius: 6px; background-color:#fffc8d;">'''{{Project:Puzzle-Family}}:''' [[{{{2}}} (F)]]</div>|M=<div style="padding:0.4em 0.4em; margin-right:0.5em; display:inline-block; color:#000000; border-radius: 6px; background-color:#add8e6;">'''{{Project:Puzzle-Motiv-id}}:''' [[{{{2}}} (M)]]</div>|N=<div style="padding:0.4em 0.4em; margin-right:0.5em; display:inline-block; color:#000000; border-radius: 6px; background-color:#ffb6c1;">'''{{Project:Puzzle-Name-id}}:''' [[{{{2}}} (N)]]</div>|#default=<div style="padding:0.4em 0.4em; margin-right:0.5em; display:inline-block; color:#000000; border-radius: 6px; background-color:Gainsboro;">'''[[:Category:{{{1}}}|{{{1}}}]]'''</div>}}</includeonly> | + | --><includeonly>{{#switch:{{{1}}}|F=<div style="padding:0.4em 0.4em; margin-right:0.5em; display:inline-block; color:#000000; border-radius: 6px; background-color:#fffc8d;">'''{{Project:Puzzle-Family}}:''' [[{{{2}}} (F)]]</div>|M=<div style="padding:0.4em 0.4em; margin-right:0.5em; display:inline-block; color:#000000; border-radius: 6px; background-color:#add8e6;">'''{{Project:Puzzle-Motiv-id}}:''' [[{{{2}}} (M)]]</div>|N=<div style="padding:0.4em 0.4em; margin-right:0.5em; display:inline-block; color:#000000; border-radius: 6px; background-color:#ffb6c1;">'''{{Project:Puzzle-Name-id}}:''' [[{{{2}}} (N)]]</div>|#default=<div style="padding:0.4em 0.4em; margin-right:0.5em; display:inline-block; color:#000000; border-radius: 6px; background-color:Gainsboro;">{{#if:{{#pos:{{{1}}}|)}}|'''{{Project:Puzzle-Special-Collections}}[[:Category:{{{1}}}|{{{1}}}]]'''|'''[[:Category:{{{1}}}|{{Project:Puzzle-Special-{{{1}}}}}]]'''}}</div>}}</includeonly> |
<noinclude>[[Category:Templates]]</noinclude> | <noinclude>[[Category:Templates]]</noinclude> |
Revision as of 10:26, 24 March 2017
Anzeige einer farbigen Box für Sammlungen.
Template: BoxColl Parameter 1: Typ ("F" = Familie, "N" = Name identisch, "M" = Motiv identisch) Parameter 2: Name der Sammlung
Wird 'Typ' nicht angegeben, wird der Parameter als allgemeine Kategorie angezeigt und zugeordnet.
Beispiel für eine Familie:
{{BoxColl|F|Neuschwanstein}}
ergibt
Beispiel ohne Angabe des Typs:
{{BoxColl|Triangle box}}
ergibt
[[:Category:Triangle box|JW:Puzzle-Special-Triangle box]]
[[:Category:Glow in the dark|JW:Puzzle-Special-Glow in the dark]]