Jump to content

Module:Is infobox in lead/doc

From Wikipedia, the free encyclopedia
This is an old revision of this page, as edited by Gonnym (talk | contribs) at 10:34, 13 July 2020 (small placement change). The present address (URL) is a permanent link to this revision, which may differ significantly from the current revision.

Module:Is infobox checks if a given infobox is in the lead, is also the only infobox in the lead, and that there aren't two of that same infobox in the article. If that is the case, it returns true, and if not returns nothing.

Usage

{{#invoke:Is infobox in lead|main|[Ii]nfobox [Ff]oo [Bb]ar}}