Template:Italic title: Difference between revisions
From Vigyanwiki
Template>Amalthea (Tweak, per request at WP:AN: [http://en.wikipedia.org?diff=297418477]) |
Template>Smith609 (A couple of tweaks to avoid the creation of excessive whitespace) |
||
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}} | |||
| {{NAMESPACE}}: | | {{NAMESPACE}}: | ||
}}{{#switch:{{PAGENAME}} | }}{{#switch:{{PAGENAME}} | ||
Line 24: | Line 24: | ||
}} | }} | ||
| 101 = | | 101 = {{ | ||
#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}} | |||
| {{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> |
Revision as of 04:55, 16 July 2010
Template documentation
[create]