Template:Languages/Lang
From Gospel Translations
(Difference between revisions)
m |
|||
Line 3: | Line 3: | ||
Code: | Code: | ||
<nowiki>{{#ifexist: {{#if: {{{2|}}} | {{{2}}} | {{#if: {{NAMESPACE}} | | <nowiki>{{#ifexist: {{#if: {{{2|}}} | {{{2}}} | {{#if: {{NAMESPACE}} | | ||
- | {{NAMESPACE}}:}}{{BASEPAGENAME}}}}/{{{1}}} | • <span lang="{{{1}}}"> | + | {{NAMESPACE}}:}}{{BASEPAGENAME}}}}/{{{1}}} | • <span style="width: 1px" lang="{{{1}}}"> |
{{#if: {{{2|}}}|[[{{{2}}}/{{{1}}}|{{#language:{{{1}}}}}]]| | {{#if: {{{2|}}}|[[{{{2}}}/{{{1}}}|{{#language:{{{1}}}}}]]| | ||
[[:{{NAMESPACE}}:{{BASEPAGENAME}}/{{{1}}}|{{#language:{{{1}}}}}]]}}</span>|<span></span>}}</nowiki> | [[:{{NAMESPACE}}:{{BASEPAGENAME}}/{{{1}}}|{{#language:{{{1}}}}}]]}}</span>|<span></span>}}</nowiki> |
Revision as of 15:33, 5 September 2007
This page will not display anything unless it is transcluded via the Languages template.
Code:
{{#ifexist: {{#if: {{{2|}}} | {{{2}}} | {{#if: {{NAMESPACE}} | {{NAMESPACE}}:}}{{BASEPAGENAME}}}}/{{{1}}} | • <span style="width: 1px" lang="{{{1}}}"> {{#if: {{{2|}}}|[[{{{2}}}/{{{1}}}|{{#language:{{{1}}}}}]]| [[:{{NAMESPACE}}:{{BASEPAGENAME}}/{{{1}}}|{{#language:{{{1}}}}}]]}}</span>|<span></span>}}