Vorlage:Status: Unterschied zwischen den Versionen

Aus Afterbuy-Wiki
Wechseln zu:Navigation, Suche
Zeile 9: Zeile 9:
 
   }
 
   }
 
}
 
}
echo '<indicator name="{{#var:status}}"><span class="h3 bg-warning p-2 rounded font-weight-bold text-dark {{#var:stateClass}}"><i class="fas fa-info-circle text-danger"></i> [[:Category:Status-'.$status.'|'.$status.']] '.$user.'</span></indicator>
+
echo '<indicator name="{{#var:status}}"><span class="h3 bg-warning p-2 rounded font-weight-bold text-dark {{#var:stateClass}}"><i class="fas fa-info-circle text-danger"></i> [[:Category:Status-'.$status.'|'.$status.']] [[:Category:User-'.$user.'|'.$user.']]</span></indicator>
<includeonly>[[Category:Status-'.$status.']]</includeonly>';
+
<includeonly>[[Category:Status-'.$status.']]</includeonly><includeonly>[[Category:User-'.$user.']]</includeonly>';
 
</phptag>
 
</phptag>

Version vom 26. Juli 2021, 08:56 Uhr