Template talk:Divbox
From AgeofWiki
[edit]
Usage
{{divbox|keyword|title|content}}
- keyword: private style keyword; chooses colors for box
- title: plain text; appears strong and centered at top
- content: any text, including markup; your content
| What you see | What you type |
|---|---|
{{divbox|gray|Lorem ipsum|Lorem ipsum dolor...}}
| |
{{divbox|red|Lorem ipsum|Lorem ipsum dolor...}}
| |
{{divbox|navy|Lorem ipsum|Lorem ipsum dolor...}}
| |
{{divbox|amber|Lorem ipsum|Lorem ipsum dolor...}}
| |
{{divbox|none|Lorem ipsum|Lorem ipsum dolor...}}
| |
{{divbox|navy||Lorem ipsum dolor...}}
|
- Don't forget to close the template with double braces ("}}")!
- If you want to omit a centered title for the box, you must use two pipes ("||") instead of one before your box content. Still, it is not recommended that you omit any title.
- You must always supply the first parameter. This is a private style keyword from the list:
Remember these are private style keywords, not HTML colors. You must use lowercase only. The keyword none puts your content inside an invisible box.
