Difference between revisions of "Template:Event"
Andy Brooks (talk | contribs) |
Andy Brooks (talk | contribs) |
||
Line 3: | Line 3: | ||
{{#if:{{{title|}}}|[[Title::{{{title}}}|]]|[[Title::{{PAGENAME}}|]] }} | {{#if:{{{title|}}}|[[Title::{{{title}}}|]]|[[Title::{{PAGENAME}}|]] }} | ||
{{#if:{{{Mainurl|}}}|[[Mainurl::{{{Mainurl}}}|]] | }} | {{#if:{{{Mainurl|}}}|[[Mainurl::{{{Mainurl}}}|]] | }} | ||
− | {{#if:{{{EventType|}}}|{{#arraymap:{{{EventType | + | {{ #if: {{{EventType|}}} | {{#arraymap:{{{EventType}}}|,|x|[[EventType::x| ]] | }} }} |
{{#if:{{{date|}}}|[[Date::{{{date}}}|]]| }} | {{#if:{{{date|}}}|[[Date::{{{date}}}|]]| }} | ||
{{#if:{{{Location|}}} | [[Location::{{{Location}}}| ]] | }} | {{#if:{{{Location|}}} | [[Location::{{{Location}}}| ]] | }} | ||
− | {{ #if: {{{EventCategory|}}} | {{#arraymap:{{{EventCategory}}}|,|x|[[ | + | {{ #if: {{{EventCategory|}}} | {{#arraymap:{{{EventCategory}}}|,|x|[[EventCategory::x| ]] | }} }} |
{{#if:{{{Attendance|}}}|[[Attendance::{{{Attendance}}}|]]| }} | {{#if:{{{Attendance|}}}|[[Attendance::{{{Attendance}}}|]]| }} | ||
− | {{#if:{{{User|}}}|{{#arraymap:{{{User}}}|,|x|[[User: | + | {{ #if: {{{User|}}} | {{#arraymap:{{{User}}}|,|x|[[User::x| ]] | }} }} |
[[Category:Event]] | [[Category:Event]] | ||
</includeonly> | </includeonly> |