Template:Portal-inline/doc

From Dharmawiki
< Template:Portal-inline
Revision as of 15:21, 30 June 2016 by WikiSysop (talk | contribs) (1 revision imported)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

Lua error in mw.lua at line 307: frame:expandTemplate: a title is required.

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.

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 16×16 image instead of the usual size.

Examples

* {{Portal-inline|Fungi}}

Produces:

  • [[File:Lua error in package.lua at line 80: module 'Module:Portal/images/f' not found.|class=noviewer|32x28px]] Fungi portal
* {{Portal-inline|size=tiny|Fungi}}

Produces:

  • [[File:Lua error in package.lua at line 80: module 'Module:Portal/images/f' not found.|class=noviewer|16x16px]] Fungi portal

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.
  • {{Random box-header subpage}}—Used to transclude a numbered subpage.
Main portal page formatting templates
The unnamed parameter 2= is no longer supported. Please see the documentation for {{columns-list}}.
3
Templates that configure links
The unnamed parameter 2= is no longer supported. Please see the documentation for {{columns-list}}.
3
These templates are used to format the articles on the sub-pages

{{Selected X}}—Generic template for situations not listed hereafter.

The unnamed parameter 2= is no longer supported. Please see the documentation for {{columns-list}}.
3
Related templates