This is the ambox or article message box meta template.
იყენებს ლუას: |
It is used to create article message box templates such as {{ვიკიფიცირება}} etc. It offers several different colours, uses default images if no image parameter is given and it has some other features.
This meta template is just a thin wrapper for the ambox CSS classes in MediaWiki:Common.css. The classes can also be used directly in a wikitable table-responsive , especially if special functionality is needed. See the how-to guide for that.
Note:
If these two boxes don't look alike, you need to refresh your web browser cache:
Hardcoded box. |
This is a temporary caching problem that should be gone in some days.
მარტივი სინტაქსის მაგალითი:
{{ambox | text = რაიმე ტექსტი.}}
რთული მაგალითი:
{{ambox | type = style | image = [[file:Icon apps query.svg|38px]] | text = შეტყობინების ძირითადი ტექსტი. }}
შეტყობინების ძირითადი ტექსტი. |
ქვემოთ მოტანილი მაგალითები იყენებენ ტიპი-ს სხვადასხვა პარამეტრს და საერთოდ არ იყენებენ სურათის პარამეტრებს; ამიტომაც ყოველ მათგანს სტანდარტული სურათი ერთვის.
type=move – შერწყმის, split და transwiki proposals, როგორებიცაა {{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.
type=content image=[[file:Unbalanced scales.svg|40px]] ეს სურათი ხშირად გამოიყენება თარგისთვის {{POV}} და მსგავსი საკითხებისთვის. |
type=content image=[[file:Wikitext-ka.svg|50px]] ეს სურათი ხშირად გამოიყენება თარგისთვის {{ვიკიფიცირება}} და ა.შ. |
type=content image=[[file:Merge-arrows.svg|50px]] ეს სურათი გამოიყენება თარგისთვის {{შერწყმა}} და ა.შ. |
სხვა პარამეტრების რამდენიმე კომბინაცია.
ყველა პარამეტრის ჩამონათვალი:
{{ambox | type = speedy / delete / content / style / notice / move | image = none / [[file:რაიმე სურათი.svg|40px]] | imageright = [[file:რაიმე სურათი.svg|40px]] | text = შეტყობინების ძირითადი ტექსტი. }}
type
image
[[file:Unbalanced scales.svg|40px]]
imageright
[[file:Nuvola apps bookcase.png|40px]]
text
If you need to use special characters in the text parameter then you need to escape them like this:
{{ambox | text =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|}} .
This template uses CSS classes for most of its looks, thus it is fully skinnable.
Internally this meta template uses HTML markup instead of wiki markup for the table code. That is the usual way we make meta templates since wiki markup has several drawbacks. For instance it makes it harder to use parser functions and special characters in parameters.
For more technical details see the talk page and the "See also" links below.
TemplateData თარგისთვის Ambox
არ არის აღწერა.
პარამეტრი | აღწერა | ტიპი | სტატუსი | |
---|---|---|---|---|
Template Name | name | The name parameter specifies the name of the template, without the Template namespace prefix. | სტრიქონული | არასავალდებულო |
subst | subst | არ არის აღწერა | უცნობია | არასავალდებულო |
Small Mode | small | The small parameter should be passed through the template, as this will allow editors to use the small format by specifying |small=left on an article.
| სტრიქონული | არასავალდებულო |
type | type | არ არის აღწერა | უცნობია | არასავალდებულო |
image | image | არ არის აღწერა | უცნობია | არასავალდებულო |
sect | sect | არ არის აღწერა | უცნობია | არასავალდებულო |
issue | issue | არ არის აღწერა | უცნობია | არასავალდებულო |
fix | fix | არ არის აღწერა | უცნობია | არასავალდებულო |
talk | talk | არ არის აღწერა | უცნობია | არასავალდებულო |
date | date | არ არის აღწერა | უცნობია | არასავალდებულო |
1 | 1 | არ არის აღწერა | უცნობია | არასავალდებულო |
info | info | არ არის აღწერა | უცნობია | არასავალდებულო |
removalnotice | removalnotice | არ არის აღწერა | უცნობია | არასავალდებულო |
cat | cat | არ არის აღწერა | უცნობია | არასავალდებულო |
all | all | არ არის აღწერა | უცნობია | არასავალდებულო |
imageright | imageright | არ არის აღწერა | უცნობია | არასავალდებულო |
class | class | არ არის აღწერა | უცნობია | არასავალდებულო |
text | text | არ არის აღწერა | უცნობია | არასავალდებულო |
plainlinks | plainlinks | არ არის აღწერა | უცნობია | არასავალდებულო |
smallimage | smallimage | არ არის აღწერა | უცნობია | არასავალდებულო |
smallimageright | smallimageright | არ არის აღწერა | უცნობია | არასავალდებულო |
textstyle | textstyle | არ არის აღწერა | უცნობია | არასავალდებულო |
style | style | არ არის აღწერა | უცნობია | არასავალდებულო |
smalltext | smalltext | არ არის აღწერა | უცნობია | არასავალდებულო |
cat2 | cat2 | არ არის აღწერა | უცნობია | არასავალდებულო |
cat3 | cat3 | არ არის აღწერა | უცნობია | არასავალდებულო |
all2 | all2 | არ არის აღწერა | უცნობია | არასავალდებულო |
all3 | all3 | არ არის აღწერა | უცნობია | არასავალდებულო |