Template:Fake heading/doc: Difference between revisions
Appearance
Content deleted Content added
m Migrating 5 interwiki links, now provided by Wikidata on d:Q6072626 |
←Replaced content with 'Delete page' |
||
Line 1: | Line 1: | ||
Delete page |
|||
{{template shortcut|Fake header|Fake title|Fakeheader|Fakeheading|Pseudoheading}} |
|||
==Usage== |
|||
This template is used to create examples of heading wikimarkup in style guides and in essays such as [[Wikipedia:Verification methods]], and to create examples of the output of code that generates <code>==Headings==</code>, such as at [[Wikipedia:Manual of Style (glossaries)]], so that editors have a clear idea of what they'll get. |
|||
A fake heading will not appear in the table of contents and has a subtly different appearance so that it is distinguishable from an actual heading and doesn't confuse anyone. 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. The default output is <code>==</code>-level or <code><nowiki><h2>...</h2></nowiki></code>. |
|||
To simulate <code>===Subheadings===</code> (<code><nowiki><h3>...</h3></nowiki></code>), scaled down a bit to match the default heading above, use the {{para|sub|3}} parameter (only the value "3" is supported - a <code>===Level 4===</code> looks just like boldfaced regular text, and lower levels are uncommon). |
|||
===Example=== |
|||
<br /> |
|||
The code: |
|||
<blockquote><code>{{tnull|fake heading|FooBarBazQuux}}<br /> |
|||
{{tnull|loremipsum}}<br /> |
|||
{{tnull|fake heading|sub=3|QuuxBazBarFoo}}<br /> |
|||
{{tnull|loremipsum}}</code></blockquote> |
|||
results in: |
|||
<blockquote>{{fake heading|FooBarBazQuux}} |
|||
{{loremipsum}} |
|||
{{fake heading|sub=3|QuuxBazBarFoo}} |
|||
{{loremipsum}}<blockquote> |
|||
<includeonly> |
|||
<!-- CATEGORIES AND INTERWIKIS HERE, THANKS --> |
|||
[[Category:Documentation assistance templates]] |
|||
</includeonly> |
Revision as of 20:42, 14 April 2013
Delete page