Toggle menu
15
236
74
27.6K
Kenshi Wiki
Toggle preferences menu
Toggle personal menu
Not logged in
Your IP address will be publicly visible if you make any edits.

Module:Portal-inline/doc: Difference between revisions

From Kenshi Wiki
Created page with "<!-- Please place categories where indicated at the bottom of this page and interwikis at Wikidata (see Wikipedia:Wikidata) --> {{Documentation subpage}} {{Sandbox other||{{Module rating |protected}} {{High-use}}}} {{lua|Module:Portal}} 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×..."
 
No edit summary
Line 1: Line 1:
<!-- Please place categories where indicated at the bottom of this page and interwikis at Wikidata (see [[Wikipedia:Wikidata]]) -->
<!-- Please place categories where indicated at the bottom of this page and interwikis at Wikidata (see [[Wikipedia:Wikidata]]) -->
{{Documentation subpage}}
{{Documentation subpage}}
{{Sandbox other||{{Module rating |protected}}
{{High-use}}}}
{{lua|Module:Portal}}
{{lua|Module:Portal}}


Line 14: Line 12:
<includeonly>{{#ifeq:{{SUBPAGENAME}}|sandbox | |
<includeonly>{{#ifeq:{{SUBPAGENAME}}|sandbox | |
<!-- Categories below this line, please; interwikis at Wikidata -->
<!-- Categories below this line, please; interwikis at Wikidata -->
 
[[Category:Modules]]
}}</includeonly>
}}</includeonly>
<noinclude>
[[Category:Module documentation pages]]
</noinclude>

Revision as of 01:46, 2 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=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.