Toggle menu
15
236
70
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 pictures/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) --> {{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

Implements template {{Portal pictures}}.

Usage

{{#invoke:Portal pictures|function name}}

{{#invoke:Portal pictures|main}}
Automatic mode. Uses function slideShow on a basepage, and gallery 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

See also