Welcome to Warhammer 40k - Lexicanum! Log in and join the community.

Difference between revisions of "Template:Italic title"

From Warhammer 40k - Lexicanum
Jump to: navigation, search
(Created page with "{{DISPLAYTITLE:{{#switch: {{#ifexpr: {{str find|{{PAGENAME}}|(}} != -1 | 1 | 0 }}{{#if: {{{force|}}} | 1 | 0 }}{{str ≤ len | {{PAGENAME}} | 49 <!-- The max {{st...")
 
m (Protected "Template:Italic title" ([Edit=Allow only administrators] (indefinite) [Move=Allow only administrators] (indefinite)))
(4 intermediate revisions by 2 users not shown)
Line 18: Line 18:
 
| 111
 
| 111
 
| 001 = {{#if:{{NAMESPACE}}|{{NAMESPACE}}: }}''{{PAGENAME}}'' | 000 = {{FULLPAGENAME}} }} }}<noinclude>
 
| 001 = {{#if:{{NAMESPACE}}|{{NAMESPACE}}: }}''{{PAGENAME}}'' | 000 = {{FULLPAGENAME}} }} }}<noinclude>
*Include this template on a page to make the title italic when 50 characters in length or less.
+
*Include this template by using <nowiki>{{Italic title}}</nowiki> on a page to make the title italic when 50 characters in length or less.
 
*Should be automatically included in certain infoboxes (Games, Books etc.) where the medium should have an italic title: in these cases, as such there is no point in including it in most individual articles.
 
*Should be automatically included in certain infoboxes (Games, Books etc.) where the medium should have an italic title: in these cases, as such there is no point in including it in most individual articles.
 
*Makes just the title italic, not the namespace (before the colon, such as "Template:" here) nor the disambiguation term (in brackets after).
 
*Makes just the title italic, not the namespace (before the colon, such as "Template:" here) nor the disambiguation term (in brackets after).
*From [http://en.wikipedia.org/wiki/Template:Italic_title Wikipedia's Template:Italic title].
+
[[Category:Templates]]
 
</noinclude>
 
</noinclude>

Revision as of 09:28, 7 June 2020

  • Include this template by using {{Italic title}} on a page to make the title italic when 50 characters in length or less.
  • Should be automatically included in certain infoboxes (Games, Books etc.) where the medium should have an italic title: in these cases, as such there is no point in including it in most individual articles.
  • Makes just the title italic, not the namespace (before the colon, such as "Template:" here) nor the disambiguation term (in brackets after).