User:Zombie Man/Sandbox
Fonts and typeface
- See also: Wikipedia on text formatting
- See also: Category:Formatting Templates
Underline
The UL template formats text with an underline.
- Format: {{UL|SampleText}}
- Result: SampleText
Text Colors
For the predefined template colors listed in the Navigation Box below (blue, green, mauve, etc...) use this template as follows:
- Format: {{blue|SampleText}} · {{green|SampleText}} · {{mauve|SampleText}} · {{orange|SampleText}} · {{purple|SampleText}} · {{red|SampleText}} · {{teal|SampleText}}
- Result: SampleText · SampleText · SampleText · SampleText · SampleText · SampleText · SampleText
For other colors that are standard HTML color names, or designated with a Hex code that corresponds to their Red, Green, and Blue components, use this template as follows:
- Format: {{color|ColorName|SampleText}}
- Example: {{color|OliveDrab|SampleText}} or {{color|#6B8E23|SampleText}}
- Result: SampleText or SampleText
Template:Text Colors NavBox
Paragraphs
Center
The Center template can be used to center items on the page or table
- Format: {{Center|SampleText}}
- Result...
No break (Nobr)
The Nobr template prevents the text within it from wrapping to more than one line. It is used for specialized cases since it will often break most web page formatting.
- Format: {{Nobr|SampleParagraph}}
- Example: {{Nobr|Lorem ipsum amber sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat.}}
- Result...
- Lorem ipsum amber sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat.
Division box (Divbox)
The Divbox template will display a centered box with a centered title and content in it. This template may be used to create a notice box for various purposes. It takes three unnamed arguments: color, title, and text. Available colors at this time are: amber, black, bloodred, blue, brown, forest, gray, green, navy, none, orange, purple, red, white, and yellow.
- Format: {{Divbox|ColorName|Title|SampleText}}
- Example: {{Divbox|amber|An Amber Divbox|[[wikipedia:Lorem ipsum|Lorem ipsum]] dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.}}
- Result...
Colors
The boxes below demonstrate the different color palettes you may choose from.
Page lay out
Clear (Clr)
The {{clr}} template is used in conjunction with an image or a table that is aligned with the side of the page. It will force any data that comes after it to start below the bottom edge of an image.
Format: {{clr}}
- clr can take no parameters, or left or right.
Alternately, instead of using {{clr|left}} or {{clr|right}}, {{clrl}} and {{clrr}} move content below any objects floating to the left (clrl) or right (clrr) while allowing text to flow to the edge of the opposite side.
Table of Contents templates
The Wiki magic word, _TOC_, places a Table of Contents on the top left of the page and all text follows after it.
For others, see TOC templates.
Table of Contents float right (TOCright)
The TOCright template is often used on Paragon Wiki pages. It will place a floating table of contents on the right side of the article, allowing text to flow around it, rather than on the left with text below it. It should not be used anyplace that __TOC__ is used.
Format: {{TOCright}}
- TOCRight has no parameters.