Difference between revisions of "Template:Portal-inline"
From ChaldeanWiki
(use <span class="metadata"> to prevent media viewer displaying icon) |
m (1 revision imported) |
(No difference)
|
Latest revision as of 17:13, 30 March 2015
This template is used to produce an inline link to a portal or portals, with an asterisk. Usually, {{Portal}} is used to create such a link. However, stubs and small articles may not be able to accommodate such bulky templates.
Contents
Usage
* {{portal-inline|Name}}
The size of the image can be reduced by passing |size=tiny
among the parameters.
Location
Within articles, this template is meant to be placed at the bottom of the article in the See also section.
Image
The portal image name is found using Module:Portal. Please see Module:Portal#Image for instructions on how to add, update, or remove an image.
Parameters
-
Name
- The name of the portal.
-
size
- specify
|size=tiny
to show a 16x16 image instead of the usual size.
Examples
* {{Portal-inline|Fungi}}
Produces:
* {{Portal-inline|size=tiny|Fungi}}
Produces:
See also
- Main portal creation templates
- {{Box portal skeleton}} - 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 portal component with nominate}} - Used on the portal main page to randomly display articles from the portal sub-pages, adding the option to nominate other Featured foo articles.
- {{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.
- {{Subpage}} - Used to output a box containing a link to subpage.
- {{Numbered subpages}} - Used to create article links on portal sub-pages with 50 links.
- {{25 numbered subpages}} - As hereinbefore, but with 25 links.
- {{75 numbered subpages}} - As hereinbefore, but with 75 links.
- {{100 numbered subpages}} - As hereinbefore, but with 100 links.
- {{Random box-header subpage}} - Used to transclude a numbered subpage.
- Main portal page formatting templates
- {{Boxheader}}
- {{Box-header}}
- {{Box-header1}}
- {{Box-header2}}
- {{Box-Header II}}
- {{Box-header-blank}}
- {{Box-header-groovy}}
- {{Box-header-health}}
- {{Box-header-plain}}
- {{Box-header-round}}
- {{Box-header-square}}
- {{Box-header-watch}}
- {{Boxfooter}}
- {{Box-footer}}
- {{Box-footer2}}
- Templates that configure links
- {{Portal}}
- {{Portal bar}}
- {{Portal-inline}}
- {{Portals}}
- {{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
The above documentation is transcluded from Template:Portal-inline/doc. (edit | history) Editors can experiment in this template's sandbox (create | mirror) and testcases (create) pages. Please add categories to the /doc subpage. Subpages of this template. |