Difference between revisions of "Template:Titlesub"

From NY Science Standards Wiki
(SEO: new template for the smaller second part of page titles)
 
(SEO: keep the title subtitle together when it wraps to a second line)
 
Line 1: Line 1:
−
<includeonly><span style="font-size:50%;font-weight:normal;color:#54595d;">{{{1|}}}</span></includeonly><noinclude>
+
<includeonly><span style="display:inline-block;font-size:50%;font-weight:normal;color:#54595d;">{{{1|}}}</span></includeonly><noinclude>
 
Smaller gray text for the second part of a page title. Use it inside DISPLAYTITLE:
 
Smaller gray text for the second part of a page title. Use it inside DISPLAYTITLE:
  

Latest revision as of 11:07, 13 October 2026

Smaller gray text for the second part of a page title. Use it inside DISPLAYTITLE:

{{DISPLAYTITLE:Main title {{Titlesub|· subtitle}}}}

The subtitle still appears as normal text in the browser tab and in the page title Google shows. To change how every subtitle on the wiki looks, edit the style on this page.