Template:Italic title: Difference between revisions
From Vigyanwiki
Template>Smith609 (Whitespace causes problems when further templates come after this template. Comment out.) |
Template>MSGJ (use Template:Str ≤ len instead of Template:Str len, per request) |
||
Line 1: | Line 1: | ||
{{DISPLAYTITLE:{{ | |||
#switch: | #switch: | ||
{{#ifexpr: {{str find|{{PAGENAME}}|(}} != -1 | {{#ifexpr: {{str find|{{PAGENAME}}|(}} != -1 | ||
Line 7: | Line 7: | ||
| 1 | | 1 | ||
| 0 | | 0 | ||
}} | }}{{str ≤ len | {{PAGENAME}} | 49 <!-- The max {{str find}} can handle is 50 --> | 1 | 0 }}<!-- | ||
-->| 100 = {{ | -->| 100 = {{ | ||
Line 40: | Line 37: | ||
-->| 000 = {{FULLPAGENAME}}<!-- | -->| 000 = {{FULLPAGENAME}}<!-- | ||
-->}}}} | -->}}}}<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 15:00, 19 November 2010
Template documentation
[create]