Template talk:Menu.FAQ/ru

    From The Document Foundation Wiki

    OK, dunno why that does or why the other doesn't work, but I tested my code in the preview of Faq/Calc/013/ru and the switch is not working and the ifeq is working! I guess it has "something" to do with wikipedia:mw:Switch#Comparison behavior. Here my code test.

    {{#titleparts: {{FULLPAGENAME}} | 1 | 2}}
    ---- 
    {{#ifeq:{{#titleparts:{{FULLPAGENAME}}|1|2}}|Calc|Calc in ifeq!}}
    
    {{#switch:{{#titleparts:{{FULLPAGENAME}}|1|2}}
     | calc
     | Calс = lalala calc
     | writer
     | Writer = lolo wirter
     | = empty tirng
     | #default = test default?}}
    

    Regards, Dennis Roczek (talk) 2014-08-10T17:25:04 (UTC) PS: Don't forget: the Mediawiki has a cache and pages might need some time to get listed within a category. If it won't show up, simply do a "null edit" and edit the page (where this template is transcluded) without changing any content. The page will be listed afterwards in the category. OTOH "purge" the page by hitting the url like: https://wiki.documentfoundation.org/WikiAction/purge/Faq/Calc/013/ru

    Dennis Roczek (talk) 2014-08-10T17:27:33 (UTC)