DavidM/20100614: Difference between revisions
Jump to navigation
Jump to search
(Created page with 'I don't like talking about myself, but after I was chastised for simply describing myself as a "big nerd," I decided to try to summarize some current interests for people I've me…') |
No edit summary |
||
Line 1: | Line 1: | ||
<noinclude> | |||
This is the "AAType" template. | |||
It should be used with the form. | |||
</noinclude><includeonly> | |||
<div | {{ #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> | </div> | ||
| }} | |||
{{ #if: {{{Location|}}} | | |||
{{#arraymap:{{{Location}}}|,|x|[[Category:x]] |<nowiki> </nowiki>}}{{ #set:GPS Location={{ #geocode: {{{Location}}}, Canada }} }} | |||
<!-- {{#arraymap:{{{Location}}}|,|x|[[Location::x]] |<nowiki> </nowiki>}} --> | |||
| }} | |||
{{ #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 15:43, 14 June 2010
This is the "AAType" template. It should be used with the form.