Կաղապար:Commons cat

Վիքիփեդիայից՝ ազատ հանրագիտարանից

(Վերահղված է Կաղապար:Commonscat-ից)
Commons-logo.svg
Վիքիպահեստում կան նյութեր հետևյալ թեմայով՝
[edit] Template-info.svg Template documentation

"Կաղապար:Commons cat" ստեղծում է հղում Վիքիպահեստի "Կատեգորիա:" անվանում էջին։ Նույնիսկ եթե նման Կատեգորիա գոյություն չունի Վիքիպահեստում այն մեկ է, երեևալւ է որպես աշխատող, կապույտ հիմերհղում՝ ուշադիր եղեք Վիքիպահեստի Կատեգորիայի անվանումը նշելիս։

[խմբագրել] Օգտագործում

  {{Commons cat}} - տեղադրել կաղապարը օգտագործելով ներկայիս էջի անվանումը, որպես Վիքիպահեստի կատեգորիայի անվանում։
  {{Commons cat|''catnam''}} - տեղադրել կաղապարը catnam-վերնագրով.
  {{Commons cat|''catnam''|''shownam''}} - տեղադրել կաղապարը shownam-ը վերնագրով։
  {{Commons cat|''catnam''|3=position=left}} - տեղադրել կաղապարը ձախ կողմում։

The two parameters catnam and shownam (1 & 2) are optional, and are intended for cases where the Commons category name is different from the Wikipedia page name. The first parameter is the name of the corresponding category on the Wikimedia Commons, without the "Category:" prefix. If this first parameter is used, then the template will display the Commons category name, which may be confusing to readers. This text can be overridden by the second parameter, where the Wikipedia page name would typically be used.

The parameter "position=" accepts one value, left, that moves the box to the left side, instead of the default right side. More information may be found at {{Side box}}.

Օրինակ, Բևեռային արջերի էջին հղվելու համար՝

{{Commons cat|Ursus maritimus|Բեևեռային արջեր}}

կստեղծի հղում՝ Commons:Category:Ursus maritimus որը կցուցադրվի որպես Բեևռային արջեր.

[խմբագրել] Տես նաև