الگو:اتاق
Usage
[ویرایش]The {{Room}}
template is a ویکیپدیا:ردهها، فهرستها و الگوهای ناوبری that helps readers locate additional articles related to rooms and spaces found in and around houses and public buildings. The emphasis of this navbox is on rooms and spaces found in residential dwellings; the terms that tend to cross over between both residential and public buildings are listed too. Additionally, some common architectural elements are included as well. The latter are limited in number, and mostly point to main article that branch off into other topics. The navbox focuses primarily on Western single-family houses.
The great house areas are rooms not commonly found outside of large manors and mansions, or are otherwise associated with such buildings.
Some terms in this navbox راهنما:تغییر مسیر to a different article (in many cases, to the disambiguation page). Please do not pipe these terms to pass over the redirect. There usually are subtle or historical differences between the terms, and it is likely that by distinguishing the terms, new articles may be written to expand on those differences. Additionally, when a new article is written, the template will immediately access the new article instead of bypassing it in favor of the old article.
The navbox currently uses the {{Navbox}} template, but includes attributes for {{Navbox with collapsible groups}}. The template is undergoing development and redesign, so please leave these extra attributes in-place for now. Please leave comments on the talk page if you have a preference for or against changing the template to use {{Navbox with collapsible groups}} instead of {{Navbox}}. Thanks.
Syntax
[ویرایش]Add this template near the bottom of an article after the content and before the list of categories and any stub templates. Generally every article listed in the template should include the template. If another navbox is at the bottom of the article, the one most relevant to the topic should appear first, with the next most relevant following. Two or three navboxes should be the limit.
- Standard
{{Room}}
This is the usual way of including the template in an article. Simply enter the template's name in curly braces.
- Sections
{{Room|shared}}
{{Room|private}}
{{Room|passages}}
{{Room|utility}}
{{Room|great}}
{{Room|other}}
{{Room|elements}}
If this template is changed to use {{Navbox with collapsible groups}}, then entering the abbreviation for a section will cause that section to appear uncollapsed and the other sections collapsed. Usually you would specify the abbreviation for the section that contains the article (e.g., نشیمن (معماری) would use {{Room|shared}}
since the Living room article appears in the Shared residential areas section).
At this time, adding one of these additional parameters doesn't do anything (good or bad). It's safe to add now in anticipation of that feature, but it is not necessary to do so.
انتخاب باز یا بسته بودن الگو
- برای نمایش الگو به صورت تاشده از فرمولی به شکل {{اتاق |state=collapsed}} استفاده کنید.
- برای نمایش الگو به حالت باز از {{اتاق |state=expanded}} استفاده کنید.
- اگر میخواهید این الگو فقط زمانی که الگوی همنوع آن در صفحه باشد شکل تاشده بهخود بگیرد از {{اتاق |state=autocollapse}} استفاده کنید.
- اگر حالتی را تعیین نکرده باشید (پارامتر state بین کد الگو را ببینید)، autocollapse یا همان تاشدگی خودبهخودی، حالت پیشفرض است.
See also
[ویرایش]- Wikipedia:WikiProject Home Living — primary maintainers of this template
- Portal:Housing — the related portal
- اتاق — top-level article related to this template
- رده:اتاقها — top-level category related to this template
- رده:عناصر معماری — another category related to this template
{{Navbox}}
— the underlying template powering this one{{Navbox with collapsible groups}}
— similar, but a different layout