Module:Portal pictures/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) --> {{Lua|Module:Random slideshow|Module:Random}} Implements template {{tl|Portal pictures}}. == Usage == <code><nowiki>{{#invoke:</nowiki>{{BASEPAGENAME}}{{!}}<var>function name</var><nowiki>}}</nowiki></code> ;<code><nowiki>{{</nowiki>#invoke:{{BASEPAGENAME}}{{!}}main<nowiki>}}</nowiki></code> :Automatic mode. Uses function <code>slideShow</..." |
No edit summary |
||
(One intermediate revision by the same user not shown) | |||
Line 1: | Line 1: | ||
{{doc sub}} | |||
<!-- 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]]) --> | ||
{{Lua|Module:Random slideshow|Module:Random}} | {{Lua|Module:Random slideshow|Module:Random}} | ||
Line 21: | Line 22: | ||
<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 pictures. It may contain usage information, categories and other content that is not part of the original module page. |
Uses Lua: |
Implements template {{Portal pictures}}.
Usage
{{#invoke:Portal pictures|function name}}
{{#invoke:Portal pictures|main}}
- Automatic mode. Uses function
slideShow
on a basepage, andgallery
on a subpage. {{#invoke:Portal pictures|slideShow}}
- Shows a slide show with a random picture selected. Used for testing.
{{#invoke:Portal pictures|gallery}}
- Shows all pictures. Used for testing.
Parameters
See Template:Portal pictures/doc