Template:AAType: Difference between revisions

From Asian Canadian Wiki
Jump to navigation Jump to search
No edit summary
No edit summary
Line 5: Line 5:
<div style="display: none">
<div style="display: none">
{{ #ifeq: {{ #titleparts: {{FULLPAGENAME}}|1|-1}}|fr
{{ #ifeq: {{ #titleparts: {{FULLPAGENAME}}|1|-1}}|fr
|[[Category:Pages françaises]]{{ #vardefine: lang|fr}}{{#vardefine: otherlang|{{#replace: {{FULLPAGENAME}}|/fr|}} }}
|[[Category:Pages françaises]]{{ #vardefine: lang|fr}}{{#vardefine: otherlang|{{#replace: {{FULLPAGENAME}}|/fr|}} }}{{#vardefine: otherlange|{{#replace: {{FULLPAGENAMEE}}|/fr|}} }}
|[[Category:English pages]]{{#vardefine:lang|en}}{{#vardefine: otherlang|{{FULLPAGENAME}}/fr }}
|[[Category:English pages]]{{#vardefine:lang|en}}{{#vardefine: otherlang|{{FULLPAGENAME}}/fr }}{{#vardefine: otherlange|{{FULLPAGENAMEE}}/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: otherlange}}?AAType%5BImage%5D={{ #replace:{{{Image|}}}| |_}} Créer la version française] }}
|{{ #ifexist: {{#var: otherlang}}|[[{{#var: otherlang}}|English version]]|[http://www.asiancanadianwiki.org/w/Special:FormEdit/AAType/{{#var: otherlang}}?AAType%5BImage%5D={{ #replace:{{{Image|}}}| |_}} Create the English version] }}
|{{ #ifexist: {{#var: otherlang}}|[[{{#var: otherlang}}|English version]]|[http://www.asiancanadianwiki.org/w/Special:FormEdit/AAType/{{#var: otherlange}}?AAType%5BImage%5D={{ #replace:{{{Image|}}}| |_}} Create the English version] }}
}}
}}
{{ #if: {{{Image|}}} |
{{ #if: {{{Image|}}} |

Revision as of 20:56, 26 October 2012

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