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 }}|Version français
{{ #ifeq: {{ #titleparts: {{FULLPAGENAME}} | -1 }}|Version français
|{{ #vardefine: lang|fr}}[[Category:Pages françaises]]
|{{ #vardefine: lang|fr}}{{#vardefine: otherlang|{{#replace: {{FULLPAGENAME}}|/fr|}} }}[[Category:Pages françaises]]
|{{#vardefine:lang|en}}[[Category:English pages]]
|{{#vardefine:lang|en}}[[Category:English pages]]{{#vardefine: otherlang|{{FULLPAGENAME}}/fr }}
}}
}}


Line 13: Line 13:
<div style="float: right; width: 230px; padding: 1em">
<div style="float: right; width: 230px; padding: 1em">
{{ #ifeq: {{ #var: lang}}|en
{{ #ifeq: {{ #var: lang}}|en
|{{ #ifexist: {{FULLPAGENAME}}/fr|[[{{FULLPAGENAME}}/fr|fr]]|[http://www.asiancanadianwiki.org/w/Special:FormEdit/AAType/{{FULLPAGENAMEE}}/fr?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] }}
|
|{{ #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] }}
}}
}}
{{ #if: {{{Image|}}} |
{{ #if: {{{Image|}}} |

Revision as of 20:30, 26 October 2012

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