Template:Swadesh: Difference between revisions

Jump to navigation Jump to search
Fixing collapsability.
m (Undo revision 25753 by Pá mamūnám ontā́ bán (talk))
(Fixing collapsability.)
Line 1: Line 1:
{{#vardefine:ename|}}{{#vardefine:nname|}}{{#if:{{{nativename|}}}|{{#ifeq:{{{nativename|}}}|{{{language|}}}||{{#vardefine:nname|[[{{{nativename}}}]]}}}}}}{{#if:{{{language|}}}|{{#vardefine:ename|[[{{{language|}}}]]}}}}
{{#vardefine:ename|}}{{#vardefine:nname|}}{{#if:{{{nativename|}}}|{{#ifeq:{{{nativename|}}}|{{{language|}}}||{{#vardefine:nname|[[{{{nativename}}}]]}}}}}}{{#if:{{{language|}}}|{{#vardefine:ename|[[{{{language|}}}]]}}}}
<table class="bluetable lightbluebg collapsible collapsed">
<table class="mw-collapsed mw-collapsible bluetable lightbluebg">
<tr>
<tr>
<th>'''No.'''</th>
<th>'''No.'''</th>
<th>[[wikipedia:English language|English]]</th>
<th>[[wikipedia:English language|English]]</th>
{{#vardefine:languagecount|1}}{{#vardefine:temp|{{{language|}}}}}{{#vardefine:delpos|{{#pos:{{#var:temp}}|;}}}}
{{#vardefine:languagecount|1}}{{#vardefine:temp|{{{language|{{PAGENAME}}}}}}}{{#vardefine:delpos|{{#pos:{{#var:temp}}|;}}}}
{{#while:
{{#while:
| {{#if:{{#var:delpos}}|true}}
| {{#if:{{#var:delpos}}|true}}
Line 12: Line 12:
{{#vardefine:delpos|{{#pos:{{#var:temp}}|;}}}}
{{#vardefine:delpos|{{#pos:{{#var:temp}}|;}}}}
}}
}}
{{#if:{{{language|}}}|
{{#if:{{{language|{{PAGENAME}}}}}|
{{#vardefine:i|0}}
{{#vardefine:i|0}}
{{#while:
{{#while:
| {{#ifeq:{{#var:i}}|{{#var:languagecount}}||true}}
| {{#ifeq:{{#var:i}}|{{#var:languagecount}}||true}}
|<nowiki/>
|<nowiki/>
<th>[[{{#explode:{{{language|}}}|;|{{#var:i}}}}]]</th>
<th>[[{{#explode:{{{language|{{PAGENAME}}}}}|;|{{#var:i}}}}]]</th>
{{#vardefine:i|{{#expr:{{#var:i}}+1}}}}
{{#vardefine:i|{{#expr:{{#var:i}}+1}}}}
}}
}}
3,197

edits

Navigation menu