Difference between revisions of "Template:Fake heading/doc"
imported>SMcCandlish (spacing) |
imported>SMcCandlish (twiddle) |
||
| Line 8: | Line 8: | ||
===Example=== | ===Example=== | ||
| − | + | <br /> | |
| − | |||
The code: | The code: | ||
Revision as of 06:03, 12 June 2010
| 40px | This is a documentation subpage for Template:Fake heading. It contains usage information, categories and other content that is not part of the original template page. |
Usage
This template is used to create examples of wikimarkup in style guides and in essays such as Wikipedia:Verification methods, and to create examples of the output of code that generates ==Headings==, such as at Wikipedia:Manual of Style (glossaries), so that editors have a clear idea of what they'll get. The grey it uses for the underline is intentionally darker than the real thing, its font size slightly smaller, and the underline width intentionally shorter than full page, so that it is distinguishable from an actual heading and doesn't confuse anyone.
Forthcoming?: An option to generate different levels of headings.
Example
The code:
{{fake heading|FooBarBazQuux}}
{{loremipsum}}
results in:
Lorem ipsum dolor sit amet, consectetur adipiscing 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.