Predloga:DIY-kartica/en: Razlika med redakcijama
Videz
Brez povzetka urejanja |
Brez povzetka urejanja |
||
| (Ena vmesna redakcija istega uporabnika ni prikazana) | |||
| Vrstica 7: | Vrstica 7: | ||
padding:8px; | padding:8px; | ||
"> | "> | ||
<!-- TITLE --> | <!-- TITLE --> | ||
<div style="border-left:4px solid #2c3e50;padding-left:6px;font-size:15px;font-weight:bold;line-height:1.15;margin-bottom:6px;"> | <div style="border-left:4px solid #2c3e50;padding-left:6px;font-size:15px;font-weight:bold;line-height:1.15;margin-bottom:6px;"> | ||
[[{{{title1|Example}}}|{{{display1|{{{title1|Example}}}}}}]] | [[{{{title1|Example}}}|{{{display1|{{{title1|Example}}}}}}]] | ||
</div> | </div> | ||
<!-- TAGS --> | <!-- TAGS --> | ||
<div style="margin-bottom:8px;font-size:0;"> | <div style="margin-bottom:8px;font-size:0;"> | ||
| Vrstica 16: | Vrstica 18: | ||
<span style="display:inline-block;background:#edf1f5;padding:2px 6px;border-radius:10px;font-size:10px;color:#555;margin-right:4px;">{{{tag2|tag 2}}}</span> | <span style="display:inline-block;background:#edf1f5;padding:2px 6px;border-radius:10px;font-size:10px;color:#555;margin-right:4px;">{{{tag2|tag 2}}}</span> | ||
<span style="display:inline-block;background:#edf1f5;padding:2px 6px;border-radius:10px;font-size:10px;color:#555;">{{{tag3|tag 3}}}</span> | <span style="display:inline-block;background:#edf1f5;padding:2px 6px;border-radius:10px;font-size:10px;color:#555;">{{{tag3|tag 3}}}</span> | ||
</div> | </div> | ||
<!-- IMAGE --> | <!-- IMAGE --> | ||
<div style="height:180px;overflow:hidden;background:#fafafa;"> | <div style="height:180px;overflow:hidden;background:#fafafa;"> | ||
| Vrstica 23: | Vrstica 27: | ||
</div> | </div> | ||
</div> | </div> | ||
<!-- END CARD --> | <!-- END CARD --> | ||
</div> | |||
<noinclude> | |||
---- | ---- | ||
'''Documentation:''' [[Template:DIY-kartica/en/doc|View template documentation]] | '''Documentation:''' [[Template:DIY-kartica/en/doc|View template documentation]] | ||
<templatedata> | <templatedata> | ||
{ | { | ||
| Vrstica 83: | Vrstica 90: | ||
"format": "block" | "format": "block" | ||
} | } | ||
</templatedata> | </templatedata></noinclude> | ||
</noinclude> | |||
Trenutna redakcija s časom 10:14, 31. avgust 2026
Documentation: View template documentation
Displays a project card for use in project galleries and overview lists.
| Parameter | Opis | Vrsta | Stanje | |
|---|---|---|---|---|
| Project page | title1 | Name of the wiki project page the card links to. | Ime strani | zahtevano |
| Display title | display1 | Title displayed on the card. If not provided, the project page name is used. | Niz | predlagano |
| Tag 1 | tag1 | First project tag. | Niz | zahtevano |
| Tag 2 | tag2 | Second project tag. | Niz | zahtevano |
| Tag 3 | tag3 | Third project tag. | Niz | zahtevano |
| Image offset X | image-x | Horizontal image offset in pixels.
| Številka | neobvezno |
| Image offset Y | image-y | Vertical image offset in pixels.
| Številka | neobvezno |
| Image | image1 | Project image file. | Datoteka | zahtevano |