Predloga:DIY-kartica/en: Razlika med redakcijama
Videz
Brez povzetka urejanja |
Brez povzetka urejanja |
||
| Vrstica 38: | Vrstica 38: | ||
'''Documentation:''' [[Predloga:DIY-kartica/en/dok|View template documentation]] | '''Documentation:''' [[Predloga:DIY-kartica/en/dok|View template documentation]] | ||
</noinclude> | </noinclude> | ||
<templatedata> | |||
{ | |||
"params": { | |||
"title1": { | |||
"label": "Project page", | |||
"description": "Name of the wiki project page the card links to.", | |||
"type": "wiki-page-name", | |||
"required": true | |||
}, | |||
"display1": { | |||
"label": "Display title", | |||
"description": "Title displayed on the card. If not provided, the project page name is used.", | |||
"type": "string", | |||
"suggested": true | |||
}, | |||
"tag1": { | |||
"label": "Tag 1", | |||
"description": "First project tag.", | |||
"type": "string", | |||
"required": true | |||
}, | |||
"tag2": { | |||
"label": "Tag 2", | |||
"description": "Second project tag.", | |||
"type": "string", | |||
"required": true | |||
}, | |||
"tag3": { | |||
"label": "Tag 3", | |||
"description": "Third project tag.", | |||
"type": "string", | |||
"required": true | |||
}, | |||
"image-x": { | |||
"label": "Image offset X", | |||
"description": "Horizontal image offset in pixels.", | |||
"type": "number", | |||
"default": "0" | |||
}, | |||
"image-y": { | |||
"label": "Image offset Y", | |||
"description": "Vertical image offset in pixels.", | |||
"type": "number", | |||
"default": "0" | |||
}, | |||
"image1": { | |||
"label": "Image", | |||
"description": "Project image file.", | |||
"type": "wiki-file-name", | |||
"required": true | |||
} | |||
}, | |||
"description": "Displays a project card for use in project galleries and overview lists.", | |||
"format": "block" | |||
} | |||
</templatedata> | |||
Redakcija: 15:19, 25. 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 |