Difference between revisions of "Module:Is infobox in lead/doc"

From blackwiki
Jump to navigation Jump to search
blackwiki>Gonnym
(small placement change)
m (7 revisions imported)
 
(One intermediate revision by one other user not shown)
Line 2: Line 2:
 
{{high use|risk}}
 
{{high use|risk}}
  
'''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 <code>true</code>, and if not returns nothing.
+
'''Module:Is infobox in lead''' 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 <code>true</code>, and if not returns nothing.
  
 
== Usage ==
 
== Usage ==

Latest revision as of 05:44, 27 September 2020

Module:Is infobox in lead 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}}