Open main menu

Template:GetTermFromTopicTitle

Revision as of 17:43, 27 December 2022 by Hakob Barseghyan (talk | contribs) (Created page with "<noinclude> Use this template to get the term from the topic title. The template does the inverse of Template:FormatExistenceTopicTitle, Template:FormatDisjointnessTopic...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

Use this template to get the term from the topic title. The template does the inverse of Template:FormatExistenceTopicTitle, Template:FormatDisjointnessTopicTitle, Template:FormatSubtypesTopicTitle, Template:FormatSupertypesTopicTitle, Template:FormatAssociationsTopicTitle templates. It checks if the topic starts with "Existence_of ", "Associations of " etc. and removes it to extract and return the term.

NOTE: As any "printing" template, it doesn't store any values anywhere, but merely returns a value.

Parameters:

  • |topic= - the term.