Open main menu
Home
Random
Donate
Recent changes
Special pages
Community portal
Preferences
About Stockhub
Disclaimers
Search
User menu
Talk
Contributions
Create account
Log in
Editing
Module:Biglist/doc
Warning:
You are not logged in. Your IP address will be publicly visible if you make any edits. If you
log in
or
create an account
, your edits will be attributed to your username, along with other benefits.
Anti-spam check. Do
not
fill this in!
This module helps avoid problems with templates that might exceed expand size or time and which might put a page in an error tracking category: *[[:Category:Pages where post-expand include size is exceeded]] or *[[:Category:Pages with script errors]] (time exceeding 10 seconds). Using this module to replace a large list of entries can significantly reduce the resources required to generate the page, making editing and viewing an uncached page faster. == Columns-list == Some articles use {{tl|columns-list}} to show lists of items in multiple columns. The module only supports cases using <code>colwidth</code> and no other parameters. Given that limitation, using the module requires an expansion size only a little more than the size of the wikitext, while the template requires an amount three times larger. The following example is from [[List of least concern fishes]]. '''Wikitext''' <pre> {{#invoke:biglist|columns-list|colwidth=30em|*[[Aptychotrema rostrata|Eastern shovelnose ray]] ''(Aptychotrema rostrata)'' *[[Aptychotrema vincentiana|Southern shovelnose ray]] ''(Aptychotrema vincentiana)'' *[[Rhinobatos annulatus|Lesser guitarfish]] ''(Rhinobatos annulatus)'' *[[Rhinobatos blochii|Bluntnose guitarfish]] ''(Rhinobatos blochii)'' *[[Rhinobatos sainsburyi|Goldeneye shovelnose ray]] ''(Rhinobatos sainsburyi)'' *[[Trygonorrhina dumerilli|Southern fiddler ray]] ''(Trygonorrhina dumerilli)'' *[[Trygonorrhina fasciata|Eastern fiddler ray]] ''(Trygonorrhina fasciata)''}} </pre> '''Result''' {{#invoke:biglist|columns-list|colwidth=30em|*[[Aptychotrema rostrata|Eastern shovelnose ray]] ''(Aptychotrema rostrata)'' *[[Aptychotrema vincentiana|Southern shovelnose ray]] ''(Aptychotrema vincentiana)'' *[[Rhinobatos annulatus|Lesser guitarfish]] ''(Rhinobatos annulatus)'' *[[Rhinobatos blochii|Bluntnose guitarfish]] ''(Rhinobatos blochii)'' *[[Rhinobatos sainsburyi|Goldeneye shovelnose ray]] ''(Rhinobatos sainsburyi)'' *[[Trygonorrhina dumerilli|Southern fiddler ray]] ''(Trygonorrhina dumerilli)'' *[[Trygonorrhina fasciata|Eastern fiddler ray]] ''(Trygonorrhina fasciata)''}} == Search == Some project pages list hundreds of topics using {{tl|search}}. An alternative would be to use the module as in the following example. '''Wikitext''' <pre> {{#invoke:biglist|topicsearch|prefix=*|list= Aalenilla compressa Aalenirhynchia }} </pre> '''Result''' {{#invoke:biglist|topicsearch|prefix=*|list= Aalenilla compressa Aalenirhynchia }} == Userlinks == Some [[WP:LTA]] pages list hundreds of users using {{tl|userlinks}}. An alternative would be to use the module as in the following example. '''Wikitext''' <pre> {{#invoke:biglist|userlinks|prefix=#|list= Example Jimbo Wales }} </pre> '''Result''' {{#invoke:biglist|userlinks|prefix=#|list= Example Jimbo Wales }} == Weatherboxcols == [[List of cities by sunshine duration]] has many tables with cells that show the average hours of sunlight in a particular month and location; each cell is colored according to the number of hours. Using {{tl|Weather box/cols}}, the article had script errors which were removed by replacing entries such as: <pre> | style="{{Weather box/cols|183.0 }};"|183.0 </pre> with <pre> | {{#invoke:biglist|weatherboxcols|183.0}} </pre> == Storms == The policy section [[Wikipedia:What Wikipedia is not#Wikipedia is not a crystal ball|Wikipedia is not a crystal ball]] ([[WP:CRYSTAL]]) includes an example of an item from a "predetermined list" of names. The key point of the example is that an event may be likely to occur within a few months, but is not suitable for an article if no encyclopedic information is available. The <code>storm</code> function selects a suitable title from a built-in list. The title is not linked. From January to October (inclusive) in the current year, the entry for that year is shown. That entry should be for an event expected in the next year. In November and December of the current year, the entry for the following year is shown. The result is that the selected event is always at least two months in the future. If the list that is built-in to the module is not updated before the last entry is used, the <code>default</code> entry is displayed. The following example is supposed to show a red link for an article that should not be created until encyclopedic information is available.<br> <code><nowiki>[[{{#invoke:biglist|storm}}]]</nowiki></code> β [[{{#invoke:biglist|storm}}]]
Summary:
Please note that all contributions to Stockhub may be edited, altered, or removed by other contributors. If you do not want your writing to be edited mercilessly, then do not submit it here.
You are also promising us that you wrote this yourself, or copied it from a public domain or similar free resource (see
Stockhub:Copyrights
for details).
Do not submit copyrighted work without permission!
Cancel
Editing help
(opens in new window)
Templates used on this page:
Template:Div col/styles.css
(
edit
)
Template:Tl
(
edit
)
Module:Biglist
(
edit
)