Difference between revisions of "Template:Italic title"

From Self-sufficiency
Jump to: navigation, search
(Tweak, per request at WP:AN: [http://en.wikipedia.org?diff=297418477])
 
m (1 revision)
 
(2 intermediate revisions by 2 users not shown)
Line 1: Line 1:
{{DISPLAYTITLE:{{
+
<onlyinclude>{{DISPLAYTITLE:{{
 
#switch:
 
#switch:
 
   {{#ifexpr: {{str find|{{PAGENAME}}|(}} != -1
 
   {{#ifexpr: {{str find|{{PAGENAME}}|(}} != -1
Line 12: Line 12:
 
   }}
 
   }}
  
| 100 =  
+
| 100 = {{
  {{#if:{{NAMESPACE}}
+
  #if:{{NAMESPACE}}
 
   | {{NAMESPACE}}:
 
   | {{NAMESPACE}}:
 
   }}{{#switch:{{PAGENAME}}
 
   }}{{#switch:{{PAGENAME}}
Line 24: Line 24:
 
   }}
 
   }}
  
| 101 =  
+
| 101 = {{
  {{#if:{{NAMESPACE}}
+
  #if:{{NAMESPACE}}
 
   | {{NAMESPACE}}:
 
   | {{NAMESPACE}}:
 
   }}''{{str left| {{PAGENAME}} | {{#expr:{{str find|{{PAGENAME}}|(}}-2}} }}'' {{str sub| {{PAGENAME}} | {{#expr: {{str find|{{PAGENAME}}|(}} - 1}} | {{#expr: {{str len|{{PAGENAME}}}} - {{str find|{{PAGENAME}}|(}} }} + 1 }}
 
   }}''{{str left| {{PAGENAME}} | {{#expr:{{str find|{{PAGENAME}}|(}}-2}} }}'' {{str sub| {{PAGENAME}} | {{#expr: {{str find|{{PAGENAME}}|(}} - 1}} | {{#expr: {{str len|{{PAGENAME}}}} - {{str find|{{PAGENAME}}|(}} }} + 1 }}
Line 33: Line 33:
 
| 110
 
| 110
 
| 111
 
| 111
| 001 =  
+
| 001 = {{
  {{#if:{{NAMESPACE}}
+
  #if:{{NAMESPACE}}
 
   | {{NAMESPACE}}:
 
   | {{NAMESPACE}}:
 
   }}''{{PAGENAME}}''
 
   }}''{{PAGENAME}}''
Line 40: Line 40:
 
| 000 = {{FULLPAGENAME}}
 
| 000 = {{FULLPAGENAME}}
  
}}}}<noinclude>
+
}}}}</onlyinclude><noinclude>
  
 
{{documentation}}
 
{{documentation}}
 
<!-- Add categories and interwikis to the /doc subpage, not here! -->
 
<!-- Add categories and interwikis to the /doc subpage, not here! -->
 
</noinclude>
 
</noinclude>
[[Category:2Fix]]
 

Latest revision as of 09:24, 20 September 2010