Difference between revisions of "Template:Attendee"

From Electromagnetic Field
Jump to navigation Jump to search
(syntax)
 
(46 intermediate revisions by 4 users not shown)
Line 1: Line 1:
<noinclude>If you want to edit, please edit your userpage.</noinclude><includeonly>{| style="float: right; margin: 0 0 10px 10px; width: 269px; border-radius: 8px; background-color: #F9F9F9;border: 1px solid #AAAAAA;font-size: 95%;padding: 5px;"
+
<includeonly>{| style="float: right; margin: 0 0 10px 10px; width: 269px; border-radius: 8px; background-color: #F9F9F9;border: 1px solid #AAAAAA;font-size: 95%;padding: 5px;"
 
|- style="text-align:center; background-color:#5E93CE; color: white; font-size: 120%"
 
|- style="text-align:center; background-color:#5E93CE; color: white; font-size: 120%"
! colspan=2| '''Attendee: {{#if:{{{name|}}}|[[Name::{{{name}}}|{{{name}}}]]|Anonymous}}'''
+
! colspan=2| '''{{#if:{{{Name|}}}|[[Attendee_Name::{{{Name}}}|{{{Name}}}]]|{{PAGENAME}}}}'''[[Login::{{PAGENAME}}| ]]
 
|-
 
|-
! colspan=2| [[User_talk:{{PAGENAME}}|Talk]] ~ [[User:{{PAGENAME}}/Sandbox|Sandbox]] ~ [[Special:Contributions/{{PAGENAME}}|Contributions]]
+
! colspan=2| {{GetImage|User-{{PAGENAME}}}}
{{#if:{{{village|}}}|{{InfoboxAddrow|rowlabel=Village}}{{#arraymap:{{{village|}}}|,|qwerty|[[Inhabitant of::Villages:qwerty|qwerty]] }}|}}
+
|-
{{#if:{{{Bringing|}}}|{{InfoboxAddrow|rowlabel=Bringing}}[[Bringing::{{{Bringing}}}]]|}}
+
! colspan=2| [[User_talk:{{PAGENAME}}|Talk]] ~ [[User:{{PAGENAME}}/Sandbox|Sandbox]] ~ [[Special:Contributions/{{PAGENAME}}|Contributions]]{{#if:{{{Village|}}}|<nowiki></nowiki>
{{#if:{{{Arrival|}}}|{{InfoboxAddrow|rowlabel=Arrival}}[[Arrival::{{{Arrival}}}| ]]{{{Arrival}}}|}}
+
{{InfoboxAddrow|rowlabel=Village}}{{#arraymap:{{{Village|}}}|,|qwerty|[[Inhabitant of::Village:qwerty| ]][[Village:qwerty|qwerty]]}}|}}{{#if:{{{Bringing|}}}|<nowiki></nowiki>
{{#if:{{{Departure|}}}|{{InfoboxAddrow|rowlabel=Departure}}[[Departure::{{{Departure}}}| ]]{{{Departure}}}|}}
+
{{InfoboxAddrow|rowlabel=Bringing}}[[Bringing::{{{Bringing}}}|]]{{{Bringing}}}|}}{{#if:{{{Arrival|}}}|<nowiki></nowiki>
{{InfoboxSubtitle|SubTitle=Contact}}
+
{{InfoboxAddrow|rowlabel=Arrival}}[[Arrival::{{{Arrival}}}|]]{{{Arrival}}}|}}{{#if:{{{Departure|}}}|<nowiki></nowiki>
{{#if:{{{language|}}}|{{InfoboxAddrow|rowlabel=Language}}{{#arraymap:{{{language|}}}|,|x|[[Language::x]]}} }}
+
{{InfoboxAddrow|rowlabel=Departure}}[[Departure::{{{Departure}}}|]]{{{Departure}}}|}}
{{#if:{{{email|}}}|{{InfoboxAddrow|rowlabel=Email}}[[email::{{{email}}}| ]][mailto:{{{email}}} {{{email}}}]|}}
+
{{InfoboxSubtitle|SubTitle=Contact}}{{#if:{{{Language|}}}|<nowiki></nowiki>
{{#if:{{{IRC|}}}|{{InfoboxAddrow|rowlabel=IRC}}[[IRC::{{{IRC}}}| ]]{{{IRC}}}|}}
+
{{InfoboxAddrow|rowlabel=Language}}{{#arraymap:[[attendee_language::{{{Language|}}}]]|,|x|[[Language::x| ]]x }}}}{{#if:{{{Website|}}}|<nowiki></nowiki>
{{#if:{{{Twitter|}}}|{{InfoboxAddrow|rowlabel=Twitter}}[http://www.twitter.com/{{{Twitter}}} @{{{Twitter}}}]|}}
+
{{InfoboxAddrow|rowlabel=Website}}[[website::{{{Website}}}| ]][http://{{{Website}}} {{{Website}}}]|}}{{#if:{{{Email|}}}|<nowiki></nowiki>
{{#if:{{{teams|}}}|{{InfoboxSubtitle|SubTitle=Teams}}
+
{{InfoboxAddrow|rowlabel=Email}}[[email::{{{Email}}}| ]][mailto:{{{Email}}} {{{Email}}}]|}}{{#if:{{{IRC|}}}|<nowiki></nowiki>
 +
{{InfoboxAddrow|rowlabel=IRC}}[[IRC::{{{IRC}}}| ]]{{{IRC}}}|}}{{#if:{{{Twitter|}}}|<nowiki></nowiki>
 +
{{InfoboxAddrow|rowlabel=Twitter}}[http://www.twitter.com/{{{Twitter}}} @[[attendee_twitter::{{{Twitter}}}]]]|}}{{#if:{{{Teams|}}}|<nowiki></nowiki>
 +
{{InfoboxSubtitle|SubTitle=Teams}}
 
{{!}}-
 
{{!}}-
{{#arraymaptemplate:{{{teams}}}|Team_Member|,|}}  }}
+
{{#arraymaptemplate:{{{Teams}}}|Team_Member|,|}}  }}
 
|}
 
|}
 
{{#default_form:Attendee}}
 
{{#default_form:Attendee}}
 +
<div style="position:fixed; top:10042px; right:11337px;">This is a hack to store some extra properties which are not visible on the page. This cannot be done with HTML comments, since they are stripped out on rendering the wiki syntax. [[AttendeePagename::{{PAGENAME}}]][[HomeSpace::{{{HomeSpace|}}}]][[SleepingWith::{{{SleepingWith|}}}]] </div>
 
[[Category:Attendee|{{SUBPAGENAME}}]]</includeonly><noinclude>
 
[[Category:Attendee|{{SUBPAGENAME}}]]</includeonly><noinclude>
 
+
The easiest way to use this template is to go to your userpage (click your username at the top of the page) then click 'Edit with Form'.
<font color=red>Don't panic.</font> Lazy people just <nowiki>{{Attendee}}</nowiki> to their userpage.
 
 
 
Afterwards click 'Edit with form' on top of the page and click the default image for the page where to upload your picture. (will be implemented later)
 
 
 
== Tech support ==
 
This form is used in the following way:
 
<pre><nowiki>
 
{{Attendee
 
| name = Matt Taylor
 
| village = High_Altitude_Ballooning
 
| Bringing = 4-man tent, flying wing, quadcopter, KAP
 
| Departure = 2014/08/31 20:00:00 GMT
 
}}
 
</nowiki></pre>
 
 
</noinclude>
 
</noinclude>

Latest revision as of 00:26, 3 August 2016

The easiest way to use this template is to go to your userpage (click your username at the top of the page) then click 'Edit with Form'.