Difference between revisions of "Template:Attendee"

From Electromagnetic Field
Jump to navigation Jump to search
(The AttendeePagename is used to link to the page by the user. It is added in a comment so it does not clutter anything.)
(syntax)
 
(10 intermediate revisions by 3 users not shown)
Line 1: Line 1:
 
<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| '''{{#if:{{{Name|}}}|[[Name::{{{Name}}}|{{{Name}}}]]|{{PAGENAME}}}}'''
+
! colspan=2| '''{{#if:{{{Name|}}}|[[Attendee_Name::{{{Name}}}|{{{Name}}}]]|{{PAGENAME}}}}'''[[Login::{{PAGENAME}}| ]]
 
|-
 
|-
 
! colspan=2| {{GetImage|User-{{PAGENAME}}}}
 
! colspan=2| {{GetImage|User-{{PAGENAME}}}}
Line 11: Line 11:
 
{{InfoboxAddrow|rowlabel=Departure}}[[Departure::{{{Departure}}}|]]{{{Departure}}}|}}
 
{{InfoboxAddrow|rowlabel=Departure}}[[Departure::{{{Departure}}}|]]{{{Departure}}}|}}
 
{{InfoboxSubtitle|SubTitle=Contact}}{{#if:{{{Language|}}}|<nowiki></nowiki>
 
{{InfoboxSubtitle|SubTitle=Contact}}{{#if:{{{Language|}}}|<nowiki></nowiki>
{{InfoboxAddrow|rowlabel=Language}}{{#arraymap:{{{Language|}}}|,|x|[[Language::x| ]]x }}}}{{#if:{{{Website|}}}|<nowiki></nowiki>
+
{{InfoboxAddrow|rowlabel=Language}}{{#arraymap:[[attendee_language::{{{Language|}}}]]|,|x|[[Language::x| ]]x }}}}{{#if:{{{Website|}}}|<nowiki></nowiki>
 
{{InfoboxAddrow|rowlabel=Website}}[[website::{{{Website}}}| ]][http://{{{Website}}} {{{Website}}}]|}}{{#if:{{{Email|}}}|<nowiki></nowiki>
 
{{InfoboxAddrow|rowlabel=Website}}[[website::{{{Website}}}| ]][http://{{{Website}}} {{{Website}}}]|}}{{#if:{{{Email|}}}|<nowiki></nowiki>
 
{{InfoboxAddrow|rowlabel=Email}}[[email::{{{Email}}}| ]][mailto:{{{Email}}} {{{Email}}}]|}}{{#if:{{{IRC|}}}|<nowiki></nowiki>
 
{{InfoboxAddrow|rowlabel=Email}}[[email::{{{Email}}}| ]][mailto:{{{Email}}} {{{Email}}}]|}}{{#if:{{{IRC|}}}|<nowiki></nowiki>
 
{{InfoboxAddrow|rowlabel=IRC}}[[IRC::{{{IRC}}}| ]]{{{IRC}}}|}}{{#if:{{{Twitter|}}}|<nowiki></nowiki>
 
{{InfoboxAddrow|rowlabel=IRC}}[[IRC::{{{IRC}}}| ]]{{{IRC}}}|}}{{#if:{{{Twitter|}}}|<nowiki></nowiki>
{{InfoboxAddrow|rowlabel=Twitter}}[http://www.twitter.com/{{{Twitter}}} @{{{Twitter}}}]|}}{{#if:{{{Teams|}}}|<nowiki></nowiki>
+
{{InfoboxAddrow|rowlabel=Twitter}}[http://www.twitter.com/{{{Twitter}}} @[[attendee_twitter::{{{Twitter}}}]]]|}}{{#if:{{{Teams|}}}|<nowiki></nowiki>
 
{{InfoboxSubtitle|SubTitle=Teams}}
 
{{InfoboxSubtitle|SubTitle=Teams}}
 
{{!}}-
 
{{!}}-
Line 21: Line 21:
 
|}
 
|}
 
{{#default_form:Attendee}}
 
{{#default_form:Attendee}}
[[Category:Attendee|{{SUBPAGENAME}}]]<!--Attendee Pagename, used in the inhabitant lists... [[AttendeePagename::{{PAGENAME}}]]--></includeonly><noinclude>
+
<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>
 
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'.
 
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'.
 
</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'.