Jump to content

Module:Portal-inline/doc: Difference between revisions

From Wikipedia, the free encyclopedia
Content deleted Content added
* <code>nowrap</code>— optional; Specify <code>|nowrap=yes</code> to prevent the entire output from wrapping.
update doc
 
Line 6: Line 6:


This module implements [[Template:Portal-inline]]. This module accepts 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=small</code> to show a 23x20 image or <code>|size=tiny</code> for a 17×15 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.
* <code>short</code>— optional; Specify <code>|short=''anything''</code> to remove ''portal'' from the output.
* <code>short</code>— optional; Specify <code>|short=''anything''</code> to remove ''portal'' from the output.

Latest revision as of 16:29, 8 March 2025

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=small to show a 23x20 image or |size=tiny for a 17×15 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.
  • nowrap— optional; Specify |nowrap=yes to prevent the entire output from wrapping.