Vorlage:RandomArticle: Unterschied zwischen den Versionen
Aus DG HochN-Wiki
Zeile 4: | Zeile 4: | ||
|format=embedded | |format=embedded | ||
|embedformat=h2 | |embedformat=h2 | ||
− | |limit= | + | |limit=3 |
|searchlabel= | |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, 09:56 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>