Difference between revisions of "Template:ManualLanguageSelector"
From Wildermyth Wiki
| Line 1: | Line 1: | ||
<includeonly><div class="lang-switch"> | <includeonly><div class="lang-switch"> | ||
'''Langues :''' | |||
<ul> | <ul> | ||
{{# | |||
{{#if: {{{fr|}}} | <li>[[{{BASEPAGENAME}}/fr|Français]]</li> }} | {{#ifeq: {{SUBPAGENAME}} | {{PAGENAME}} | ||
| | |||
| <li>[[{{BASEPAGENAME}}|English]]</li> | |||
}} | |||
<!-- French, optional --> | |||
{{#if: {{{fr|}}} | | |||
{{#ifeq: {{SUBPAGENAME}} | fr | |||
| | |||
| <li>[[{{BASEPAGENAME}}/fr|Français]]</li> | |||
}} | |||
}} | |||
</ul> | </ul> | ||
</div> | </div>/includeonly><noinclude> | ||
{{ManualLanguageSelector/doc}} | {{ManualLanguageSelector/doc}} | ||
<!-- Add categories and interwikis to the /doc subpage, not here! --> | <!-- Add categories and interwikis to the /doc subpage, not here! --> | ||
</noinclude> | </noinclude> | ||