Template:AAType: Difference between revisions

From Asian Canadian Wiki
Jump to navigation Jump to search
No edit summary
No edit summary
 
(13 intermediate revisions by the same user not shown)
Line 4: Line 4:
</noinclude><includeonly>
</noinclude><includeonly>
<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|}} }}{{#vardefine: otherlange|{{#replace: {{FULLPAGENAMEE}}|/fr|}} }}
|[[Category:Pages françaises]]{{ #vardefine: lang|fr}}{{#vardefine: otherlang|{{#replace: {{FULLPAGENAME}}|/fr|}} }}{{#vardefine: otherlange|{{#replace: {{FULLPAGENAMEE}}|/fr|}} }}
Line 14: Line 15:
}}
}}
{{ #if: {{{Image|}}} |
{{ #if: {{{Image|}}} |
{{ #set:Image={{{Image|}}} }}
{{ #set:Image={{{Image}}} }}
{{ #ifeq: {{#titleparts: {{{Image}}} }}|Http:
{{ #ifeq: {{#titleparts: {{{Image}}} }}|Http:
|{{{Image}}}
|{{{Image}}}
|[[File:{{{Image}}}|200px|thumb|{{PAGENAME}}]]
|[[File:{{{Image}}}|200px|thumb|{{PAGENAME}}]]
}}
}}
| }}
|[[Category:Profiles with no image]] }}
{{ #if: {{{Featured|}}}|[[Category:Featured]]'''Featured'''}}{{ #set: Featured={{{Featured|}}} }}
<br class="cleared" />
<br class="cleared" />
{{ #ask: [[Category:Event]][[People::{{PAGENAME}}]]
|?Start date
|?End date
|?Location
|format=template
|template=Event item
|intro=<div style="background-color: #aaf; padding: 5px"><h2>Events with {{PAGENAME}}</h2>'''Please verify event details with the organizer'''</div>
}}
{{#forminput:form=Event|||button text=Add an event|query string=Event[People]={{PAGENAME}}&Event[Arts]={{{Arts}}}|}}
</div>
</div>


Line 56: Line 48:
<span class="hidden">{{#arraymap:{{{Aspects}}}|,|x|[[Aspects::x]] |<nowiki> </nowiki>}}</span>
<span class="hidden">{{#arraymap:{{{Aspects}}}|,|x|[[Aspects::x]] |<nowiki> </nowiki>}}</span>
| }}
| }}
{{ #ask: [[Category:Book]][[Author::{{PAGENAME}}]]
|intro=<h2>Published books</h2>
|mainlabel=Title
|?Extended title
|?Year of Publication
|sort=Year of Publication
}}
{{ #ask: [[Category:Film]][[Producer::{{PAGENAME}}]] OR [[Director::{{PAGENAME}}]]
|intro=<h2>Films</h2>
|mainlabel=Title
|?Description
|?Year
|sort=Year
}}
__TOC__
__TOC__
</includeonly>
</includeonly>

Latest revision as of 12:36, 4 August 2015

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