User:Goraf/Plugin: Difference between revisions
Jump to navigation
Jump to search
(Template:Plugin language support - first approach) |
(p1 - more exact comment) |
||
(5 intermediate revisions by the same user not shown) | |||
Line 4: | Line 4: | ||
|{{ | |{{ | ||
#ifeq: {{BASEPAGENAME}} | {{SUBPAGENAME}} | #ifeq: {{BASEPAGENAME}} | {{SUBPAGENAME}} | ||
| | |{{ <!-- "p1" - language parameter for Template:While --> | ||
#if: {{{p1|}}} | |||
| {{{1}}}/{{{p1}}} {{!}}{{{1}}} | |||
| {{{2}}}/{{{1}}} {{!}}{{{2}}} | |||
}} | |||
|{{ | |{{ | ||
#ifeq: {{#len:{{SUBPAGENAME}} }} | 2 | #ifeq: {{#len:{{SUBPAGENAME}} }} | 2 | ||
| {{{1}}}/{{SUBPAGENAME}} {{!}}{{ | | {{{1}}}/{{SUBPAGENAME}} {{!}}{{ | ||
#if {{{2|}}} | #if: {{{2|}}} | ||
|{{{2}}} | |{{{2}}} | ||
|{{{1}}} | |{{{1}}} | ||
}} | }} | ||
| | |{{ <!-- "p1" - language parameter for Template:While --> | ||
#if: {{{p1|}}} | |||
| {{{1}}}/{{{p1}}} {{!}}{{{1}}} | |||
| {{{2}}}/{{{1}}} {{!}}{{{2}}} | |||
}} | |||
}} | }} | ||
}} | }} |
Latest revision as of 23:44, 9 April 2013