Vorlage:Status: Unterschied zwischen den Versionen

Aus Afterbuy-Wiki
Wechseln zu:Navigation, Suche
Zeile 1: Zeile 1:
{{#vardefine:stateClass| {{#ifright:edit|d-inline-block|d-none}} }}
+
{{Hide|{{#vardefine:stateClass| {{#ifright:edit|d-inline-block|d-none}} }}
 
<phptag>
 
<phptag>
 
$status="WIP";
 
$status="WIP";
Zeile 11: Zeile 11:
 
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>
 
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:User-'.$user.']]</includeonly>';
 
<includeonly>[[Category:Status-'.$status.']]</includeonly><includeonly>[[Category:User-'.$user.']]</includeonly>';
</phptag>
+
</phptag>|status}}

Version vom 3. August 2021, 13:59 Uhr