الگوی ویکیمدیا From Wikipedia, the free encyclopedia
![]() |
این الگو یک فرا الگو است که برای ساخت دستهای از الگوها استفاده میشود، از آن مستقیما به عنوان یک الگو در صفحات استفاده نکنید. مورد استفاده الگوهای بر پایه این الگو صفحاتی در فضاهای نام غیر از فضای اصلی و صفحات بحث میباشد.
این الگو هنوز کامل نیست ولی میتوانید از آن استفاده کنید تا در عمل استفاده آن آزمایش شود.
![]() | این الگو در در پیامهای سامانه استفاده شدهاست. تغییرات آن تأثیر منجر به تغییر بیدرنگ در میانای کاربری سامانهٔ ویکیپدیا میشود. در ویرایش آن احتیاط کنید و همهٔ ویرایشها را پیش از ذخیرهسازی در یک صفحهٔ آزمایشی محک بزنید. |
![]() | این الگو از لوآ استفاده میکند: |
This is the {{Ombox}} ([O]ther pages [m]essage [box]) metatemplate. etter image, then use them instead of the default images shown here.
مثال کاربرد ساده:
{{Ombox| text = Some text.}}
![]() | Some text. |
Complex example:
{{Ombox | type = style | image = [[Image:Emblem-question-yellow.svg|40px]] | style = width: 400px; | textstyle = color: red; font-weight: bold; font-style: italic; | text = The message body text. }}
![]() | The message body text. |
The following examples use different type parameters but use no image parameters; thus, they use the default images for each type.
![]() | type=speedy – Speedy deletion templates. |
![]() | type=delete – Deletion templates. |
![]() | type=content – Major warnings and problems, such as {{high-risk}}. |
![]() | type=style – Minor warnings and problems. {{intricate}} should perhaps use this type. |
![]() | type=notice – Notices and messages of any kind, both permanent and temporary. Such as {{guideline}} and {{Wikipedia how to}}. |
![]() | type=move – Merge, split, rename and transwiki messages and proposals. |
![]() | type=protection – Protection templates such as {{pp-protected}} when shown on "other pages". |
Some examples using the "notice" style:
![]() | No type and no image given (default) |
No type and image=none – No image is used and the text uses the whole message box area. |
![]() | image = [[Image:Gnome globe current event.svg|42px]] imageright = [[Image:Nuvola apps bookcase.svg|40px]] | ![]() |
![]() | This page documents an English Wikipedia guideline. It is a generally accepted standard that editors should follow, though it should be treated with common sense and the occasional exception. When editing this page, please ensure that your revision reflects consensus. When in doubt, discuss on the talk page. |
![]() | This page in a nutshell: This template is used to build message boxes for all pages that are not articles, talk pages, image pages or category pages. |
List of all parameters:
{{Ombox | type = speedy / delete / content / style / notice / move / protection | image = none / [[Image:Some image.svg|40px]] | imageright = [[Image:Some image.svg|40px]] | style = CSS values | textstyle = CSS values | plainlinks = no | text = The message body text. | small = {{{small|}}} / yes | smallimage = none / [[Image:Some image.svg|30px]] | smallimageright = none / [[Image:Some image.svg|30px]] | smalltext = A shorter message body text. }}
type
image
image = [[Image:Crystal package settings.png|40px]]
imageright
imageright = [[Image:Nuvola apps bookcase.png|40px]]
style
" "
but with the ending semicolons ;
. For example:
style = margin-bottom: 0.5em;
textstyle
textstyle = text-align: center;
plainlinks
|plainlinks=no
.text
![]() | small = yes |
![]() | type = style small = yes |
small
small = {{{small|}}}
![]() | small = yes image = [[Image:Replacement filing cabinet.svg|50px]] smallimage = [[Image:Replacement filing cabinet.svg|32px]] |
smallimage
smallimage = [[Image:Replacement filing cabinet.svg|30px]]
![]() | small = yes imageright = [[Image:Nuvola apps bookcase.png|50px]] smallimageright = none |
smallimageright
smallimageright = [[Image:Nuvola apps bookcase.png|30px]]
smalltext
Closely related meta-templates:
Seamless Wikipedia browsing. On steroids.
Every time you click a link to Wikipedia, Wiktionary or Wikiquote in your browser's search results, it will show the modern Wikiwand interface.
Wikiwand extension is a five stars, simple, with minimum permission required to keep your browsing private, safe and transparent.