Predložak:Fake heading/doc: razlika između inačica
Prijeđi na navigaciju
Prijeđi na pretraživanje
preuzeto s en.wikipedij |
Nema sažetka uređivanja |
||
| Redak 1: | Redak 1: | ||
{{ | {{dokumentacijska podstranica}} | ||
{{ombox|type=content|text=Do not use this template in articles. See [[WP:PSEUDOHEAD]]}} | {{ombox|type=content|text=Do not use this template in articles. See [[WP:PSEUDOHEAD]]}} | ||
{{template shortcut|fhead|Fake header|Fake title|Fakeheader|Fakeheading}} | {{template shortcut|fhead|Fake header|Fake title|Fakeheader|Fakeheading}} | ||
Inačica od 28. veljača 2026. u 02:20
| Do not use this template in articles. See WP:PSEUDOHEAD |
Script error: No such module "Shortcut". Lua pogreška: Modul:TNT:172: '''Missing JsonConfig extension, or not properly configured; Cannot load https://commons.wikimedia.org/wiki/Data:I18n/Uses TemplateStyles.tab. See https://www.mediawiki.org/wiki/Extension:JsonConfig#Supporting_Wikimedia_templates'''.
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 usually reserved for the page's 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}}
|
<templatestyles src="Template:Fake_heading/styles.css" />
Heading 1
<templatestyles src="Template:Fake_heading/styles.css" />Heading 2
<templatestyles src="Template:Fake_heading/styles.css" />Heading 3
<templatestyles src="Template:Fake_heading/styles.css" />Heading 4
<templatestyles src="Template:Fake_heading/styles.css" />Heading 5
<templatestyles src="Template:Fake_heading/styles.css" />Heading 6
|
See also
- {{Heading}}
