Jump to content

Template:Monthly clean-up category/monthname

Frae Wikipedia, the free beuk o knawledge

00


The Template:Monthly_clean-up_category/monthname returns the caipitalized month name for the 3-letter month prefix (such as "Jan"), as foond efter the spaced-wird " frae" in the category teetle.

Example:

Result:   Template:Monthly clean up category/monthname

If there is na recognized month prefix (efter the wird " frae"), then the string "00" is returned.

Performance considerations

This template searches the text in parameter 1 for the wird " frae" bi uisin efficient Template:Strfind_short, which runs in 9 levels o expansion depth, plus uisin {Str_right} for a tot o 22 levels, compared tae Template:Str_find_long, which runs wi 23 levels o depth plus {Str_right} for a tot o 35 levels, as uised prior tae 29 August 2012.