Predloga:DIY-kartica/en/doc
Videz
DIY-kartica/en • Back to templates
Project card for displaying individual projects in project galleries and overview lists.
Usage example
{{DIY-kartica/en
|title1=Project title
|display1=Display title
|image1=image.jpg
|image-x=0
|image-y=0
|tag1=
|tag2=
|tag3=
}}
Parameters
| Parameter | Description | Required |
|---|---|---|
| title1 | Name of the wiki project page the card links to. | Yes |
| display1 | Title displayed on the card. If not provided, the project page name is used. | No |
| tag1 | First project tag. | Yes |
| tag2 | Second project tag. | Yes |
| tag3 | Third project tag. | Yes |
| image-x | Horizontal image offset in pixels. | No |
| image-y | Vertical image offset in pixels. | No |
| image1 | Project image file. | Yes |
Notes
- The template creates a visual project card linking to a project page.
- The
title1parameter must contain the name of an existing wiki page. - If
display1is not specified, the value oftitle1is used automatically. - The
tag1,tag2, andtag3parameters are required and displayed as tags at the top of the card. - The
image1parameter must contain the name of an image file uploaded to the wiki. - The default value for
image-xandimage-yis0. - The
image-xandimage-yparameters can be used to adjust image positioning within the card. - The card is typically used in project galleries, project listings, and other overview displays.
|image-x=10 |image-y=-20
Template hierarchy
Open-Source Projects Odprtokodni_projekti/en
└─ uses Template:Grid3 to display projects in grid
└─ contains Template:DIY-kartica/en to display an individual project
Visual Editor
This template includes TemplateData and supports insertion through Visual Editor.