Aug 2010 Semantic Mediawiki intro: Difference between revisions

From zooid Wiki
Jump to navigation Jump to search
Line 1: Line 1:
<noinclude>
{{SH_Rev|3489|20100618230059|User:David Mason|Template:AAType}}
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 18:13, 26 August 2010