{{#invoke:Message box|mbox}} {{#invoke:Lua banner|main}} Portal-image is used to produce an inline image to a portal, with or without a link to the portal's page through the image.
Inhaltsverzeichnis
Usage
{{Portal-image|portal name|size=tiny|link=yes or no}}
Note: |size=
and |link=
are optional.
Parameters
|1=
The name of the portal|size=
The size of the image
- If set to tiny, produces an image that is as tall as a line of text: [[File:{{#invoke:portal|image|science}}|class=noviewer|16x16px|link=Portal:science]]
|link=
Whether or not the image links to the portal
- Default: yes
- To make the image not link to the portal, set to any no value (no, n, off, false, etc.)
Examples
- {{#invoke:Demo|inline}}
- {{#invoke:Demo|inline}}
- {{#invoke:Demo|inline}}
- {{#invoke:Demo|inline}}
Tiny in text
Lorem ipsum dolor sit amet, consectetur adipiscing elit [[File:{{#invoke:portal|image|language}}|class=noviewer|16x16px|link=Portal:language]], sed do eiusmod tempor incididunt ut labore et dolore magna aliqua.
See also
{{#invoke:Navbar|navbar}} Portal content templates
- To display "selected content" on the portal main page
- {{Transclude list item excerpts as random slideshow}}—transcludes excerpts from recognized content lists, which are populated by a bot.
- {{Transclude random subpage}}—transcludes random portal subpage.
- {{Random portal component}}—transcludes random portal subpage.
- {{Random subpage}}—transcludes random portal subpages.
- To organize "selected content" on subpages
- {{Numbered subpages}}—outputs an automatic index, transcluding numbered subpages.
- {{Portal subpage}}—outputs a box linking to and transcluding a single subpage.
- {{Portal subpage inline}}—outputs an unordered list item linking to and transcluding a single subpage.
Main portal page formatting templates
{{#invoke:Check for unknown parameters|check|unknown=|preview=Page using Template:Div col with unknown parameter "_VALUE_"; use colwidth= to specify column size |ignoreblank=y | colwidth | content | gap | rules | small | style }}
- {{Box-header}}
- {{Box-header-plain}}
- {{Box-header-round}}
- {{Box-header-square}}
- {{Box-header-watch}}
- {{Box-footer}}
Templates that configure links
{{#invoke:Check for unknown parameters|check|unknown=|preview=Page using Template:Div col with unknown parameter "_VALUE_"; use colwidth= to specify column size |ignoreblank=y | colwidth | content | gap | rules | small | style }}
- {{Portal}}
- {{Portal bar}}
- {{Portal-inline}}
- {{Portals}}
- {{Portal-image}}
- {{Portals browsebar}}
- {{Related portals}}
- {{Related portals2}}
- {{Wikimedia for portals}}
Selected page templates, used on subpages of older portals
{{#invoke:Check for unknown parameters|check|unknown=|preview=Page using Template:Div col with unknown parameter "_VALUE_"; use colwidth= to specify column size |ignoreblank=y | colwidth | content | gap | rules | small | style }}
- {{Selected article}}
- {{Selected biography}}
- {{Selected business}}
- {{Selected DYK}}
- {{Selected ingredient}}
- {{Selected location}}
- {{Selected picture}}
- {{Selected product}}
- {{Selected publication}}
- {{Selected quote}}
- {{Selected recipe}}
- {{Selected X}}
Related templates
- {{Project template list}}
- {{#Invoke:Tlg|main}} (deleted)—Used to create portal main pages.
- {{Random box-header subpage}}—randomized selection from {{Box-header/1}} to {{Box-header/42}}.
{{#invoke:Navbox|navbox}}