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
m (Now working)
m (adding code example)
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).

Revision as of 04:25, 14 March 2012

  • 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).
  • From Wikipedia's Template:Italic title.