Vorlage:RandomArticle: Unterschied zwischen den Versionen
Aus DG HochN-Wiki
(Die Seite wurde neu angelegt: „<includeonly>{{#ask: + Modification date::+ <!-- prevent deleted pages from showing up --> |format=embedded |limit=1 |searchlabel= |offset={{#ex…“) |
|||
Zeile 12: | Zeile 12: | ||
}} | }} | ||
}}</includeonly> | }}</includeonly> | ||
+ | |||
+ | <noinclude>__NOTOC__ | ||
+ | ==Benutzung== | ||
+ | Diese Vorlage ermöglicht es einen zufälligen Artikel auf einer Wiki-Seite einzubinden. | ||
+ | |||
+ | ==Kopiervorlage== | ||
+ | <pre><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></pre> | ||
+ | |||
+ | </noinclude> |
Version vom 23. Mai 2024, 08:43 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>