Template:Italic title: Difference between revisions

From Dragon Quest Wiki
Jump to navigation Jump to search
Created page with "<includeonly>{{DISPLAYTITLE:{{#if: {{{1|}}} | {{#replace: {{PAGENAME}} | {{{1}}} | ''{{{1}}}'' }} | {{#if: {{#pos: {{PAGENAMEE}} | _( }} | {{#replace: {{PAGENAME}} | {{#sub..."
 
unsafe; fixed.
 
(One intermediate revision by the same user not shown)
Line 2: Line 2:
| {{#replace: {{PAGENAME}} | {{{1}}} | ''{{{1}}}'' }}
| {{#replace: {{PAGENAME}} | {{{1}}} | ''{{{1}}}'' }}
| {{#if: {{#pos: {{PAGENAMEE}} | _( }}  
| {{#if: {{#pos: {{PAGENAMEE}} | _( }}  
   | {{#replace: {{PAGENAME}} | {{#sub: {{PAGENAME}} | 0 | {{#pos: {{PAGENAMEE}} | _( }} }} | ''{{#sub: {{PAGENAME}} | 0 | {{#pos: {{PAGENAMEE}} | _( }} }}'' }}
   | {{#replace: {{PAGENAME}} | {{#sub: {{PAGENAME}} | 0 | {{#expr: {{#pos: {{PAGENAME}} | ( }} - 1 }} }} | ''{{#sub: {{PAGENAME}} | 0 | {{#expr: {{#pos: {{PAGENAMEE}} | ( }} - 1 }} }}'' }}
   | ''{{PAGENAME}}''
   | ''{{PAGENAME}}''
   }}
   }}
}}}}</includeonly>
}}}}</includeonly><noinclude>{{/doc}}</noinclude>

Latest revision as of 07:25, 7 September 2021

This template can italicize an article title without using {{DISPLAYTITLE:''<Pagename>''}}.

Usage[edit source]

Without parameters (i.e. {{Italic title}})

With an anonymous parameter (i.e. {{Italic title|<name of the title>}})