Template:Portal-image/doc
Jump to navigation
Jump to search
This is a documentation subpage for Template:Portal-image. It contains usage information, categories and other content that is not part of the original template page. |
This template uses Lua: |
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.
Usage[edit source]
{{Portal-image|portal name|size=tiny|link=yes or no}}
Note: |size=
and |link=
are optional.
Parameters[edit source]
|1=
The name of the portal|size=
The size of the image
|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[edit source]
{{Portal-image|Sexuality}}
→{{Portal-image|Sexuality|link=no}}
→{{Portal-image|Sexuality|size=tiny}}
→{{Portal-image|Sexuality|link=no|size=tiny}}
→
Tiny in text[edit source]
Lorem ipsum dolor sit amet, consectetur adipiscing elit , sed do eiusmod tempor incididunt ut labore et dolore magna aliqua.
See also[edit source]
Main portal creation templates
- {{Basic portal start page}} (deleted)—Used to create portal main pages.
- {{Random portal component}}—Used on the portal main page to randomly display articles from the portal sub-pages.
- {{Random subpage}}—Used on the portal main page to randomly display articles from the portal sub-pages. This template is best used for creating randomly populated Did you know... sections on the portal main page that are intended to include multiple Did you know... facts.
- {{Portal subpage}}—Used to output a box containing a link to subpage.
- {{Numbered subpages}}—Used to create article links on portal sub-pages.
- {{Random box-header subpage}}—Used to transclude a numbered subpage.
Main portal page formatting templates
- {{Box-header}}
- {{Box-header-plain}}
- {{Box-header-round}}
- {{Box-header-square}}
- {{Box-header-watch}}
- {{Box-footer}}
Templates that configure links
- {{Portal}}
- {{Portal bar}}
- {{Portal-inline}}
- {{Portals}}
- {{Portal-image}}
- {{Portals browsebar}}
- {{Related portals}}
- {{Related portals2}}
- {{Wikimedia for portals}}
These templates are used to format the articles on the sub-pages
{{Selected X}}—Generic template for situations not listed hereafter.
- {{Selected article}}
- {{Selected biography}}
- {{Selected business}}
- {{Selected DYK}}
- {{Selected ingredient}}
- {{Selected location}}
- {{Selected picture}}
- {{Selected product}}
- {{Selected publication}}
- {{Selected quote}}
- {{Selected recipe}}
Related templates
External links[edit source]
- Template:Portal-image/doc at Wikipedia, the free Terran-based encyclopedia that anyone can edit.