Jump to content
Main menu
Main menu
move to sidebar
hide
Navigation
Main page
Recent changes
Random page
Help about MediaWiki
Special pages
Schjessu wiki
Search
Search
Appearance
Create account
Log in
Personal tools
Create account
Log in
LE SCHOOL SYSTEMS BLOCKING OUR GOOD WIKI! 1984 1984 1984!
mayb ill do smth abt it
Editing
Module
:
Random/doc
(section)
Module
Discussion
English
Read
Edit source
View history
Tools
Tools
move to sidebar
hide
Actions
Read
Edit source
View history
General
What links here
Related changes
Page information
Appearance
move to sidebar
hide
Warning:
You are not logged in. Once you make an edit, a temporary account will be created for you.
Learn more
.
Log in
or
create an account
to continue receiving notifications after this account expires, and to access other features.
Anti-spam check. Do
not
fill this in!
== List == The <code>list</code> function outputs a list in a random order. {{#invoke:random|list|''list item 1''|''list item 2''|''list item 3''|...|sep=''separator''|limit=''number of items to display''|same=''yes''}} '''Named parameters''' * {{para|sep}} or {{para|separator}} - an optional separator for the list items. Some values are special; see the table below. * {{para|limit}} - the maximum number of list items to display. The lowest possible is 0 and the highest possible is the length of the list. * {{para|same}} - if this is set to "yes", "y", "true", or "1", the list order is the same for each module call on a given page. {| class="wikitable" |+ Possible separator values |- ! Code !! Output |- | <code>dot</code> || {{int:dot-separator}} |- | <code>pipe</code> || {{int:pipe-separator}} |- | <code>comma</code> || {{int:comma-separator}} |- | <code>tpt-languages</code> || {{int:tpt-languages-separator}} |- | <code>space</code> || ''a space'' |- | <code>newline</code> || ''a newline character'' |- | ''any other value'' || ''other values are used without modification'' |} You cannot input spaces directly to the {{para|sep}} parameter due to limitations in MediaWiki's template syntax. However, it is possible to work around this by using [[HTML entities]]. You can use <code>&#32;</code> to represent a normal space, and <code>&nbsp;</code> to represent a [[non-breaking space]]. '''Examples''' <small>({{purge|refresh|anchor=List}})</small> * <syntaxhighlight lang="wikitext" inline>{{#invoke:random|list|egg|beans|sausage|bacon|spam}}</syntaxhighlight> → {{#invoke:random|list|egg|beans|sausage|bacon|spam}} * <syntaxhighlight lang="wikitext" inline>{{#invoke:random|list|egg|beans|sausage|bacon|spam|sep=dot}}</syntaxhighlight> → {{#invoke:random|list|egg|beans|sausage|bacon|spam|sep=dot}} * <syntaxhighlight lang="wikitext" inline>{{#invoke:random|list|egg|beans|sausage|bacon|spam|sep=space}}</syntaxhighlight> → {{#invoke:random|list|egg|beans|sausage|bacon|spam|sep=space}} * <syntaxhighlight lang="wikitext" inline>{{#invoke:random|list|egg|beans|sausage|bacon|spam|sep=;&#32;}}</syntaxhighlight> → {{#invoke:random|list|egg|beans|sausage|bacon|spam|sep=; }} * <syntaxhighlight lang="wikitext" inline>{{#invoke:random|list|egg|beans|sausage|bacon|spam|sep=foo}}</syntaxhighlight> → {{#invoke:random|list|egg|beans|sausage|bacon|spam|sep=foo}} * <syntaxhighlight lang="wikitext" inline>{{#invoke:random|list|egg|beans|sausage|bacon|spam|limit=3}}</syntaxhighlight> → {{#invoke:random|list|egg|beans|sausage|bacon|spam|limit=3}} * <syntaxhighlight lang="wikitext" inline>{{#invoke:random|list|egg|beans|sausage|bacon|spam|same=yes}}</syntaxhighlight> → {{#invoke:random|list|egg|beans|sausage|bacon|spam|same=yes}} * <syntaxhighlight lang="wikitext" inline>{{#invoke:random|list|egg|beans|sausage|bacon|spam|same=yes}}</syntaxhighlight> → {{#invoke:random|list|egg|beans|sausage|bacon|spam|same=yes}}
Summary:
Please note that all contributions to Schjessu wiki 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
Schjessu wiki:Copyrights
for details).
Do not submit copyrighted work without permission!
Cancel
Editing help
(opens in new window)
Search
Search
Editing
Module
:
Random/doc
(section)
Add topic