"ഫലകം:Italic title" എന്ന താളിന്റെ പതിപ്പുകൾ തമ്മിലുള്ള വ്യത്യാസം

imported>Happy-melon
sometimes we can do it automatically
Changed to use the more efficient {{str len full}}. Removed code duplication. Removed <includeonly>, let's show what it does here. Tested in /sandbox. No change in functionality.
വരി 1:
<includeonly><span id="RealTitle" style="display:none;"><!--{{
-->{{#switch: <!--
-->{{#ifexpr: {{str_findstr find|{{PAGENAME}}|(}} != -1
| 1
| 0
}}{{#if: {{{force|}}} | 1 | 0
| 1
}}{{#ifexpr: {{str_len|{{PAGENAME}}}} < 50 | 1 | 0
| }}0
}}{{#ifexpr: {{str_lenstr len full|{{PAGENAME}}}} < 50 <!-- The |max 1{{str |find}} can 0handle -->
|100 = {{#if:{{NAMESPACE}}
| 1
|{{#switch:{{FULLPAGENAME}}
| 0
|{{NAMESPACE}}:{{{1}}} ({{{2|}}}) = {{NAMESPACE}}:''{{{1}}}'' ({{{2|}}})
}}<!--
|{{NAMESPACE}}:{{{1}}} ({{{3|}}}) = {{NAMESPACE}}:''{{{1}}}'' ({{{3|}}})
 
|{{NAMESPACE}}:{{{1}}} ({{{4|}}}) = {{NAMESPACE}}:''{{{1}}}'' ({{{4|}}})
| 100 =
|{{NAMESPACE}}:{{{1}}} ({{{5|}}}) = {{NAMESPACE}}:''{{{1}}}'' ({{{5|}}})
|{{NAMESPACE}}#if:{{{1}}} ({{{6|}}}) = {{NAMESPACE}}:''{{{1}}}'' ({{{6|}}})
|100 = {{#if:{{NAMESPACE}}:
|#default = {{FULLPAGENAME}}
|}}{{#switch:{{FULLPAGENAMEPAGENAME}}
}}
| |{{NAMESPACE}}:{{{1}}} ({{{2|}}}) = {{NAMESPACE}}:''{{{1}}}'' ({{{2|}}})
|{{#switch:{{PAGENAME}}
| |{{{1}}} ({{{23|}}}) = ''{{{1}}}'' ({{{23|}}})
| |{{{1}}} ({{{34|}}}) = ''{{{1}}}'' ({{{34|}}})
| |{{{1}}} ({{{45|}}}) = ''{{{1}}}'' ({{{45|}}})
| |{{{1}}} ({{{56|}}}) = ''{{{1}}}'' ({{{56|}}})
| |#default = {{FULLPAGENAMEPAGENAME}}
|{{{1}}} ({{{6|}}}) = ''{{{1}}}'' ({{{6|}}})
}}
|#default = {{FULLPAGENAME}}
 
}}
| 101 =
}}
|101 = {{#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_leftstr left| {{PAGENAME}} | {{#expr:{{str_findstr find|{{PAGENAME}}|(}}-2}} }}'' {{str_substr sub| {{PAGENAME}} | {{str_findstr find|{{PAGENAME}}|(}} | {{#expr: {{str_lenstr len full|{{PAGENAME}}}} - {{str_findstr find|{{PAGENAME}}|(}} }} }}
 
}}
| |010
| |011
| |110
| |111
| 001 =
|001 = {{#if:{{NAMESPACE}}
| |{{NAMESPACE}}:
}}''{{PAGENAME}}''
 
|''{{PAGENAME}}''
| 000 = {{FULLPAGENAME}}
 
|000 = {{FULLPAGENAME}}
-->}}</span></includeonly><noinclude>
}}<!--
 
--></span></includeonly><noinclude>
{{documentation}}
<!-- Add categories and interwikis to the /doc subpage, not here! -->
</noinclude>
"https://ml.wikipedia.org/wiki/ഫലകം:Italic_title" എന്ന താളിൽനിന്ന് ശേഖരിച്ചത്