GATE track 1 session: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
|||
Line 1: | Line 1: | ||
<noinclude> | |||
This is the "AAType" template. | |||
It should be used with the form. | |||
</noinclude><includeonly> | |||
{{ #if: {{{Image|}}} | | |||
{{ #set:Image={{{Image|}}} }} | |||
[[File:{{{Image}}}|200px|thumb|left|{{PAGENAME}}]] | |||
| }} | |||
{{ #if: {{{Home page|}}} | | |||
<div class="tpldiv"><span class="tpllabel">Home page</span> | |||
<span class="tblvalue">[[Home page::{{{Home page|}}}]]</span> | |||
</div> | |||
| }} | |||
{{ #if: {{{Location|}}} | | |||
{{#arraymap:{{{Location}}}|,|x|[[Category:x]] |<nowiki> </nowiki>}} | |||
{{#arraymap:{{{Location}}}|,|x|[[Location::x]] |<nowiki> </nowiki>}} | |||
[[GPS Location::{{ #geocode:{{{Location}}}, Canada}}]] | |||
| }} | |||
{{ #if: {{{Arts|}}} | | |||
{{#arraymap:{{{Arts}}}|,|x|[[Category:x]] |<nowiki> </nowiki>}} | |||
<!-- {{#arraymap:{{{Arts}}}|,|x|[[Arts::x]] |<nowiki> </nowiki>}} --> | |||
| }} | |||
{{ #if: {{{Type|}}} | | |||
{{#arraymap:{{{Type}}}|,|x|[[Category:x]] |<nowiki> </nowiki>}} | |||
<!-- {{#arraymap:{{{Type}}}|,|x|[[Type::x]] |<nowiki> </nowiki>}} --> | |||
| }} | |||
{{ #if: {{{Aspects|}}} | | |||
{{#arraymap:{{{Aspects}}}|,|x|[[Category:x]] |<nowiki> </nowiki>}} | |||
<!-- {{#arraymap:{{{Aspects}}}|,|x|[[Aspects::x]] |<nowiki> </nowiki>}} --> | |||
| }} | |||
[[ | {{ #ask: [[Category:Event]][[People::{{PAGENAME}}]] | ||
|?Start date | |||
|?End date | |||
|?Location | |||
|intro=<h2>Events with {{PAGENAME}}</h2> | |||
}} | |||
{{#forminput:form=Event|||button text=Add an event|query string=Event[People]={{PAGENAME}}&Event[Arts]={{{Arts}}}|}} | |||
= | <br class="cleared" /> | ||
</includeonly> | |||
Revision as of 14:37, 3 September 2010
This is the "AAType" template. It should be used with the form.