Template documentation

Headers formatting. Imported from ru.wikisource