"ഫലകം:CommonsGallery/doc" എന്ന താളിന്റെ പതിപ്പുകൾ തമ്മിലുള്ള വ്യത്യാസം

'= Commons Gallery – Documentation = == Overview == '''Commons Gallery''' is a custom template system that allows editors to embed images from '''Wikimedia Commons''' into pages on schoolwiki.in without using InstantCommons. Images are: * Loaded dynamically using the Wikimedia Commons API * Displayed in a responsive grid * Clickable to open a lightbox viewer * Fully attributed (author, license, and Commons file page...' താൾ സൃഷ്ടിച്ചിരിക്കുന്നു
 
No edit summary
 
(ഒരേ ഉപയോക്താവ് ചെയ്ത ഇടയ്ക്കുള്ള 2 നാൾപ്പതിപ്പുകൾ പ്രദർശിപ്പിക്കുന്നില്ല)
വരി 27: വരി 27:
This system uses '''two templates''':
This system uses '''two templates''':


# '''{{CommonsGallery}}''' – the gallery container
# '''<nowiki>{{CommonsGallery}}</nowiki>''' – the gallery container
# '''{{CommonsGalleryItem}}''' – a single image entry inside the gallery
# '''<nowiki>{{CommonsGalleryItem}}</nowiki>''' – a single image entry inside the gallery


Editors normally use both together.
Editors normally use both together.
വരി 265: വരി 265:


---
---
<templatedata>
{
"description": "Creates a responsive image gallery using images from Wikimedia Commons. Images are loaded dynamically and displayed with captions, attribution, and a lightbox viewer.",
"params": {
"items": {
"label": "Gallery items",
"description": "List of CommonsGalleryItem templates defining the images in this gallery.",
"type": "content",
"required": true,
"example": "{{CommonsGalleryItem|file=Example.jpg|caption=Example caption}}"
}
},
"format": "block"
}
</templatedata>
"https://schoolwiki.in/ഫലകം:CommonsGallery/doc" എന്ന താളിൽനിന്ന് ശേഖരിച്ചത്