Jump to content

Module:Portal-inline/doc: Difference between revisions

From Wikipedia, the free encyclopedia
Content deleted Content added
{{High-use| 148168 }}
m typo
Line 5: Line 5:
{{lua|Module:Portal}}
{{lua|Module:Portal}}


This module implements [[Template:Portal-inline]]. This module excepts one unnamed parameter which is the portal to link to and several named parameters:
This module implements [[Template:Portal-inline]]. This module accepts one unnamed parameter which is the portal to link to and several named parameters:
* <code>size</code>— optional; Specify <code>|size=tiny</code> to show a 16×16 image instead of the usual size.
* <code>size</code>— optional; Specify <code>|size=tiny</code> to show a 16×16 image instead of the usual size.
* <code>text</code>— optional; Specify <code>|text=(name)</code> for a different associated name to appear.
* <code>text</code>— optional; Specify <code>|text=(name)</code> for a different associated name to appear.

Revision as of 12:52, 11 February 2022

This module implements Template:Portal-inline. This module accepts one unnamed parameter which is the portal to link to and several named parameters:

  • size— optional; Specify |size=tiny to show a 16×16 image instead of the usual size.
  • text— optional; Specify |text=(name) for a different associated name to appear.
  • short— optional; Specify |short=anything to remove portal from the output.
  • redlinks— optional; Specify |redlinks=yes to show the portal if it is redlinked.