Jump to content
Main menu
Main menu
move to sidebar
hide
Navigation
Main page
Recent changes
Random page
Help about MediaWiki
Search
Search
Create account
Log in
Personal tools
Create account
Log in
Pages for logged out editors
learn more
Contributions
Talk
Editing
Module:Portal/doc
Module
Discussion
English
Read
Edit source
View history
Tools
Tools
move to sidebar
hide
Actions
Read
Edit source
View history
Move
General
What links here
Related changes
Special pages
Page information
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!
{{High-use|demo=Module:{{ROOTPAGENAME}}}} {{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. See [[Template:Portal/testcases|here]], [[Template:Portal-inline/testcases|here]], and [[Template:Portal bar/testcases|here]] for test cases. == 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 1000 portals with images, and displaying 1000 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. The output of this function can be seen at [[Template:Portal/doc/all]]. === Usage === <code>{{#invoke:Portal|displayAll}}</code>
Summary:
Please note that all contributions to Ikwipedia are considered to be released under the Creative Commons Attribution-ShareAlike (see
Ikwipedia:Copyrights
for details). If you do not want your writing to be edited mercilessly and redistributed at will, 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.
Do not submit copyrighted work without permission!
Cancel
Editing help
(opens in new window)
Templates used on this page:
Template:-
(
edit
)
Template:Category link with count
(
edit
)
Template:Clc
(
edit
)
Template:Clear
(
edit
)
Template:Collapse bottom
(
edit
)
Template:Collapse top
(
edit
)
Template:Collapse top/styles.css
(
edit
)
Template:High-use
(
edit
)
Template:Ifsubst
(
edit
)
Template:Lua
(
edit
)
Template:Main other
(
edit
)
Template:Module rating
(
edit
)
Template:Nowrap
(
edit
)
Template:Para
(
edit
)
Template:Portal
(
edit
)
Template:Portal-inline
(
edit
)
Template:Portal/doc
(
edit
)
Template:Portal bar
(
edit
)
Template:Purge page
(
edit
)
Template:Template link
(
edit
)
Template:Template link expanded
(
edit
)
Template:Tl
(
edit
)
Template:Tlx
(
edit
)
Template:Uses TemplateStyles
(
edit
)
Module:Arguments
(
edit
)
Module:High-use
(
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-inline
(
edit
)
Module:Portal/images/a
(
edit
)
Module:Portal/styles.css
(
edit
)
Module:Portal bar
(
edit
)
Module:String
(
edit
)
Module:TNT
(
edit
)
Module:TableTools
(
edit
)
Module:Template link general
(
edit
)
Module:Transclusion count
(
edit
)
Module:Transclusion count/data/P
(
edit
)
Module:Uses TemplateStyles
(
edit
)
Module:Uses TemplateStyles/config
(
edit
)
Module:Yesno
(
edit
)
Toggle limited content width