الگو:الگوهای ناوبری - ویکیپدیا، دانشنامهٔ آزاد
این الگو در نزدیک به ۳۵٬۰۰۰ صفحه بهکار رفته است و تغییر دادن آن میتواند تأثیرات گستردهای داشته باشد. لطفاً تغییرات را در زیرصفحههای /تمرین یا /آزمایشی الگو، یا در زیرصفحهٔ کاربری خودتان بیازمایید. توصیه میشود که ابتدا در خصوص تغییرات مورد نظر در صفحهٔ بحث گفتگو کرده و سپس آنها را پیادهسازی کنید. |
این الگو در نمای موبایل ویکیپدیا نمایش داده نمیشود؛ نمایش الگو فقط در رایانه رومیزی. مستندات را برای توضیح بخوانید. |
این الگو از لوآ استفاده میکند: |
The {{Navboxes}} template is used to group several ویکیپدیا:ردهها، فهرستها و الگوهای ناوبری together.
Warning: This template effectively doubles the post-expand include size of the navbox templates, which can cause the templates not to display. For large numbers of navboxes, use {{Navboxes top}} and {{Navboxes bottom}} instead.
Usage
<!-- Blank syntax --> {{الگوهای ناوبری |title = <!-- optional, default is "Links to related articles" --> |titlestyle = <!-- optional --> |state = <!-- optional, default is collapsed --> |list1 = <!-- required, or |list= --> }}
Parameters
title (optional)
- Alternate text to be placed in title box, defaults to "Links to related articles".
state (optional)
- collapsed to show this template in its collapsed (hidden) state, this is the default state
- expanded to show this template in its expanded (fully visible) state
- autocollapse to show this template in its collapsed (hidden) state only if there is another collapsible template on the page
list (required)
- list of the templates to be grouped
Examples
{{الگوهای ناوبری | title = Giovanni Trapattoni navboxes | state = expanded | titlestyle = background: lightblue <!-- or hexcode-like #AAFFFF, defaults to #CCCCFF (violet) --> | list1 = {{ترکیب تیم ملی فوتبال ایتالیا در جام جهانی فوتبال ۱۹۶۲}} {{مربیان تیم ملی فوتبال ایتالیا}} {{مربیان تیم ملی فوتبال جمهوری ایرلند}} {{مربیان باشگاه آ.ث. میلان}} {{مربیان باشگاه اینتر میلان}} {{مربیان باشگاه یوونتوس}} {{مربیان باشگاه بایرن مونیخ}} {{مربیان باشگاه کالیاری}} {{مربیان باشگاه فیورنتینا}} {{ترکیب تیم ملی فوتبال ایتالیا در جام جهانی فوتبال ۲۰۰۲}} {{مربیان باشگاه بنفیکا}} {{مربیان باشگاه اشتوتگارت}} {{بازیکنان باشگاه فوتبال ردبول سالزبورگ}} }}
which gives:
On larger pages, this should be replaced with:
{{Navboxes top | title = Giovanni Trapattoni navboxes | state = expanded | titlestyle = background: lightblue <!-- or hexcode-like #AAFFFF, defaults to #CCCCFF (violet) --> }} {{ترکیب تیم ملی فوتبال ایتالیا در جام جهانی فوتبال ۱۹۶۲}} {{مربیان تیم ملی فوتبال ایتالیا}} {{مربیان تیم ملی فوتبال جمهوری ایرلند}} {{مربیان باشگاه آ.ث. میلان}} {{مربیان باشگاه اینتر میلان}} {{مربیان باشگاه یوونتوس}} {{مربیان باشگاه بایرن مونیخ}} {{مربیان باشگاه کالیاری}} {{مربیان باشگاه فیورنتینا}} {{ترکیب تیم ملی فوتبال ایتالیا در جام جهانی فوتبال ۲۰۰۲}} {{مربیان باشگاه بنفیکا}} {{مربیان باشگاه اشتوتگارت}} {{بازیکنان باشگاه فوتبال ردبول سالزبورگ}} {{Navboxes bottom}}
Coordinates template
The {{coord}}
template may be included in the template group. Just remember to set the |display=
parameter equal to "inline" thus: {{coord|18|25|53|N|64|37|23|W|display=inline}}
. This enables the coordinates to appear no matter what skin you're in. The {{coord}}
template can even be nested in a Navbox titled Geographic locale, which is already found on many country pages.
{{الگوهای ناوبری |title = Geographic locale |list1 = '''[[دستگاه مختصات جغرافیایی]] {{Coord|18|25|53|N|64|37|23|W|display=inline}} {{Color|darkblue|([[رود تاون]], [[جزایر ویرجین بریتانیا]])}}''' }}
Succession boxes
Any instances of |-
in a succession box should be replaced with {{!}}-
, or {{Navboxes top}} and {{Navboxes bottom}} should be used instead.
{{الگوهای ناوبری | list1 = {{جعبه آغازی}} {{S-par|ie/oi}} {{S-bef|before=[[Bernard Cowen]]<br/><small>([[Fianna Fáil]])</small>}} {{S-ttl|title=[[Fianna Fáil]] [[Teachta Dála]] for [[Laois–Offaly (Dáil Éireann constituency)|Laois–Offaly]]|years=1984–present}} {{S-inc}} {{S-off}} {{S-bef|before=[[Michael O'Kennedy]]}} {{S-ttl|title=[[Minister for Labour (Ireland)|Minister for Labour]]|years=1992–1993}} {{S-aft|after=[[Mervyn Taylor]]}} {{S-bef|before=[[Albert Reynolds]]}} {{S-ttl|title=[[Minister for Tourism, Culture and Sport|Minister for Energy]]|years=1993}} {{S-aft|after=[[Charlie McCreevy]]<br/><small>Minister for Tourism and Trade</small>}} {{S-bef|before=[[Charlie McCreevy]]<br/><small>Minister for Tourism, Transport and Communications</small>}} {{S-ttl|title=[[Minister for Transport (Ireland)|Minister for Transport, Energy and Communications]]|years=1993–1994}} {{S-aft|after=[[Michael Lowry]]}} {{S-bef|before=[[Michael Noonan (Fine Gael)|Michael Noonan]]<br><small>Minister for Health</small>}} {{S-ttl|title=[[Minister for Health and Children]]<br><small>Minister for Health (1997)</small>|years=1997–2000}} {{S-aft|after=[[مایکل مارتین]]}} {{S-bef|before=[[David Andrews (Irish politician)|David Andrews]]}} {{S-ttl|title=[[Minister for Foreign Affairs (Ireland)|Minister for Foreign Affairs]]|years=2000–2004}} {{S-aft|after=[[Dermot Ahern]]}} {{S-bef|before=[[Charlie McCreevy]]}} {{S-ttl|title=[[Minister for Finance (Ireland)|Minister for Finance]]|years=2004–2008}} {{S-aft|after=[[Brian Lenihan, Jnr|Brian Lenihan]]}} {{S-bef|before=[[Michael McDowell (politician)|Michael McDowell]]}} {{S-ttl|title=[[Tánaiste]]|years=2007–2008}} {{S-aft|after=[[Mary Coughlan (politician)|Mary Coughlan]]}} {{S-bef|before=[[برتی اهرن]]}} {{S-ttl|title=[[تیشاخ]]|years=2008–}} {{S-inc}} {{S-ppo}} {{S-bef|before=[[Mary O'Rourke]]}} {{S-ttl|title=[[Fianna Fáil|Deputy Leader of the Fianna Fáil Party]]|years=2002–2008}} {{S-aft|after=TBD}} {{S-bef|before=[[برتی اهرن]]}} {{S-ttl|title=[[Fianna Fáil|Leader of the Fianna Fáil Party]]|years=2008–}} {{S-inc}} {{S-end}} {{نخستوزیران ایرلند}} {{Deputy heads of government of Ireland}} {{Fianna Fáil}} {{شورای اروپایی}} }}