සැකිල්ල:Flatlist/උපදෙස්
Appearance
(සැකිල්ල:Flatlist/doc වෙතින් යළි-යොමු කරන ලදි)
මෙය "සැකිල්ල:Flatlist" සඳහා උපදෙස් උප පිටුවක් වේ (සැකිල්ල සඳහා එම පිටුව වෙතට යොමු වන්න). මෙහි ඇත්තේ භාවිත තොරතුරු, ප්රවර්ග, සහ මූලික සැකිල්ල පිටුවට අදාළ නොවන වෙනත් අන්තර්ගතය වේ. |
භාවිතය
[සංස්කරණය]{{Flatlist}} starts a horizontal list, such as:
The bottom margin is inherited from the current container. Normally this will be 0.5em. This template can be used with or without {{endflatlist}}.
For navigation boxes using {{navbox}}, one can set |listclass=hlist
, and achieve the same styling without using this template.
උදාහරණ
[සංස්කරණය]{{flatlist | *[[Cookbook:Appetizers|Appetizers]] *[[Cookbook:Beverages|Beverages]] *[[Cookbook:Bread Recipes|Bread]] *[[Cookbook:Breakfast Recipes|Breakfast]] *[[Cookbook:Confections|Confections]] *[[Cookbook:Dessert|Desserts]] *[[Cookbook:Meat Recipes|Meats]] *[[Cookbook:Pasta Recipes|Pasta]] *[[Cookbook:Rice Recipes|Rice]] *[[Cookbook:Salad Recipes|Salads]] }}
- Alternative syntax
{{flatlist}} *[[Cookbook:Appetizers|Appetizers]] *[[Cookbook:Beverages|Beverages]] *[[Cookbook:Bread Recipes|Bread]] *[[Cookbook:Breakfast Recipes|Breakfast]] *[[Cookbook:Confections|Confections]] *[[Cookbook:Dessert|Desserts]] *[[Cookbook:Meat Recipes|Meats]] *[[Cookbook:Pasta Recipes|Pasta]] *[[Cookbook:Rice Recipes|Rice]] *[[Cookbook:Salad Recipes|Salads]] {{endflatlist}}
- Syntax for ordered lists
{{flatlist | class=hnum | #[[Cookbook:Appetizers|Appetizers]] #[[Cookbook:Beverages|Beverages]] #[[Cookbook:Bread Recipes|Bread]] #[[Cookbook:Breakfast Recipes|Breakfast]] #[[Cookbook:Confections|Confections]] #[[Cookbook:Dessert|Desserts]] #[[Cookbook:Meat Recipes|Meats]] #[[Cookbook:Pasta Recipes|Pasta]] #[[Cookbook:Rice Recipes|Rice]] #[[Cookbook:Salad Recipes|Salads]] }}
පැරාමිති
[සංස්කරණය]- class – adds a CSS class to the containing div.
- style – adds CSS style options.
- Example:
|style=border:solid 1px silver; background:lightyellow
- Example:
- indent – indents the list by a number of standard indents (one indent being 1.6em), particularly handy for inclusion in an indented discussion thread.
- Example:
|indent=2
- Example:
ආශ්රිත
[සංස්කරණය]- {{endflatlist}}
- {{plainlist}}
- {{unbulleted list}}