Template:Navbox DPL: Difference between revisions

Created page with "<includeonly>{{#DPL: |debug = {{{debug|}}} |namespace = |uses = {{{uses|Template:Item Infobox}}} |categorymatch = {{{category}}} |category = {{{category2|}}} |category = {{{category3|}}} |titlematch = {{{titlematch|%}}} |nottitlematch = {{{nottitlematch|}}} |notcategorymatch = {{{not1|}}} |notcategorymatch = {{{not2|}}} |notcategorymatch = {{{not3|}}} |notcategorymatch = {{{not4|}}} |notcategorymatch = {{{not5|}}..."
 
no border for image it looks bad
 
(One intermediate revision by the same user not shown)
Line 31: Line 31:
     |artifact set = ²{Artifact Set¦%PAGE%¦mini=1}²<!--TODO this should also use a module like Card List-->
     |artifact set = ²{Artifact Set¦%PAGE%¦mini=1}²<!--TODO this should also use a module like Card List-->
     |image        = {{#if:1|[}}[File:
     |image        = {{#if:1|[}}[File:
     |#default    = {{{format|[[File:{{{file|Item %PAGE%.png}}}|%PAGE%|link=%PAGE%|border|{{{size|50x50px}}}]]}}}
     |#default    = {{{format|[[File:{{{file|Item %PAGE%.png}}}|%PAGE%|link=%PAGE%|{{{size|50x50px}}}]]}}}
   }},{{#switch:{{{format_mode|{{{format}}}}}}
   }},{{#switch:{{{format_mode|{{{format}}}}}}
     |image = ¦%PAGE%¦link=%PAGE%¦border¦{{{size|50x50px}}}]]
     |image = ¦%PAGE%¦link=%PAGE%¦{{{size|50x50px}}}]]
     |link = ¦%PAGE%}²]]\n<!--(the rest of the if from before; sets link text to title (from infobox) if present, or page title otherwise)-->
     |link = ¦%PAGE%}²]]\n<!--(the rest of the if from before; sets link text to title (from infobox) if present, or page title otherwise)-->
   }}{{{formatafter|}}},{{#switch:{{{format_mode|{{{format}}}}}}
   }}{{{formatafter|}}},{{#switch:{{{format_mode|{{{format}}}}}}