თარგი:სარჩევი მარჯვნივ

მასალა ვიკიპედიიდან — თავისუფალი ენციკლოპედია
დოკუმენტაცია დოკუმენტაცია
  1. {{სარჩევი მარჯვნივ}} გადასწევს სტატიაში ავტომატურად შექმნილ სარჩევს გვერდის მარჯვენა მხარეს, სტატიის ტექსტის განლაგების გასაუმჯობესებლად.
  2. {{სარჩევი გასწვრივ}} მსგავსად მოქმედებს, მაგრამ გამიზნულია შესავალში ან მეორე სექციაში ჩასასმელად ისეთ გვერდებზე, სადაც მრავალი სურათი ან ვიკიცხრილის ელემენტებია (ინფოდაფები) გვერდის მარჯვენა მხარეს. ეს თარგი საშუალებას გაძლევთ ოპტიმალუარად გამოიყენოთ სივრცე სტატიაში.

გამოყენება

ჩასვით {{სარჩევი მარჯვნივ}} სტატიაში იქ, სადაც გსურთ, რომ სარჩევი ჩაჯდეს. გამოიყენეთ {{-}}, {{clearleft}}, ან {{clearright}} სურათებთან კონფლიქტის შესამცირებლად..

პარამეტრები (არააუცილებელი)

გაუსწორე
Sets the CSS clear property, which forces this float underneath the side specified with this attribute. So, clear=right (which is the default) will place the element after all the right floating elements before it. Options are left, right, both, or none.
სიგანე
Set the CSS width.
ლიმიტი
Allow limiting of which header levels are shown in a TOC; limit=3, for instance, will limit to showing ==headings== and ===headings=== but no further (as long as there are no =headings= on the page, which there shouldn't be according to the MOS).

გაფრთხილება

After placing these templates, logoff and view the page in the default skin to assure the appearance to our readers is sound.

This template should not be used when the result is to place the TOC in a visually poor location. A TOC that crosses a section division is probably a poor idea, if that can be avoided.

Unless the section in which the {{სარჩევი მარჯვნივ}} is placed is long enough, the result may well be undesirable. Note particularly that if the TOC is floated left of a bulleted list, the bullets will be hidden.

Do not use this template to just force word warp around the TOC, as this is inappropriate method of achieving this. Instead add a CSS class to your monobook.css file which will apply site wide.

It should only be used in cases where the TOC gets in the way of other content or is detrimental to the layout of the page; it should not simply be used for aesthetics since it tampers with the standard appearance of articles. See Help:Section#Floating the TOC for further guidelines.

იხ. ასევე