ubuntuusers.de

Vorlage Abstimmung

Autor:
cornix
Datum:
20. Dezember 2014 12:25
Code:
 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
## Vorlage zum Darstellen von Stand oder Ergebnis einer Abstimmung
## 
## {{{#!vorlage Abstimmung,
## Stand
## +++
## Spielereien mit der Vorlagensyntax
## +++
## user
## user2
## cornix
## +++
## foo
## bar
## }}}


<@ for $arg in $arguments split_by '
+++
' @>
<@ if $loop.first @>
{{|<title="
<@ $arg @> 
<@ elseif $loop.index == 2 @>
der Abstimmung zum Thema" class="box notice">''<@ $arg @>''

<@ elseif $loop.index == 3 @>
Dafür: 
<@ for $attr in $arg split_by '
' @>
[user:<@ $attr @>:] (<@ $loop.index @>) 
<@ endfor @>
<@ elseif $loop.index == 4 @>

Dagegen:
<@ for $attr in $arg split_by '
' @>
[user:<@ $attr @>:] (<@ $loop.index @>) 
<@ endfor @>
<@ endif @>
<@ endfor @>
|}}