(Vytvorená stránka „<noinclude> = Template:Heading = __TOC__ Expands to the main heading of the page, which may differ from its wiki-title (the one shown in the URL), and sets the HTML <cod...“)
 
 
(2 intermediate revisions by the same user not shown)
Riadok 1: Riadok 1:
 
<noinclude>
 
<noinclude>
 
= Template:Heading =
 
= Template:Heading =
__TOC__
 
 
Expands to the main heading of the page, which may differ from its wiki-title (the one shown in the URL), and sets the HTML <code><nowiki><title></nowiki></code> element (page title shown in the browser tab, bookmarks).
 
Expands to the main heading of the page, which may differ from its wiki-title (the one shown in the URL), and sets the HTML <code><nowiki><title></nowiki></code> element (page title shown in the browser tab, bookmarks).
  
Riadok 10: Riadok 9:
 
  }}
 
  }}
  
</noinclude>
+
</noinclude><includeonly>{{DISPLAYTITLE:{{{title|{{{1}}}}}}}}</includeonly><h1 id="firstHeading" class="firstHeading">{{{1}}}</h1>
<includeonly>{{DISPLAYTITLE:{{{title|{{{1}}}}}}}}</includeonly>
+
<h1 id="firstHeading" class="firstHeading">{{{1}}}</h1>
+

Aktuálna revízia z 21:20, 22. september 2017

Template:Heading

Expands to the main heading of the page, which may differ from its wiki-title (the one shown in the URL), and sets the HTML <title> element (page title shown in the browser tab, bookmarks).

Synopsis

{{Heading
    | title = (optional) the content of the title element
    | page heading (full, with diacritics etc.)
}}

{{{1}}}