User:Davidgothberg/Test21
Testing {{main talk other}}
[edit]No parameter: ++++
Demospace = MAIN: ++++
1 = MM: ++++
1 = MM, 2 = "", 3 = "": ++++
1 = "", 2 = "", 3 = "": ++++
1 = MM, 2 = TT: ++++
1 = MM, 2 = TT, 3 = OO: ++OO++
ifeq:talk:
++It is not talk!++
ifeq:other: ++It is not other!++
1 = M M, 2 = T T, 3 = O O:
++O
O++
Testing with tables:
++
O1 | O2 |
++
Testing ifeq+tables:
main: ++++
talk: ++++
other: ++++
Testing ifeq+wikitables:
other: ++++
Testing hardcoded
[edit]Testing ifeq+NAMESPACE+TALKSPACE:
main: ++Not main space.++
talk: ++Not talk space.++
main talk other: ++Other space.++
main talk other, with tables, 01:
++
C1 | C2 |
++
main:
++Not main space.++
main talk other, with tables, 02:
++
C1 | C2 |
++
main talk other, 03:
other
Testing {{main talk other flex}}
[edit]No parameter: ++++
Demospace = MAIN: ++++
1 = MM: ++++
1 = MM, 2 = TT: ++++
1 = MM, 2 = TT, 3 = OO: ++OO++
Testing if etc
[edit]If: b
Ifeq: b
If with escaped wikitable 01:
C1 | C2 |
If with non-escaped wikitable 02:
{
Switch with non-escaped wikitable 01:
{
If with HTML table 01:
C1 | C2 |
Testing with tables:
O1 |
Testing with numbers:
Three
Testing with ambox:
test |
Numbered but empty parameters:
Escaped wikitable as numbered parameter:
O1 | O2 |
Conclusion
[edit]Other if, ifeq, switch and templates do work inside if, ifeq and switch and can be fed as parameters to a template.
Unescaped wikitables do not work inside if, ifeq, switch and not as parameters to a template.
Escaped wikitables work and fail same as HTML tables.
HTML tables work inside if, ifeq and switch.
HTML tables that do not contain any "=" work as parameters to a template.
HTML tables that do contain "=" can be fed as numbered parameters to templates. Note that all parameters then should be numbered.
Testing demo messagebox
[edit]Testing {{User:Davidgothberg/Test22}}
[edit]No parameter: ++other++
Demospace = MAIN: ++main++
1 = MM: ++++
1 = MM, |||: ++++
1 = MM, 2 = TT: ++++
1 = MM, 2 = TT, ||: ++++
1 = MM, 2 = TT, 3 = "": ++++
1 = MM, 2 = TT, 3 = CC: ++CC++
1 = MM, 2 = TT, 3 = CC, 4 = OO: ++CC++
Demospace = MAIN, 1 = MM, 2 = TT, 3 = CC, 4 = OO: ++MM++
2 = TT: ++++
1 = |, 2 = TT: ++++
1 = |, 2 = TT, 3 = |, 4 = |: ++++
3 = CC: ++CC++
4 = OO: ++other++
2 = TT, 4 = CC: ++++