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"

From Jigsaw-Wiki
Jump to: navigation, search
m (Text replacement - "Vorlage:" to "Template:")
Line 11: Line 11:
 
{{BoxColl|F|Neuschwanstein}}</noinclude><!--
 
{{BoxColl|F|Neuschwanstein}}</noinclude><!--
 
--><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;">'''Familie:''' [[{{{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;">'''Motiv identisch:''' [[{{{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;">'''Name identisch:''' [[{{{2}}} (N)]]</div>}}</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>}}</includeonly>
 
<noinclude>[[Category:Vorlagen]]</noinclude>
 
<noinclude>[[Category:Vorlagen]]</noinclude>

Revision as of 14:33, 17 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

Beispiel für eine Familie:

{{BoxColl|F|Neuschwanstein}}

ergibt

Neuschwanstein (F)