Template:Italic title: Difference between revisions
From Vigyanwiki
Template>Happy-melon (force) |
Template>Happy-melon (more efficient way of arranging checks) |
||
Line 1: | Line 1: | ||
<span id="RealTitle" style="display:none"><!-- | <span id="RealTitle" style="display:none"><!-- | ||
-->{{#ifexpr: {{str find|{{PAGENAME}}|(}} != -1 | -->{{#switch: <!-- | ||
|{{#if:{{NAMESPACE}} | -->{{#ifexpr: {{str find|{{PAGENAME}}|(}} != -1 | 1 | 0 | ||
}}{{#if: {{{force|}}} | 1 | 0 | |||
}}{{#ifexpr: {{str len|{{PAGENAME}}}} < 50 | 1 | 0 | |||
}} | |||
|100 | |||
|101 = {{#if:{{NAMESPACE}} | |||
|{{#switch:{{FULLPAGENAME}} | |||
|{{NAMESPACE}}:{{{1}}} ({{{2|}}}) = {{NAMESPACE}}:''{{{1}}}'' ({{{2|}}}) | |||
|{{NAMESPACE}}:{{{1}}} ({{{3|}}}) = {{NAMESPACE}}:''{{{1}}}'' ({{{3|}}}) | |||
|{{NAMESPACE}}:{{{1}}} ({{{4|}}}) = {{NAMESPACE}}:''{{{1}}}'' ({{{4|}}}) | |||
|{{NAMESPACE}}:{{{1}}} ({{{5|}}}) = {{NAMESPACE}}:''{{{1}}}'' ({{{5|}}}) | |||
|{{NAMESPACE}}:{{{1}}} ({{{6|}}}) = {{NAMESPACE}}:''{{{1}}}'' ({{{6|}}}) | |||
|#default = {{FULLPAGENAME}} | |||
}} | |||
|{{#switch:{{PAGENAME}} | |||
|{{{1}}} ({{{2|}}}) = ''{{{1}}}'' ({{{2|}}}) | |||
|{{{1}}} ({{{3|}}}) = ''{{{1}}}'' ({{{3|}}}) | |||
|{{{1}}} ({{{4|}}}) = ''{{{1}}}'' ({{{4|}}}) | |||
| | |{{{1}}} ({{{5|}}}) = ''{{{1}}}'' ({{{5|}}}) | ||
|{{{1}}} ({{{6|}}}) = ''{{{1}}}'' ({{{6|}}}) | |||
|#default = {{FULLPAGENAME}} | |||
}} | |||
}} | |||
|010 | |||
|011 | |||
|001 = {{#if:{{NAMESPACE}} | |||
|{{NAMESPACE}}:''{{PAGENAME}}'' | |||
|''{{PAGENAME}}'' | |||
}} | |||
|000 = {{FULLPAGENAME}} | |||
}}<!-- | }}<!-- | ||
--></span><noinclude> | --></span><noinclude> | ||
{{documentation}} | {{documentation}} | ||
</noinclude> | </noinclude> |
Revision as of 23:56, 23 March 2009
Template documentation
[create]