Սա } կաղապարն է կամ հոդվածների հաղորդկագրական տուփը մետա-կաղապարը:
Այս կաղապարն օգտագործվում է բազմաթիվ էջերում, ուստի այստեղ կատարված փոփոխությունները նկատելի կլինեն շատերին: Խնդրում ենք ցանկացած փոփոխություն փորձարկել ավազարկղում կամ Ձեր անձնական ենթաէջում: Հաշվի առեք փոփոխությունների քննարկման հնարավորությունը քննարկման էջում կամ խորհրդարանում դրանք կատարելուց առաջ: |
|
Այս կաղապարը օգտագործում է հոդվածներում հաղորդագրական տուփերի տեղադրման համար, ինչպիսին է {{Wikify}} և ուրիշները: Կաղապարը ունի մի քանի տարբեր գույներ, եթե որևէ պարամետր չի տրվում, ապա կաղապարը կատարում է ըստ գործողությունները լռելյայն (default): Նաև կաղապարը ունի ունի ուրիշ հատկանիշենր:
Այս մետա-կաղապարը օգտագործում է ambox CSS-ի դասակարգերը MediaWiki:Common.css-ում: Դասակարգերը կարող են նաև անմիջապես օգտագործվել wikitable table-responsive -ում եթե որևէ օգնության կարիք կա: Տես how-to guide դրա համար:
Օգտագործման պարզ օրինակ՝
{{ambox | տեքստ = Որևէ տեքստ:}}
Կոմպլեքսային օրինակ՝
{{ambox | տեսակ = ոճ | փոքր = ձախ | պատկեր = [[Պատկեր:Emblem-question-yellow.svg|40px|alt=Question mark]] | փոքր_պատկեր = [[Պատկեր:Emblem-question-yellow.svg|20px|alt=Question mark]] | տեքստի_ոճ = color: red; font-weight: bold; font-style: italic; | տեքստ = Text for a big box, for the top of articles. | փոքր_տեքստ = Text for the top of article sections. }}
Text for a big box, for the top of articles. |
Բայց դուք պարատավոր չեք օգտագործել կարմիր bold italic տեքստը:
The following examples use different type parameters but use no image parameters thus they use the default images for each type.
տեսակ=արագ – Speedy deletion issues, such as {{db-g1}} և {{db-g3}}. |
տեսակ=ջնջում – Deletion issues, such as {{afd}} և {{prod}}. |
տեսակ=բովանդակություն – Content issues, such as {{POV}} և {{globalize}}. |
տեսակ=ոճ – Style issues, such as {{cleanup}} և {{wikify}}. |
տեսակ=ձուլում – Merge, split and transwiki proposals, such as {{split}} և {{copy to wiktionary}}. |
The default images shown above are mostly for convenience. In many cases it is more appropriate to use more specific images. These examples use the image parameter to specify an image other than the default images.
տեսակ = բովանդակություն պատկեր = [[Պատկեր:Unbalanced scales.svg|40px|link=|alt=]] This image is often used for {{POV}} and similar issues. |
տեսակ = ոճ պատկեր = [[Պատկեր:Wikitext.svg|50px|link=|alt=]] This image is often used for {{wikify}} etc. |
Some other parameter combinations.
Պարամետրների ցանկը՝
{{ambox | տեսակ = արագ ջնջում / ջնջում / բովանդակություն / ոճ / notice / move / protection | պատկեր = none / [[Պատկեր:...|40px|...]] | պատկեր_աջից = [[Պատկեր:...|40px|...]] | ոճ = CSS values | տեքստի_ոճ = CSS values | տեքստ = The message body text. | փոքր = {{{փոքր|}}} / ձախ | փոքր_պատկեր = none / [[Պատկեր:...|20px|...]] | փոքր_պատկեր աջից = none / [[Պատկեր:...|20px|...]] | փոքր_տեքստ = A shorter message body text. }}
տեսակ
պատկեր
|link=
|alt=
". Օրինակ՝ image = [[File:Unbalanced scales.svg|40px|link=|alt=]]
|link=
|alt=
", and which therefore is announced to visually impaired readers, should use an "|alt=alt text
" parameter that describes the icon. With no |link=
parameter (using the default link), the alt text should describe the icon's visual appearance. For example: image = [[File:Gnome globe current event.svg|40px|alt=Clock over a larger globe]]
|link=Page
" the alt text should describe the icon's function. For example: image = [[File:Purple question mark.svg|40px|link=Special:Random|alt=Random article]]
պատկեր աջից
imageright = [[File:Nuvola apps bookcase.png|40px|alt=Three stacked books]]
ոճ
" "
but with the ending semicolons ;
. For example: style = margin-bottom: 0.5em;
տեքստի ոճ
textstyle = text-align: center;
տեքստ
The small article message boxes are meant for the top of sections. Normally they should only contain one or two lines of text.
փոքր
small = {{{small|}}}
փոքր պատկեր
smallimage = [[File:Gnome globe current event.svg|20px|alt=Clock over a larger globe]]
smallimageright
smallimageright = [[File:Nuvola apps bookcase.png|20px|alt=Three stacked books]]
փոհր տեքստ
If you need to use special characters in the text parameter then you need to escape them like this:
{{ambox | տեքստ =Equal sign = and a start and end brace { } work fine as they are. But here is a pipe | and two end braces}}}} . And now a pipe and end braces|}} .
The This template uses CSS classes in MediaWiki:Common.css for most of its looks, thus it is fully skinnable. This template calls {{ambox/core}} which holds most of the code for {{ambox}}, while {{ambox}} itself does parameter preprocessing. Internally this meta-template uses HTML wikimarkup instead of wikimarkup for the table code. That is the usual way we make meta-templates since wikimarkup has several drawbacks. For instance it makes it harder to use parser functions and some special characters in parameters. The default images for this meta-template are in png format instead of svg format. The main reason is that some older web browsers have trouble with the transparent background that MediaWiki renders for svg images. The png images here have hand optimised transparent background colour so they look good in all browsers. Note that svg icons only look somewhat bad in the old browsers, thus such hand optimisation is only worth the trouble for very widely used icons. For more technical details see the talk page and the "See also" links below. Since this template works almost exactly like {{tmbox}}, {{imbox}}, {{cmbox}} and {{ombox}} their talk pages and related pages might also contain more details. There are several meta-templates in the mbox family: Closely related meta-templates: Ուրիշ էջեր՝ Տես նաև
Այս կաղապարն օգտագործվում է բազմաթիվ էջերում, ուստի այստեղ կատարված փոփոխությունները նկատելի կլինեն շատերին: Խնդրում ենք ցանկացած փոփոխություն փորձարկել ավազարկղում կամ Ձեր անձնական ենթաէջում: Հաշվի առեք փոփոխությունների քննարկման հնարավորությունը քննարկման էջում կամ խորհրդարանում դրանք կատարելուց առաջ: |
|
Այս կաղապարը օգտագործում է հոդվածներում հաղորդագրական տուփերի տեղադրման համար, ինչպիսին է {{Wikify}} և ուրիշները: Կաղապարը ունի մի քանի տարբեր գույներ, եթե որևէ պարամետր չի տրվում, ապա կաղապարը կատարում է ըստ գործողությունները լռելյայն (default): Նաև կաղապարը ունի ունի ուրիշ հատկանիշենր:
Այս մետա-կաղապարը օգտագործում է ambox CSS-ի դասակարգերը MediaWiki:Common.css-ում: Դասակարգերը կարող են նաև անմիջապես օգտագործվել wikitable table-responsive -ում եթե որևէ օգնության կարիք կա: Տես how-to guide դրա համար:
Օգտագործման պարզ օրինակ՝
{{ambox | տեքստ = Որևէ տեքստ:}}
Կոմպլեքսային օրինակ՝
{{ambox | տեսակ = ոճ | փոքր = ձախ | պատկեր = [[Պատկեր:Emblem-question-yellow.svg|40px|alt=Question mark]] | փոքր_պատկեր = [[Պատկեր:Emblem-question-yellow.svg|20px|alt=Question mark]] | տեքստի_ոճ = color: red; font-weight: bold; font-style: italic; | տեքստ = Text for a big box, for the top of articles. | փոքր_տեքստ = Text for the top of article sections. }}
Text for a big box, for the top of articles. |
Բայց դուք պարատավոր չեք օգտագործել կարմիր bold italic տեքստը:
The following examples use different type parameters but use no image parameters thus they use the default images for each type.
տեսակ=արագ – Speedy deletion issues, such as {{db-g1}} և {{db-g3}}. |
տեսակ=ջնջում – Deletion issues, such as {{afd}} և {{prod}}. |
տեսակ=բովանդակություն – Content issues, such as {{POV}} և {{globalize}}. |
տեսակ=ոճ – Style issues, such as {{cleanup}} և {{wikify}}. |
տեսակ=ձուլում – Merge, split and transwiki proposals, such as {{split}} և {{copy to wiktionary}}. |
The default images shown above are mostly for convenience. In many cases it is more appropriate to use more specific images. These examples use the image parameter to specify an image other than the default images.
տեսակ = բովանդակություն պատկեր = [[Պատկեր:Unbalanced scales.svg|40px|link=|alt=]] This image is often used for {{POV}} and similar issues. |
տեսակ = ոճ պատկեր = [[Պատկեր:Wikitext.svg|50px|link=|alt=]] This image is often used for {{wikify}} etc. |
Some other parameter combinations.
Պարամետրների ցանկը՝
{{ambox | տեսակ = արագ ջնջում / ջնջում / բովանդակություն / ոճ / notice / move / protection | պատկեր = none / [[Պատկեր:...|40px|...]] | պատկեր_աջից = [[Պատկեր:...|40px|...]] | ոճ = CSS values | տեքստի_ոճ = CSS values | տեքստ = The message body text. | փոքր = {{{փոքր|}}} / ձախ | փոքր_պատկեր = none / [[Պատկեր:...|20px|...]] | փոքր_պատկեր աջից = none / [[Պատկեր:...|20px|...]] | փոքր_տեքստ = A shorter message body text. }}
տեսակ
պատկեր
|link=
|alt=
". Օրինակ՝ image = [[File:Unbalanced scales.svg|40px|link=|alt=]]
|link=
|alt=
", and which therefore is announced to visually impaired readers, should use an "|alt=alt text
" parameter that describes the icon. With no |link=
parameter (using the default link), the alt text should describe the icon's visual appearance. For example: image = [[File:Gnome globe current event.svg|40px|alt=Clock over a larger globe]]
|link=Page
" the alt text should describe the icon's function. For example: image = [[File:Purple question mark.svg|40px|link=Special:Random|alt=Random article]]
պատկեր աջից
imageright = [[File:Nuvola apps bookcase.png|40px|alt=Three stacked books]]
ոճ
" "
but with the ending semicolons ;
. For example: style = margin-bottom: 0.5em;
տեքստի ոճ
textstyle = text-align: center;
տեքստ
The small article message boxes are meant for the top of sections. Normally they should only contain one or two lines of text.
փոքր
small = {{{small|}}}
փոքր պատկեր
smallimage = [[File:Gnome globe current event.svg|20px|alt=Clock over a larger globe]]
smallimageright
smallimageright = [[File:Nuvola apps bookcase.png|20px|alt=Three stacked books]]
փոհր տեքստ
If you need to use special characters in the text parameter then you need to escape them like this:
{{ambox | տեքստ =Equal sign = and a start and end brace { } work fine as they are. But here is a pipe | and two end braces}}}} . And now a pipe and end braces|}} .
The This template uses CSS classes in MediaWiki:Common.css for most of its looks, thus it is fully skinnable. This template calls {{ambox/core}} which holds most of the code for {{ambox}}, while {{ambox}} itself does parameter preprocessing. Internally this meta-template uses HTML wikimarkup instead of wikimarkup for the table code. That is the usual way we make meta-templates since wikimarkup has several drawbacks. For instance it makes it harder to use parser functions and some special characters in parameters. The default images for this meta-template are in png format instead of svg format. The main reason is that some older web browsers have trouble with the transparent background that MediaWiki renders for svg images. The png images here have hand optimised transparent background colour so they look good in all browsers. Note that svg icons only look somewhat bad in the old browsers, thus such hand optimisation is only worth the trouble for very widely used icons. For more technical details see the talk page and the "See also" links below. Since this template works almost exactly like {{tmbox}}, {{imbox}}, {{cmbox}} and {{ombox}} their talk pages and related pages might also contain more details. There are several meta-templates in the mbox family: Closely related meta-templates: Ուրիշ էջեր՝ Տես նաև