Template:Italic title: Difference between revisions

From Songs of Syx Wiki
Jump to navigation Jump to search
(Created page with "{{DISPLAYTITLE:{{ #if: {{NAMESPACE}} | {{NAMESPACE}}:}}{{ #if: {{{1|}}} | {{#replace:{{PAGENAME}}|{{{1}}}|''{{{1}}}''}} | ''{{PAGENAME}}'' }}}}<noinclude> This template forces...")
 
No edit summary
Tag: Manual revert
 
(2 intermediate revisions by the same user not shown)
Line 1: Line 1:
{{DISPLAYTITLE:{{ #if: {{NAMESPACE}} | {{NAMESPACE}}:}}{{ #if: {{{1|}}} | {{#replace:{{PAGENAME}}|{{{1}}}|''{{{1}}}''}} | ''{{PAGENAME}}'' }}}}<noinclude>
{{DISPLAYTITLE:{{ #if: {{NAMESPACE}} | {{NAMESPACE}}:}}{{ #if: {{{1|}}} | {{#replace:{{PAGENAME}}|{{{1}}}|''{{{1}}}''}} | ''{{PAGENAME}}'' }}}}<noinclude>
This template forces page titles to be in italics, ''like this''.<br>
{{Italic_title/doc}}
To use this, simply put <code><nowiki>{{italic_title}}</nowiki></code> at the very top of a page.<br>
This template is only valid for very specific types of titles, such as ones that would warrant italic text, such as the title of a novel.
[[Category:Italic_title]]
[[Category:Italic_title]]
[[Category:Templates]]
[[Category:Templates]]
</noinclude>
</noinclude>

Latest revision as of 20:53, 16 June 2022

Template Documentation

Description

This template simply adds italics to the title of the page, so the text looks like this. Only very specific types of page titles would need this template, being pages where the title of a page would realistically need to be in italics in a proper word document setting: the title of a novel, the scientific name for a plant or animal, names of certain types of vehicles, etc.

Syntax

Add {{italic_title}} at the very top of a page.

Examples

An example is not needed. One can see the title in italics on this very page.