Vorlage:Italic title: Unterschied zwischen den Versionen
sometimes we can do it automatically
(this template should not have an italicized title) |
(sometimes we can do it automatically) |
||
Zeile 1: | Zeile 1: | ||
<includeonly><span id="RealTitle" style="display:none"><!-- | <includeonly><span id="RealTitle" style="display:none"><!-- | ||
-->{{#switch: <!-- | -->{{#switch: <!-- | ||
-->{{#ifexpr: {{ | -->{{#ifexpr: {{str_find|{{PAGENAME}}|(}} != -1 | 1 | 0 | ||
}}{{#if: {{{force|}}} | 1 | 0 | }}{{#if: {{{force|}}} | 1 | 0 | ||
}}{{#ifexpr: {{ | }}{{#ifexpr: {{str_len|{{PAGENAME}}}} < 50 | 1 | 0 | ||
}} | }} | ||
|100 | |100 = {{#if:{{NAMESPACE}} | ||
|{{#switch:{{FULLPAGENAME}} | |{{#switch:{{FULLPAGENAME}} | ||
|{{NAMESPACE}}:{{{1}}} ({{{2|}}}) = {{NAMESPACE}}:''{{{1}}}'' ({{{2|}}}) | |{{NAMESPACE}}:{{{1}}} ({{{2|}}}) = {{NAMESPACE}}:''{{{1}}}'' ({{{2|}}}) | ||
Zeile 23: | Zeile 22: | ||
|#default = {{FULLPAGENAME}} | |#default = {{FULLPAGENAME}} | ||
}} | }} | ||
}} | |||
|101 = {{#if:{{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}} | {{str_find|{{PAGENAME}}|(}} | {{#expr: {{str_len|{{PAGENAME}}}} - {{str_find|{{PAGENAME}}|(}} }} }} | |||
}} | }} | ||
|010 | |010 |