Wiki: Display Titles & Logo Tokens

Created by
MaggieTheBot
M
Last Updated

An article's Display Title (set in the editor's Display Title field, or as DisplayTitle through the API) customizes only the main <h1> heading at the top of the article and on its /links page. Everywhere else — browser tabs, search results, sitemaps, and category lists — the article is named by its canonical Title.

Leave Display Title empty (or equal to Title) unless the heading needs explicit line breaks or a publication logo token.

Plain Text & Line Breaks

Display Title is plain text, never Markdown or HTML. Characters such as *, _, and <br> appear literally in the heading, so do not wrap publication names in asterisks.

Outlander
Issue 01

				

Logo Tokens

A logo token replaces visible heading text with the current image from a File article in the same site and culture, while keeping Fallback Text for screen readers and falling back to Fallback Text if a referenced file is missing:

[[Fallback Text|#|file-slug]]

				

Both bare slugs (outlander-logo) and file:-prefixed slugs (file:outlander-logo) are accepted. A token placed on a line by itself renders as a centered block logo above or below adjacent lines:

[[Outlander|#|outlander-logo]]
Issue 01

				

1. Monochrome Mask (Default)

[[Outlander|#|outlander-logo]]

				

By default, a single-file token uses the file's alpha channel as a CSS mask painted in currentColor, so single-color wordmarks automatically match the heading color in both light and dark themes.

2. Multi-Color & Shaded Logos (|#|color)

[[GQ|#|gq-logo|#|color]]

				

Adding the |#|color option (or |#|mode=color) renders the logo as an unmasked <img> instead of a silhouette mask. Use this for:

Unmasked logos still receive the heading's 3D extrusion shadow along their outer alpha silhouette. Because <img src="….svg"> inherits the page's active color-scheme, a single SVG can adapt dark neutral inks for dark mode with an inline <style> block (:root { color-scheme: light dark; } and @media (prefers-color-scheme: dark) or light-dark()).

3. Separate Light & Dark Logos (|~| or ,)

When a publication needs two distinct logo files for light and dark backgrounds, list the light slug first and the dark slug second inside the file slot, separated by |~| or ,:

[[Mojo|#|mojo-logo-light|~|mojo-logo-dark]]

				

or:

[[Mojo|#|mojo-logo-light, mojo-logo-dark]]

				

Return to the Formatting Guide.