Editing
Module:Portal/doc
From Thetacola Wiki
Jump to navigation
Jump to search
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!
{{Sandbox other||{{High-use|all-pages = yes}} {{module rating|protected}}}} {{Lua|Module:Yesno|Module:Arguments}} {{uses TemplateStyles|Module:Portal/styles.css}} This module has two functions, <code>portal</code> and <code>image</code>. The <code>portal</code> produces a box with links to a [[Portal:Contents/Portals|portal]] or to multiple portals, and is used by the {{tl|portal}} template. It is most often used in the "See also" section of an article. The <code>image</code> function produces the name of the image used by the specified portal. == Portal function == The portal function produces a box of portal links. {{Portal/doc|type=module}} == Image function == The image function produces the name of the image used by the specified portal. === Usage === <code>{{#invoke:Portal|image|''portal''}}</code> === Example === * <code><nowiki>{{#invoke:Portal|image|Art}}</nowiki></code> → {{#invoke:Portal|image|Art}} == Image dupes function == The image dupes function returns a list of all images that are being used by more than one portal (aliases are not included). This can be helpful in identifying image entries that should be changed to use aliases. === Usage === <code>{{#invoke:Portal|imageDupes}}</code> == Display all function == The display all function returns a box containing all portals that have images. This is used for maintenance, and should not be displayed in articles, because a) there are around 1500 portals with images, and displaying 1500 images on one page takes up a lot of server resources, and b) the module has no way to know the correct capitalisation of a portal name, so some links to portals will be broken. This function can be seen at [[Template:Portal/doc/all]]. === Usage === <code>{{#invoke:Portal|displayAll}}</code>
Summary:
Please note that all contributions to Thetacola 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
Project:Copyrights
for details).
Do not submit copyrighted work without permission!
Cancel
Editing help
(opens in new window)
Templates used on this page:
Template:Category link with count
(
edit
)
Template:Clc
(
edit
)
Template:Collapse bottom
(
edit
)
Template:Collapse top
(
edit
)
Template:Collapse top/styles.css
(
edit
)
Template:Ifsubst
(
edit
)
Template:Lua
(
edit
)
Template:Main other
(
edit
)
Template:Nowrap
(
edit
)
Template:Para
(
edit
)
Template:Portal
(
edit
)
Template:Portal/doc
(
edit
)
Template:Purge page
(
edit
)
Template:Sandbox other
(
edit
)
Template:Template link
(
edit
)
Template:Template link expanded
(
edit
)
Template:Tl
(
edit
)
Template:Tlx
(
edit
)
Template:Uses TemplateStyles
(
edit
)
Module:Arguments
(
edit
)
Module:List
(
edit
)
Module:Lua banner
(
edit
)
Module:Message box
(
edit
)
Module:Message box/configuration
(
edit
)
Module:Message box/ombox.css
(
edit
)
Module:Portal
(
edit
)
Module:Portal/images/a
(
edit
)
Module:Portal/styles.css
(
edit
)
Module:String
(
edit
)
Module:TNT
(
edit
)
Module:TableTools
(
edit
)
Module:Template link general
(
edit
)
Module:Uses TemplateStyles
(
edit
)
Module:Uses TemplateStyles/config
(
edit
)
Module:Yesno
(
edit
)
Navigation menu
Page actions
Module
Discussion
Read
Edit source
History
Page actions
Module
Discussion
More
Tools
Personal tools
Not logged in
Talk
Contributions
Create account
Log in
Navigation
Main page
Recent changes
Random page
Help about MediaWiki
Search
Tools
What links here
Related changes
Special pages
Page information