Jump to content

Module:Portal-inline/doc: Difference between revisions

From Wikipedia, the free encyclopedia
Content deleted Content added
lookup module use
* <code>nowrap</code>— optional; Specify <code>|nowrap=yes</code> to prevent the entire output from wrapping.
Line 10: Line 10:
* <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.
* <code>redlinks</code>— optional; Specify <code>|redlinks=yes</code> to show the portal if it is redlinked.
* <code>redlinks</code>— optional; Specify <code>|redlinks=yes</code> to show the portal if it is redlinked.
* <code>nowrap</code>— optional; Specify <code>|nowrap=yes</code> to prevent the entire output from wrapping.


<includeonly>{{#ifeq:{{SUBPAGENAME}}|sandbox | |
<includeonly>{{#ifeq:{{SUBPAGENAME}}|sandbox | |

Revision as of 17:24, 4 November 2024

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.
  • nowrap— optional; Specify |nowrap=yes to prevent the entire output from wrapping.