Module:Sandbox/Galobtter/Is in first sentence
Jump to navigation
Jump to search
File:Test Template Info-Icon - Version (2).svg Module documentation[create] [purge]
--checks if a certain word is in the first sentence of an article
--to get descriptors for infobox book and infobox settlement short descriptions
--e.g, check if novel or novella is in the first sentence of the article or city, village, or town are in the first sentence of the article
--so that the description can become "novella by xyz" or "town in fooland"
--this could be used to apply lua pattern to the first sentence to fully generate short description