Template:Italic title: Difference between revisions

From Vigyanwiki
Template>Remember the dot
m (switched to cleaner DISPLAYTITLE, shouldn't break anything but please feel free to revert if you find something that does)
Template>Amalthea
(Tweak, per request at WP:AN: [http://en.wikipedia.org?diff=297418477])
Line 27: Line 27:
   {{#if:{{NAMESPACE}}
   {{#if:{{NAMESPACE}}
   | {{NAMESPACE}}:
   | {{NAMESPACE}}:
   }}''{{str left| {{PAGENAME}} | {{#expr:{{str find|{{PAGENAME}}|(}}-2}} }}'' {{str sub| {{PAGENAME}} | {{str find|{{PAGENAME}}|(}} | {{#expr: {{str len|{{PAGENAME}}}} - {{str find|{{PAGENAME}}|(}} }} }}
   }}''{{str left| {{PAGENAME}} | {{#expr:{{str find|{{PAGENAME}}|(}}-2}} }}'' {{str sub| {{PAGENAME}} | {{#expr: {{str find|{{PAGENAME}}|(}} - 1}} | {{#expr: {{str len|{{PAGENAME}}}} - {{str find|{{PAGENAME}}|(}} }} + 1 }}


| 010
| 010

Revision as of 02:49, 20 June 2009


Template documentation