« Oniropædia:Bac à sable » : différence entre les versions

De Oniropædia
Aller à la navigationAller à la recherche
(test sans nommage)
(test mix)
Ligne 21 : Ligne 21 :
{{ test | foo2_bar=a | foo1_bar=b | a=12 | 6 |foo4_bar=c }}
{{ test | foo2_bar=a | foo1_bar=b | a=12 | 6 |foo4_bar=c }}


==== Personen template with named parameters ====
==== Personen template with numbered parameters ====


  <nowiki>{{Personen|3=Jailing|1=Xiloynaha|2=Ygonaar}}</nowiki>
  <nowiki>{{Personen|3=Jailing|1=Xiloynaha|2=Ygonaar}}</nowiki>
Ligne 27 : Ligne 27 :
{{Personen|3=Jailing|1=Xiloynaha|2=Ygonaar}}
{{Personen|3=Jailing|1=Xiloynaha|2=Ygonaar}}


==== Personen template ====
==== Personen template without numbers ====


  <nowiki>{{Personen|Jailing|Xiloynaha|Ygonaar}}</nowiki>
  <nowiki>{{Personen|Xiloynaha|Jailing|Ygonaar}}</nowiki>


{{Personen|Jailing|Xiloynaha|Ygonaar}}
{{Personen|Xiloynaha|Jailing|Ygonaar}}
 
==== Personen template (mix) ====
 
<nowiki>{{Personen|2=Jailing|Xiloynaha|Ygonaar}}</nowiki>
 
{{Personen|Jailing|1=Xiloynaha|2=Ygonaar}}

Version du 23 octobre 2008 à 18:58

for

{{#for:5|* a $n$
}}
  • a 1
  • a 2
  • a 3
  • a 4
  • a 5


foreach (template)

1

{{test|foo1_bar=b}}


foo1_bar = b

2

{{ test | foo2_bar=a | foo1_bar=b | a=12 | 6 |foo4_bar=c }}


foo1_bar = b
foo2_bar = a

Personen template with numbered parameters

{{Personen|3=Jailing|1=Xiloynaha|2=Ygonaar}}

Xiloynaha Ygonaar Jailing

Personen template without numbers

{{Personen|Xiloynaha|Jailing|Ygonaar}}

Xiloynaha Jailing Ygonaar

Personen template (mix)

{{Personen|2=Jailing|Xiloynaha|Ygonaar}}

Xiloynaha Ygonaar