الگوی ویکیمدیا From Wikipedia, the free encyclopedia
این الگو از الگوسبک استفاده میکند: |
This template provides a خطمشیهای دسترسپذیری محتوای وب/ISO-standards-compliant accessible alternative to comma- or dash- (or other single character-) separated lists, per WP:FLATLIST and WP:HLIST.
{{فهرست یکدست}} برای افقیکردن فهرستها بهکار میرود؛ برای نمونه:
این الگو میتواند بههمراهِ یا بدونِ {{پایان فهرست یکدست}} بهکار رود. برای جعبههای اطلاعات (که الگوی {{جعبه گشتن}} را بهکار میبرند)، میتوان تنظیم کرد |کلاس فهرست=hlist
و همین نتیجه را بدون بهکاربردن این الگو بهدست آورد. برای توضیح تصویر، نشان فهرست (برای نمونه *) کار نمیکند، و باید الگوی {{hlist}} را بهکار برد.
{{فهرست یکدست|
* [[سیب]]
* [[گلابی]]
* [[پرتقال]]
* [[خرما]]
* [[نارگیل]]
}}
میشود:
{{آغاز فهرست یکدست}}
* [[سیب]]
* [[گلابی]]
* [[پرتقال]]
* [[خرما]]
* [[نارگیل]]
{{پایان فهرست یکدست}}
میشود:
{{فهرست یکدست|
# [[یک]]
# [[۲ (عدد)|دو]]
# [[سه]]
# [[چهار]]
# [[پنج]]
}}
میشود:
{{فهرست یکدست |تورفتگی=2
|سبک=border:solid 1px silver; background:lightyellow;
|کلاس=nowraplinks |
* [[تیراندازی با کمان در بازیهای المپیک تابستانی ۲۰۰۰]]
* [[تیراندازی با کمان در بازیهای المپیک تابستانی ۲۰۰۴]]
* [[تیراندازی با کمان در بازیهای المپیک تابستانی ۲۰۰۸]]
* [[تیراندازی با کمان در بازیهای المپیک تابستانی ۲۰۱۲]]
* [[تیراندازی با کمان در بازیهای المپیک تابستانی ۲۰۱۶]]
* [[تیراندازی با کمان در بازیهای المپیک تابستانی ۲۰۲۰]]
}}
میشود:
This template uses the .hlist
CSS class defined in Common.css to generate horizontal lists. It causes ordinary html list items to be displayed inline (horizontally), where they would normally display as block elements (vertically). The class also generates the interpuncts between list items and parentheses around nested lists. Some of the CSS used is not compatible with all browsers, notably Internet Explorer 6 and 7. In these cases, JavaScript in Common.js generates the interpuncts and parentheses.
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.