خانه
تصادفی
ورود
تنظیمات
دربارهٔ ویکیهزاره
تکذیبنامهها
ویکیهزاره
جستجو
در حال ویرایش
الگو:Campaignbox/توضیحات
هشدار:
شما وارد نشدهاید. نشانی آیپی شما برای عموم قابل مشاهده خواهد بود اگر هر تغییری ایجاد کنید. اگر
وارد شوید
یا
یک حساب کاربری بسازید
، ویرایشهایتان به نام کاربریتان نسبت داده خواهد شد، همراه با مزایای دیگر.
بررسی ضدهرزنگاری. این قسمت را پر
نکنید
!
{{چپچین}} {{#ifeq:{{{noheader|}}}|yes | | {{Documentation subpage}} == Usage == }} {{#switch:{{ARTICLESPACE}} | Wikipedia = ====Campaignboxes==== | #default = ===Campaignboxes=== }} One common type of navigational template in articles concerning conflicts, wars and related topics is the '''campaignbox''' template, intended to provide context and convenient navigation among articles on the [[battles]] in a [[Military campaign|campaign]], [[Front (military)|front]], [[Theater (warfare)|theater]] or [[war]] (or, more rarely, among several campaigns or wars). <div style="float:right;width:26.7em;margin-bottom:1.0em;"> {{Campaignbox Second Punic War}} {{Campaignbox Punic Wars}} </div> If the article includes an [[Help:Infobox|infobox]], the campaignbox/es are usually placed immediately after it (i.e. just below it). If available, as with infoboxes such as {{tl|Infobox military conflict}}, use the infobox's {{para|campaignbox}} parameter: <div style="width:25.0em;border:1px solid black;background:#ddd;padding:0.5em 1.0em;"> <pre> {{Infobox military conflict ... }} {{Campaignbox XXXX}} </pre>or<pre> {{Infobox military conflict ... | campaignbox = {{campaignbox XXXX}} }} </pre></div> Articles may include multiple campaignboxes; typically, these are stacked under the infobox. The most common scenario occurs when two levels of campaignboxes are present – for example, an article about a battle can include both a campaignbox listing the battle itself and an "enclosing" campaignbox listing the campaign, theater or war during which the battle took place. Similarly, an article about a war can include both a campaignbox listing the war (among a series of wars) and a campaignbox for the war itself, listing the battles that took place during it. === Creating campaignboxes === Existing campaignboxes may be viewed through the [[:Category:Campaignbox templates|Campaignbox template category]] to which campaignboxes are added automatically. If a new campaignbox becomes necessary, it should be named ''Template:Campaignbox XXXX'' (where XXXX is the (shortened) name of the campaign) and should use {{tlf|Campaignbox}} thus: <div style="width:16.7em;border:1px solid black;background:#ddd;padding:0.5em 1.0em;"> <pre> {{Campaignbox | name = | title = | battles = | notes = }} </pre> </div> ==== Parameters ==== ; ''name'' : The name by which Wikipedia refers to the template, i.e. "Template:Campaignbox XXXX". This can be produced by using <code><nowiki>{{subst:PAGENAME}}</nowiki></code>. ; ''title'' : The name of the campaign or war, which, if an article about the campaign or war exists, should link to it. Dates should not be indicated unless needed for clarity. Note that long links may cause alignment problems; see [[WP:MILMOS#NAVPROBLEMS|the troubleshooting guide]] for more information. ; ''battles'' : A chronological list of battles and operations in the campaign, linked as <code><nowiki>[[Battle of YYYY|YYYY]]</nowiki></code>. A convenient and accessible way to separate the items in the list is to add <code>| listclass = hlist</code> and then use the standard <kbd>*</kbd> (asterisk)-based [[Help:List|listing format]]. ; ''notes'' : (optional) Any explanatory notes needed to clarify the list. This option should be used sparingly. ; (''raw_name'') : (optional; deprecated) This parameter overrides the use of the title in determining the template name and exists for the sake of backward compatibility. When creating a new campaignbox, both title and name should be specified as above and this parameter omitted. The following optional parameters are passed on to the templates {{tl|Military navigation}} or {{tl|Navbox}} used to create campaignboxes and so can affect their styling. See these two templates' documentation pages for further details. ; ''state'' : To set whether the campaignbox appears fully visible or collapsed (to titlebar only) when it is first presented by a page. ; ''bodyclass'' : CSS styling to affect the whole template. ; ''listclass'' : CSS styling to affect the list of battles, operations, etc. (e.g. to affect {{para|battles}}). The use of special formatting (such as bolding or changes in font size) in the list of battles{{spaced ndash}}particularly to mark battles as "important"{{spaced ndash}}is generally discouraged; while there are a ''few'' cases where such approaches may be both helpful to the reader and sufficiently well-sourced that they do not constitute original research, they are usually both unnecessary and potentially confusing. Similarly, dividing the list of battles into multiple blocks by inserting heading-like separations should be exceptional; if such a division is felt to be needed, a better solution may be to split the one campaignbox into two or more.<noinclude> [[رده:الگو:دستورالعملهای ویکیپروژه تاریخ نظامیگری|Campaignbox]] </noinclude><includeonly>{{Sandbox other|| [[رده:الگو:جعبه کمپین| ]] [[رده:مستثنی از چاپ]] {{#ifeq:{{{noheader|}}}|yes | | [[رده:الگو:دربرگیرنده جعبه ناوبری]] [[رده:جعبههای ناوبری نظامی|Campaignbox]] [[رده:الگو:افزاینده رده]] }}}}</includeonly> {{پایان}}
خلاصه:
لطفاً توجه داشته باشید که همهٔ مشارکتها در ویکیهزاره ممکن است توسط دیگر مشارکتکنندگان تغییر یابند، ویرایش یا حذف شوند. اگر نمیخواهید نوشتههایتان بیرحمانه ویرایش شوند؛ بنابراین، آنها را اینجا ارائه نکنید.
شما همچنین به ما تعهد میکنید که خودتان این را نوشتهاید یا آن را از یک منبع با مالکیت عمومی یا مشابه آزاد آن برداشتهاید (
ویکیهزاره:حق تکثیر
را برای جزئیات بیشتر ببینید).
کارهای دارای حق تکثیر را بدون اجازه ارائه نکنید!
لغو
راهنمای ویرایش
(در پنجرهٔ تازه باز میشود)
صفحههای گنحاندهشده در این صفحه:
الگو:Campaignbox
(
ویرایش
)
الگو:Campaignbox Punic Wars
(
ویرایش
)
الگو:Campaignbox Second Punic War
(
ویرایش
)
الگو:Documentation subpage
(
ویرایش
)
الگو:Mbox
(
ویرایش
)
الگو:Military navigation
(
ویرایش
)
الگو:Para
(
ویرایش
)
الگو:Spaced ndash
(
ویرایش
)
الگو:Tl
(
ویرایش
)
الگو:Tlf
(
ویرایش
)
الگو:آغاز چپچین
(
ویرایش
)
الگو:الگو
(
ویرایش
)
الگو:زیرصفحه توضیحات
(
ویرایش
)
الگو:پارا
(
ویرایش
)
الگو:پایان
(
ویرایش
)
الگو:پیوند الگو با پیوند خاموش
(
ویرایش
)
الگو:چپچین
(
ویرایش
)
پودمان:Arguments
(
ویرایش
)
پودمان:Message box
(
ویرایش
)
پودمان:Message box/configuration
(
ویرایش
)
پودمان:Message box/ombox.css
(
ویرایش
)
پودمان:Yesno
(
ویرایش
)