Template:Plugin: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
(language support; support for language with Template:While; backward compatibility; code cleaning) |
||
Line 1: | Line 1: | ||
<includeonly>[[Plugin:{{{1}}}{{#ifeq:{{BASEPAGENAME}} | {{SUBPAGENAME}} | | <includeonly>[[Plugin:{{ | ||
{{doc}}</noinclude> | #if: {{{3|}}} | ||
| {{{2}}}/{{{1}}} {{!}}{{{3}}} | |||
|{{ | |||
#ifeq: {{BASEPAGENAME}} | {{SUBPAGENAME}} | |||
|{{ <!-- "p1" - language parameter for Template:While --> | |||
#if: {{{p1|}}} | |||
| {{{1}}}/{{{p1}}} {{!}}{{{1}}} | |||
| {{{2}}}/{{{1}}} {{!}}{{{2}}} | |||
}} | |||
|{{ | |||
#ifeq: {{#len:{{SUBPAGENAME}} }} | 2 | |||
| {{{1}}}/{{SUBPAGENAME}} {{!}}{{ | |||
#if: {{{2|}}} | |||
|{{{2}}} | |||
|{{{1}}} | |||
}} | |||
|{{ <!-- "p1" - language parameter for Template:While --> | |||
#if: {{{p1|}}} | |||
| {{{1}}}/{{{p1}}} {{!}}{{{1}}} | |||
| {{{2}}}/{{{1}}} {{!}}{{{2}}} | |||
}} | |||
}} | |||
}} | |||
}}]]<nowiki/></includeonly><noinclude>{{doc}}</noinclude> |