Vorlage:RandomArticle: Unterschied zwischen den Versionen
Aus DG HochN-Wiki
Zeile 4: | Zeile 4: | ||
|format=list | |format=list | ||
|limit=1 | |limit=1 | ||
+ | |searchlabel= | ||
|offset={{#expr: ( ( {{#time:U|today}} + {{{2|{{#time:z|today}}} }} + 67 ) * 67 ) mod {{#ask: | |offset={{#expr: ( ( {{#time:U|today}} + {{{2|{{#time:z|today}}} }} + 67 ) * 67 ) mod {{#ask: | ||
[[:+]] | [[:+]] |
Version vom 23. Mai 2024, 10:20 Uhr
Benutzung
Diese Vorlage ermöglicht es einen zufälligen Artikel auf einer Wiki-Seite einzubinden.
Kopiervorlage
<includeonly>{{#ask: [[:+]] [[Modification date::+]] <!-- prevent deleted pages from showing up --> |format=embedded |limit=1 |searchlabel= |offset={{#expr: ( ( {{#time:U|today}} + {{{2|{{#time:z|today}}} }} + 67 ) * 67 ) mod {{#ask: [[:+]] [[Modification date::+]] <!-- prevent deleted pages from showing up --> |format=count }} }} }}</includeonly>