Sjabloon:Show articles in overview: verschil tussen versies
Uit Auditpedia
Regel 26: | Regel 26: | ||
-->{{#vardefine:@articles|{{#ask: [[Class::Article]] [[Portal::{{{Portal|}}}]] |format=list |link=none}} }}<!-- | -->{{#vardefine:@articles|{{#ask: [[Class::Article]] [[Portal::{{{Portal|}}}]] |format=list |link=none}} }}<!-- | ||
− | + | -->{{#if: {{#var:@articles}}<!-- | |
− | -->{{#if: {{#var:@articles}} | + | -->|<li class="article-list-item">{{#var:@articles}}</li><!-- |
− | + | -->|}}<!-- | |
− | |||
− | --> | ||
--></includeonly> | --></includeonly> |
Versie van 13 apr 2022 16:45
This is the Show articles in overview template.
Dependent on: - Article page - Article portal - Article subportal WIP
Used on template: Template:Show portals in articles overview
It should be called like:
{{#ask: [[Class::Article]] [[Portal::@@@]] [[QUERY]] |?=Page |?Portal |format=template |template=Show articles in overview |named args=Yes |link=none }}