Stampa:Commons

![]() | Kjo stampë përdor Lua: |
Kjo stampë është pjesë e projekteve motra të Wikipedisë. Kjo stampë drejton lexuesin nga artikulli tek një faqe në Wikimedia Commons. Pa plotësuar ndonjë parametër, stampa përdor Wikidata-n për të lidhur automatikisht tek një galeri në dispozicion (apo kategori nëse galeri s'ka). Kur përdoren parametrat, ajo drejton tek galeria e emërtuar.
Përdorimi
[Redakto nëpërmjet kodit]{{Commons}}
—vendos kutinë e lidhjes me emrin e faqes ku gjendet lexuesi. {{Commons|emri i faqes}}
—vendos kutinë e lidhjes duke lidhur titullin emri i faqes. {{Commons|emri i faqes|emri i shfaqur}}
—vendos kutinë e lidhjes duke shfaqur titullin emri i shfaqur. {{Commons|emri i faqes|position=left}}
—kalon kutinë e lidhjes kah ana e majtë.
To place this template on the page, type {{Commons|emri i faqes}}, where emri i faqes is the name of a page on Wikimedia Commons (defaults to "{{PAGENAME}}", the end-name of a page where used).
- The optional 2nd parameter gives the displayed link text.
- The
|position=
parameter accepts one keyword,left
, to float the box to the left instead of to the right. - To link to a Category, use the related template
{{Commons category|catname}}
, where catname is the name of the category.
Location
[Redakto nëpërmjet kodit]Stampa:Commons templates location
Defaults
[Redakto nëpërmjet kodit]The emri i faqes defaults to wiki-variable "{{PAGENAME}}", which is the end-name of the page where used. For a Template:Txxx, the {{PAGENAME}} would be the end-name "Txxx". For a Category:Catxxx, that page would have {{PAGENAME}} as the end-name "Catxxx".
The default positioning of the link-box is to the right-side.
Examples
[Redakto nëpërmjet kodit]{{Commons}}
|
produces

{{Commons|Reconquista}}
|
produces

{{Commons|Category:Reconquista}}
|
produces

{{Commons|Reconquista|retaking of the Iberian Peninsula}}
|
produces

{{Commons|Reconquista|position=left}}
|
produces

Template data
[Redakto nëpërmjet kodit]Të dhënat e stampës për stampën Commons
Creates a small box with a link to a related page on Wikimedia Commons.
Parameter | Description | Type | Status | |
---|---|---|---|---|
Pagename | 1 | The page name on Commons. The article's page name is used as a default. | String | optional |
Showname | 2 | Optional displayed link text. | String | optional |
Position | position | Position to display the box: 'left' floats the box to the left rather than the default which is on the right. | String | optional |
Tracking categories
[Redakto nëpërmjet kodit]Normal categories
[Redakto nëpërmjet kodit]Maintenance categories
[Redakto nëpërmjet kodit]- Category:Commons link is defined as the pagename (306)
- Category:Commons link is locally defined (926)
- Category:Commons link is the pagename (14)
- Category:Inconsistent wikidata for Commons gallery (8)
Shih edhe
[Redakto nëpërmjet kodit]- {{Commonskat}}
- {{Commonsart}}