Template:Languages/Lang
From Gospel Translations
(Difference between revisions)
Line 7: | Line 7: | ||
[[:{{NAMESPACE}}:{{BASEPAGENAME}}/{{{1}}}|{{#language:{{{1}}}}}]]}}</span>|<span></span>}}</nowiki></noinclude> | [[:{{NAMESPACE}}:{{BASEPAGENAME}}/{{{1}}}|{{#language:{{{1}}}}}]]}}</span>|<span></span>}}</nowiki></noinclude> | ||
- | <includeonly>{{#ifexist: {{#if: {{{2|}}} | {{{2}}} | {{#if: {{NAMESPACE}} | {{NAMESPACE}}:}}{{BASEPAGENAME}}}}/{{{1}}} | • <span lang="{{{1}}}">{{#if: {{{2|}}}|[[{{{2}}}/{{{1}}}|{{#language:{{{1}}}}}]]| [[:{{NAMESPACE}}:{{BASEPAGENAME}}/{{{1}}}|{{#language:{{{1}}}}}]]}}</span>|<span></span>}}</includeonly> | + | <includeonly>{{#ifexist: {{#if: {{{2|}}} | {{{2}}} |{{#if:{{NAMESPACE}}|{{NAMESPACE}}:}}{{BASEPAGENAME}}}}/{{{1}}} | • <span lang="{{{1}}}">{{#if:{{{2|}}}|[[{{{2}}}/{{{1}}}|{{#language:{{{1}}}}}]]|[[:{{NAMESPACE}}:{{BASEPAGENAME}}/{{{1}}}|{{#language:{{{1}}}}}]]}}</span>|<span></span>}}</includeonly> |
Revision as of 14:58, 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 lang="{{{1}}}"> {{#if: {{{2|}}}|[[{{{2}}}/{{{1}}}|{{#language:{{{1}}}}}]]| [[:{{NAMESPACE}}:{{BASEPAGENAME}}/{{{1}}}|{{#language:{{{1}}}}}]]}}</span>|<span></span>}}