Template:Endplainlist

From Wikibooks, open books for an open world
Jump to: navigation, search
[edit] [history] [purge] Template documentation

Usage[edit]

{{Plainlist}} starts a plain, or unbulleted, list, such as:

It uses proper HTML list markup, which is more standards-compliant and more accessible than separating list items with <br />.

This template can be used with or without {{endplainlist}}. It is an alternative to {{Unbulleted list}}, which performs the same function in a more concise but less wiki-style manner.

Examples[edit]

{{Plainlist |
*[[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
{{Plainlist}}
*[[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]]
{{endplainlist}}

Parameters[edit]

  • 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
  • style – adds CSS style options.
Example: |style=border:solid 1px silver; background:lightyellow

See also[edit]