Template:AAType: Difference between revisions

From Asian Canadian Wiki
Jump to navigation Jump to search
No edit summary
No edit summary
Line 3: Line 3:
It should be used with the form.
It should be used with the form.
</noinclude><includeonly>
</noinclude><includeonly>
<div style="display: none">
<div style="display: none">{{ #titleparts: {{FULLPAGENAME}} | -1 }}
{{ #ifeq: {{ #titleparts: {{FULLPAGENAME}} | -1 }}|fr
{{ #ifeq: {{ #titleparts: {{FULLPAGENAME}} | -1 }}|fr
|{{ #vardefine: lang|fr}}{{#vardefine: otherlang|{{#replace: {{FULLPAGENAME}}|/fr|}} }}[[Category:Pages françaises]]
|[[Category:Pages françaises]]{{ #vardefine: lang|fr}}{{#vardefine: otherlang|{{#replace: {{FULLPAGENAME}}|/fr|}} }}
|{{#vardefine:lang|en}}[[Category:English pages]]{{#vardefine: otherlang|{{FULLPAGENAME}}/fr }}
|[[Category:English pages]]{{#vardefine:lang|en}}{{#vardefine: otherlang|{{FULLPAGENAME}}/fr }}
}}
}}
 
</div><div style="float: right; width: 230px; padding: 1em">
</div>
 
<div style="float: right; width: 230px; padding: 1em">
{{ #ifeq: {{ #var: lang}}|en
{{ #ifeq: {{ #var: lang}}|en
|{{ #ifexist: {{#var: otherlang}}|[[{{#var: otherlang}}|Version français]]|[http://www.asiancanadianwiki.org/w/Special:FormEdit/AAType/{{#var: otherlang}}?AAType%5BImage%5D={{ #replace:{{{Image|}}}| |_}} Créer la version française] }}
|{{ #ifexist: {{#var: otherlang}}|[[{{#var: otherlang}}|Version français]]|[http://www.asiancanadianwiki.org/w/Special:FormEdit/AAType/{{#var: otherlang}}?AAType%5BImage%5D={{ #replace:{{{Image|}}}| |_}} Créer la version française] }}

Revision as of 20:37, 26 October 2012

This is the "AAType" template. It should be used with the form.