Difference between revisions of "Template:Fakeheading"

From blackwiki
Jump to navigation Jump to search
imported>SMcCandlish
(a tad TOO realistic)
imported>SMcCandlish
(/doc)
Line 3: Line 3:
 
 
 
 
  
==Usage==
+
{{Documentation}}
This template is used 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 clearer idea of what they'll get. The grey it uses for the underline is intentionally darker than the real thing, and its width intentionally shorter than full page, so that it is distinguishable from an actual heading.
+
<!--Categories and interwikis go on the /doc subpage.-->
 
 
Forthcoming: An option to generate different levels of headings.
 
 
 
===Example===
 
<code><nowiki>{{fakeheading|FooBarBazQuux}}</nowiki><br />
 
<nowiki>{{loremipsum}}</nowiki></code>
 
 
 
 
 
{{fakeheading|FooBarBazQuux}}
 
{{loremipsum}}
 
 
 
==See also==
 
*{{tl|Fake heading}}, a less realistic fake heading, used for showing examples in style guides and essays
 
 
</noinclude>
 
</noinclude>

Revision as of 05:44, 12 June 2010

{{{1}}}

 

Template documentation[view] [edit] [history] [purge]

Usage

This template is used to create examples of section heading wiki markup in help and similar pages and should NOT be used in articles. Fake headings do not appear in the table of contents. They are styled to appear the same as the default heading styles in the Vector skin, and will not be influenced by custom CSS or skins.

Parameters

  • |level= or |sub= is the level number: valid values are 1 through 6. The default is 2 (equivalent of a == Main heading == (level 1 is equivalent to page title).
  • An unnamed parameter (which can also be specified as |1=) is used for the section title.

Example

Markup Renders as
{{fake heading|sub=1|Heading 1}}
{{fake heading|sub=2|Heading 2}}
{{fake heading|sub=3|Heading 3}}
{{fake heading|sub=4|Heading 4}}
{{fake heading|sub=5|Heading 5}}
{{fake heading|sub=6|Heading 6}}

See also

Documentation templates
Template Appearance
{{fake clarify}} [clarification needed]
{{fake citation needed}} [citation needed]
{{fake verification needed}} [verification needed]
{{fake explain}} [further explanation needed]
{{fake heading}} Template:Fake heading
{{fake notes and references}}

Template:Fake heading


Template:Fake heading

{{dummy reference}} [1]
{{dummy backlink}} ^
{{dummy footnote}}
1. ^ Citation
{{fake link}} default