Template:Portal-inline-template/doc

From blackwiki
< Template:Portal-inline-template
Revision as of 17:50, 24 July 2018 by test>Gonzo fan2007 (Create)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

This template is used to produce a link to a portal in a template, such as an infobox.

Differences between {{Portal-inline}} and {{Portal-inline-template}}

{{Portal-inline}} creates one portal link with no accessibility context. It is visible in printer and mobile view. This is useful, for example, if making a mid-sentence link on a talk page, or if there is an alternative list structure in a "See also" section.

{{Portal-inline-template}} does the same thing as above, but drops the word "portal" as part of the link. This template can be used where a header already specifies that the associated link is to a portal, such as {{Infobox Wikipedia WikIProject}}

Usage

{{portal-inline-template|Name}}

Parameters

1
The first unnamed parameter is the name of the portal.
size
specify |size=tiny to show a 16×16 image instead of the usual size.
text
specify |text=(name) for a different associated name to appear.

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.

Examples

* {{Portal-inline-template|Sexuality}}

Produces:


* {{Portal-inline-template|size=tiny|Sexuality}}

Produces:


* {{Portal-inline-template|Sexuality|text=Sex portal}}

Produces:

See also

Portal content templates

Main portal page formatting templates

Templates that configure links

Selected page templates, used on subpages of older portals

Related templates