Table of contents [
expand all] [
collapse all]
Note: Only a few of these are actually useable in practical markup.
Most of these modules are designed solely for the purpose of some
particular page.
accessmaps
[module:accessmaps]
Lists the access levels and actions each one has access to.
activetab
[module:activetab|tab=b1]
Indicates which tab of the main menu is assumed to be active, overriding the system selection. The first letter indicates the context of the tabs activated ('b' = main menu, 'a' = tiny menu), and the next letters indicate the tab number.
addresses
[module:addresses|addrset=id]
Embeds a table of addresses created in the
addresses editor. id is the address set to embed.
aviencodes
[module:aviencodes]
Shows listing of all .avi encodes still used (used in
AviEncodes).
brokenlinks
[module:brokenlinks]
Lists broken links.
cachemanager, cachestatistics
[module:cachemanager]
Generates a cache flushing button. Access is restricted.
[module:cachestatistics]
Generates cache statistics.
Both used at
CacheControl, should not be placed somewhere else.
createtraplink
[module:createtraplink]
This module creates an invisible link that blocks the access of whoever
follows it. Regular viewers will never notice it, and well-behaving robots
won't follow it due to
robots.txt restriction, but badly behaving robots
will follow it and get banned.
It is already included in the page layout. It should not be placed somewhere else.
DailyMotion
[module:dailymotion]
Generates an embedded
DailyMotion movie viewer.
Params:
v=code | Code is the value after /video/ preceding the first _ in the DailyMotion URL. | Required |
w=width | Override the default width of 480. | Optional |
h=height | Override the default height of 425. | Optional |
align=direction | Align to the left or right by sending the direction to left or right. | Optional |
start=seconds | Amount of seconds into the video to start playing it from. | Optional |
loop=seconds | Amount of seconds into the video at which point it should loop back to the starting point. Currently buggy. | Optional |
hidelink | Specify this parameter to hide the link to DailyMotion's site on the bottom. | Optional |
dbrelations
diggbutton
Example:
[module:diggbutton|urn=programming/How_to_Write_and_use_SOAP_services_with_PHP_and_JavaScript_AJAX]
Creates a
Digg button.
The digg submission for which it links to, must exist beforehand.
The button is automatically aligned on the right.
It should only be used on the pages corresponding to the digg submission.
displaygamename
Displays the name of specified game or games (according to display name stored in gamenames database table)
Params:
gid=gameid | Comma-separated list of game IDs. | Mandatory except on special pages |
The following pages are special (optional gid):
- Submission pages. Game defaults to whatever game is set for the submission.
- Movie pages. Game defaults to whatever game is set for the publication.
- Linked gameresources pages (and subpages thereof): Game(s) having that as resources page.
- Any subpages included by pages above.
Examples:
- [module:displaygamename|gid=634] shows DOS SkyRoads.
- [module:displaygamename|gid=634,709] shows DOS SkyRoads and DOS SkyRoads: Xmas Special.
displaymovie
Example:
[module:displaymovie|id=600]
Creates a movie listing, just like the Movies-*.html pages do. The parameters are the same as accepted by movies.cgi:
- id
- Limits selection to individual movies matching the given ID (comma separate to select many)
- obs
- If specified, allows displaying obsolete movies (only when id is not specified)
- obsonly
- If specified, limits display to obsolete movies (only when id or obs is not specified)
- ratingsort
- If specified, sorts movies by rating
- name
- Limits selection to movies whose name match the given text (exact substring)
- playerid
- Limits selection to movies played by the specified player entity (group/individual) (give ID)
- systemid
- Limits selection to movies of games on the specified game console (give system ID, not system name)
- catid
- Limits selection to movies where the given category (by ID) is specified (note: catval must also be specified)
- catval
- Indicates the polarity of the category selection: 1 = positive, -1 = negative.
- maxage
- Limits selection to movies not older than N seconds where N is the given parameter.
- rec
- If specified (value does not matter), limits selection to movies having the "recommended" flag (i.e. star) set. If specified with notable, combines as or.
- notable
- If specified (value does not matter), limits selection to movies having the "notable improvement" flag (i.e. lightning) set. If specified with rec, combines as or.
- verified
- If specified (value does not matter), limits selection to movies having the "verified" flag (i.e. check) set.
- tier
- Comma-separated list of tiers to filter for.
- flags
- Comma-separated list of flags to filter for.
- game
- Comma-separated list of game IDs to filter for.
- group
- Comma-separated list of game group IDs to filter for.
- noshowtiers
- Comma-separated list of tier names not to show icons for
- noshowflags
- Comma-separated list of flag names not to show icons for.
editoractivity
[module:editoractivity]
Used at
MostActiveEditors. Displays statistics on editors' edits to movies and wiki pages.
limit=num | Total number of users to display (default 30). Maximum 100. | Optional |
sort=field | Sort on total (default), wiki, or movie edits. | Optional |
editpage
[module:editpage]
Creates an "edit this page" link. Access restricted.
editusers
[module:editusers]
Creates an user editor. Access restricted.
Is used at
Users/Edit, should not be placed somewhere else.
encodes10bit444
[module:encodes10bit444]
Lists 10 bit 444 encodes.
feedlog
[module:feedlog]
Displays a table for an RSS/Atom feed or SVN commit log from a public subversion repository.
RSS feeds are expected to contain items with a clean author, pubdate, link, and title elements.
Atom feeds are expected to contain entries with a clean author, modified or updated, link, and title elements.
Params:
url=URL | URL to RSS/Atom feed or to subversion repository. For subversion repositories, can be trunk or another subdirectory. | Required |
type=TYPE | Type can be rss, atom, or svn. | Required |
limit=number | Override the default amount (10) of entries to show. | Optional |
firsteditiontas
[module:firsteditiontas]
Display list of first publications for games.
Parameters:
after=<timestamp> | Display only games with first publication at or after given unix timestamp. |
before=<timestamp> | Display only games with first publication before given unix timestamp. |
splitbyplatform | In addition of considering the game name, also consider the system. |
vault | By default only movies outside the vault are displayed. Include this to display the vault tier as well. |
flowplayer
[module:flowplayer]
Displays a player for an MP4 or FLV video hosted anywhere on the Internet.
Params:
v=URL | The full URL including "http://" at the beginning to a video file. | Required |
i=URL | Image to display while the movie is loading; use full URL. | Optional |
w=width | Override the default width of 640. | Optional |
h=height | Override the default height of 480. | Optional |
start=seconds | Time into the video to start playing at. | Optional |
align=direction | Align to the left or right by setting the direction to left or right. | Optional |
hidelink | Hide the link to download the video. | Optional |
forumfeed
[module:forumfeed|f=ForumID]
Display the contents of a particular forum. Note, this module isn't polished yet.
forumposters
[module:forumposters]
Lists forum posters with their avatars.
Is used at
MostActivePosters, should not be placed somewhere else.
forumuser
[module:forumuser|name=username|id=userid]
Outputs "this page appears to be homepage of user X" blurb.
Is automatically used at homepage, should not be placed somewhere else.
forumuserfield
[module:forumuserfield|user=username|field=fieldtype]
Outputs the selected field from the given user's forum profile, verbatim.
Allowed fieldtypes are currently “signature” and “interests”.
frames
[module:frames]
Generates a human readable time from an amount of frames.
Params:
amount=number | Amount of frames | Required |
fps=number | Override the default frames per second of 60. | Optional |
If you specify
ntsc or
pal as the fps value instead of a number, the module will get the framerate for the current platform from the
site's database. Intended for movie descriptions.
frontpagemovielist
[module:frontpagemovielist|maxdays=n|maxrels=n]
Creates a movie listing for the front page. Currently unused.
frontpagesubmissionlist
[module:frontpagesubmissionlist|maxdays=n|maxrels=n]
Creates a submission listing for the front page.
gamefooter
[module:gamefooter]
Creates game resource page footer. All game resource pages (except
GameResources itself) should have this.
gameheader
[module:gameheader]
Creates a game resource page header. All game resource pages (except
GameResources itself) should have this.
gamename
[module:gamename]
Used by SystemGameResourcesHeader in order to generate the game name of a game resource page. This module should not be used anywhere else.
gamenameseditor
Used by GamenamesEditor to place the Gamenames table editor there. Should not be placed anywhere else.
gamesubpages
getfirefox
[module:getfirefox]
[module:getfirefox|align=right]
Generates a "Get firefox" advertisement button.
Alignment can be specified.
googleflavor
[module:googleflavor]
Creates a site-flavored Google search form.
judgecounts
[module:judgecounts]
Lists number of decisions by judges. Used on
Judge Counts.
Params:
userid=<userid> | Display only given user ID[1] |
jwplayer
[module:jwplayer]
Displays a player for an MP4 or FLV video hosted anywhere on the Internet. Makes use of [
http://www.longtailvideo.com/ JWPlayer].
Params:
v=URL | The full URL including "http://" at the beginning to a video file. | Required |
i=URL | Image to display while the movie is loading; use full URL. | Optional |
w=width | Override the default width of 640. | Optional |
h=height | Override the default height of 480. | Optional |
start=seconds | Time into the video to start playing at. | Optional |
align=direction | Align to the left or right by setting the direction to left or right. | Optional |
hidelink | Hide the link to download the video. | Optional |
sub | A subtitle file to accompany the video. | Optional |
linkgamenameresources
If game has linked game resources page, links there
Params:
gid=gameid | Game ID. | Mandatory except on special pages |
linktext=base64 | Base64 of link text to give. | Optional |
May be placed without gid parameter on submission and publication pages.
listlanguages
If a page has translated versions in different languages, it will provide links to pages with those languages.
Optional parameter:
istranslation=true | If set to true, it assumes it is a translated page and will look for and link to its English variant, and other translations of its kind. |
listmovies, moviesearchcategory, moviesearchsystem
[module:listmovies]
[module:moviesearchcategory]
[module:moviesearchsystem]
Creates the contents of the
MovieSearch page. Should not be used somewhere else.
listparents
[module:listparents]
Generates backlinks to parent pages when hierarchical page structure is used.
listsubpages
[module:listsubpages]
Generates links to subpages when hierarchical page structure is used.
loginbar
[module:loginbar]
Generates the login functionality that is used in the topmost menu.
moviechangelog
[module:moviechangelog]
Lists history of movie updates and obsoletions.
Params:
maxdays=n | Selects maximum days to list (optional) |
maxrels=n | Selects maximum releases to list (optional) |
float=1 | If specified, makes it float on the right like on the front page. Also embeds an advertisement. (optional) |
seed=id | Specifies the list of movieids for whose history to list (optional) |
heading=text | Specifies a heading (optional) |
footer=text | Specifies a footer (optional) |
flink=WikiPageName | Specifies a page to link the footer text to. Requires footer to be set. (optional) |
movielistbyname
[module:movielistbyname]
Lists movies by name.
moviemaintlog
movienamesearch
[module:movienamesearch]
Outputs a form for searching movies by name. Obsoleted by the [searchbar] module.
moviesbyplayer
[module:moviesbyplayer]
Display list of movies grouped by player
Parameters:
after=<timestamp> | Display only movies published at or after given unix timestamp. |
before=<timestamp> | Display only movies published before given unix timestamp. |
newbies=show | Mark newbies (first publication in given time interval). |
newbies=only | Only show newbies (first publication in given time interval). |
moviesgamelist
[module:moviesgamelist]
Display list of games with dedicated pages. If invoked without parameters, outputs list for all systems.
Params:
system=<id> | Only list games for given system |
gamegroup=<id> | Only list games that belong to a given game group |
movieslist
[module:movieslist]
Body of
MoviesList pages. If invoked without parameters, outputs list for all systems.
Params:
platform=<id> | Only list movies for given platform (instead of all platforms) |
moviestatistics
[module:moviestatistics]
Lists statistics of movies.
If invoked without parameters, lists generic statistics.
Params:
comp=[-]fieldname | specifies field to compare using |
need=fieldname | specifies which field must have nonzero value |
fields=fieldname=fielddesc{,...} | lists fields to list |
top=n | specifies the number of results to output (default 10) |
minAge=n | specifies the minimum age of the movie in days to be listed |
List of available fields is subject to change.
Currently it is:
id, length, filererecords, playerid, recommended, alength, asize, aname,
desclen, num_lines, udesclen, formattedLength, formattedALength, compressionRatio, alengthPerLength, alengthMinusLength, formattedALengthMinusLength, btDownloaded, btDownloadedMegs, daysPublished, downloadsPerDay.
nicovideo
[module:nicovideo]
Generates an embedded
Nico Nico Douga (nicovideo) movie viewer.
Params:
v=code | Code is the component after the final / of the URL. | Required |
w=width | Override the default width of 728. | Optional |
h=height | Override the default height of 410. | Optional |
align=direction | Align to the left or right by sending the direction to left or right. | Optional |
hidelink | Specify this parameter to hide the link to Nico Nico Douga's site on the bottom. | Optional |
nogamename
Used by
NoGamename to place the listing of submissions having no assigned game name there. Should not be placed anywhere else.
playerpointsyeartable
[module:playerpointsyeartable]
Displays the player points by a yearly time frame.
Params:
year | The year to display. Can be set to the special values of auto-1y and auto-2y to return the last average Gregorian year or two years respectively. |
startyear | Instead of the above parameter, specify the beginning of a year range. |
endyear | Used with the above to specify the end of the range. The ranges are inclusive. |
max | The amount of players to display. Defaults to 50. |
obs=on | Specify this to include obsoleted movies in the calculation. |
pubcounts
[module:pubcounts]
Counts number of publications by publisher, as seen on
Pub Counts.
Params:
userid=<userid> | Display only given user ID[1] |
publist | In conjunction with userid, display all publications by that user ID |
publicationsfromnewesttooldest
[module:publicationsfromnewesttooldest]
Display list of publications from newest to oldest.
rssbutton
[module:rssbutton]
Generates a rss button.
searchbar
[module:searchbar]
Generates a tiny
Search form.
settableattributes
[module:settableattributes|pattern=regexp|style=cssstyle]
After a call to this module, subsequent table cells matching
the given regexp will be given the specified CSS style.
It has effect during the particular page's rendering,
and does not affect other pages.
similarmovies
[module:similarmovies|seed=movieidlist]
Lists movies similar to the given list.
submissionsbygamename
Displays list of known publications and submissions for given game names(s).
Params:
gid=gameid | Comma-separated list of game IDs. | Mandatory except on special pages |
The following pages are special (optional gid):
- Submission pages. Game defaults to whatever game is set for the submission.
- Movie pages. Game defaults to whatever game is set for the publication.
- Linked gameresources pages (and subpages thereof): Game(s) having that as resources page.
- Any subpages included by pages above.
submitmovie
[module:submitmovie]
Generates a movie submission form.
This is used at
SubmitMovie, and should not be used somewhere else.
topicfeed
[module:topicfeed|t=TopicID|l=Limit|heading=text]
This module can be used to display the posts of a particular forum topic in reverse order. The paramter t= should be set to the topic ID for the thread. The optional l= parameter can be used to change the default limit of how many posts to display. The optional heading= parameter can be used to add a heading title. The optional hidecontent parameter will make content hidden until clicked on.
This is used at the
News page.
torrentdisplay
[module:torrentdisplay]
Lists torrents in need of seeding.
This module is used at
Helping.
tracker
[module:tracker]
Outputs tracker statistics. This module should not be used on
user pages, because of the heavy processing it requires every
time invoked.
unmirroredmovies
[module:unmirroredmovies]
Lists movies without mirrors, streaming links, or some combination thereof. By default it lists all unmirrored movies. Used on
Unstreamed Movies.
Params:
streamed | Lists unmirrored movies with streaming links. |
unstreamed | Lists unmirrored movies without streaming links. |
allunstreamed | Lists all movies without streaming links (or where the only streaming link is from Viddler). |
current | Lists un-obsoleted movies only |
obs | List obsoleted movies only |
uploaders
[module:uploaders|id=ID]
Lists uploads by user.
Params:
id=ID | User ID (see Uploaders List for lists). Required |
current | Only display current movies (the default is to display both current and obsolete) |
obs | Only display obsolete movies (the default is to display both current and obsolete) |
usermovies
[module:usermovies|user=IDs|game=IDs|limit=maxentries]
List latest user movies
Params:
user=IDs | List only files from those users if specified (comma separated) |
game=IDs | List only files for those games (comma separated) |
limit=maxentries | Override the default limit of 25 files |
links=1 | Display links for more and personal uploads |
usersearch
[module:usersearch]
Generates an HTML5+JS user search form which can be tied to pages which take a username as a parameter.
Params:
where=loc | Location to be searching for users. Current options are site and forum. | Required |
baseurl=URL | URL to the page the form submits to, included needed query parameters. | Required |
name=param | The name of the parameter in the query that specifies the user. | Required |
focus | Set the browser focus to the search field on page load. Note: only one item per page can have autofocus. | Optional |
Example: [module:usersearch|where=site|baseurl=/Users/Edit.html?mode=uedit|name=id]
This will create a form which upon submit will direct to
/Users/Edit.html?mode=uedit&id=<selected username>.
viddler
[module:viddler]
Generates an embedded
Viddler movie viewer.
Params:
v=URL | URL of the movie on Viddler's site. | Required |
w=width | Override the default width of 545. | Optional |
h=height | Override the default height of 478. | Optional |
align=direction | Align to the left or right by setting the direction to left or right. | Optional |
wikilogin
[module:wikilogin]
Generates the login form.
Used at
Login, should not be used somewhere else.
wikiorphans
[module:wikiorphans]
Lists
wiki orphans.
Params:
pagetypes=list | selects page types to list (commaseparated list of P,M,S) |
maxrefs=n | maximum references to consider the page for listing |
Used at
WikiOrphans.
wikireferences
[module:wikireferences]
Lists page referrers.
wikisearch
[module:wikisearch]
Generates the contents of the
Search page. Should not be used somewhere else.
YouTube
[module:youtube]
Generates an embedded
YouTube movie viewer.
Params:
v=code | Code is the value of the v= parameter in the YouTube URL. | Required |
w=width | Override the default width of 425. | Optional |
h=height | Override the default height of 370. | Optional |
align=direction | Align to the left or right by sending the direction to left or right. | Optional |
start=seconds | Amount of seconds into the video to start playing it from. | Optional |
loop=seconds | Amount of seconds into the video at which point it should loop back to the starting point. | Optional |
hidelink | Specify this parameter to hide the link to YouTube's site on the bottom. | Optional |
flashblock | Specify this parameter to not load any flash directly, and require JavaScript button processing to load & play. | Optional |
Password generator / decoder modules
cv2upassword, faxpassword, glpassword, metropassword, mm2password, mm3password, mm4password, mm5password, mm6password, olympuspassword, solarjetpassword.
Password generator / decoder modules used at
PasswordGenerators.
Monetizing modules
adbriteads, admultiplex, donate, donatebutton, googleads, yahooads.
Placing these modules requires
adelikat's or
Nach's explicit permission.
That is, do not use them.