Module:Portal-inline/doc: Difference between revisions
From Kenshi Wiki
More actions
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 |
||
(2 intermediate revisions by the same user not shown) | |||
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}} | ||
{{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 documents]] | |||
</noinclude> |
Latest revision as of 01:29, 10 March 2025
This is a documentation subpage for Module:Portal-inline. It may contain usage information, categories and other content that is not part of the original module page. |
Uses Lua: |
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.