Difference between revisions of "Template:Talk"

From Hackerspace ACKspace
Jump to: navigation, search
(Attempt to create a template that matches the current (manual) talks)
m (attempt to add duration calculation)
 
(One intermediate revision by the same user not shown)
Line 20: Line 20:
 
</noinclude><includeonly>
 
</noinclude><includeonly>
 
<div class="lang" lang="en">
 
<div class="lang" lang="en">
:[[Title_EN::{{{Title (English)|Unfortunately, this text is not available in English}}}@en]]
+
:''[[Title_EN::{{{Title (English)|Unfortunately, this text is not available in English}}}]]''
:[[Desc_EN::{{{Description (English)|Unfortunately, this text is not available in English}}}@en]]
+
:[[Desc_EN::{{{Description (English)|Unfortunately, this text is not available in English}}}]]
 
</div>
 
</div>
 
<div class="lang" lang="nl">
 
<div class="lang" lang="nl">
:[[Title_NL::{{{Title (Dutch)|Helaas is deze tekst niet in het Nederlands beschikbaar}}}@nl]]
+
:''[[Title_NL::{{{Title (Dutch)|Helaas is deze tekst niet in het Nederlands beschikbaar}}}]]''
:[[Desc_NL::{{{Description (Dutch)|Helaas is deze tekst niet in het Nederlands beschikbaar}}}@nl]]
+
:[[Desc_NL::{{{Description (Dutch)|Helaas is deze tekst niet in het Nederlands beschikbaar}}}]]
 
</div>
 
</div>
 
<div class="lang" lang="de">
 
<div class="lang" lang="de">
:[[Title_DE::{{{Title (German)|Leider ist dieser Text nicht auf Deutsch verfügbar}}}@de]]
+
:''[[Title_DE::{{{Title (German)|Leider ist dieser Text nicht auf Deutsch verfügbar}}}]]''
:[[Desc_DE::{{{Description (German)|Leider ist dieser Text nicht auf Deutsch verfügbar}}}@de]]
+
:[[Desc_DE::{{{Description (German)|Leider ist dieser Text nicht auf Deutsch verfügbar}}}]]
 
</div>
 
</div>
:start: [[EventStart::{{{Event start|}}}| ]][[EventStartTime::{{{Event start time|}}}]][[EventEndTime::{{{Event end time|}}}| ]][[EventEnd::{{{Event end|}}}| ]], duration: TBD
+
:start: [[EventStart::{{{Event start|}}}| ]][[EventStartTime::{{{Event start time|}}}]][[EventEndTime::{{{Event end time|}}}| ]][[EventEnd::{{{Event end|}}}| ]], duration: {{#expr: ({{#time: U|{{#time: Y-m-d"T"H:i:s|{{{Event end time|}}} {{{Event end|}}}}}{{#timel: P|{{{Event end time|}}} {{{Event end|}}}}}}} - {{#time: U|{{#time: Y-m-d"T"H:i:s|{{{Event start|}}} {{{Event start time|}}}}}{{#timel: P|{{{Event start|}}} {{{Event start time|}}}}}}}) / 60 }} minutes
 
:tags: {{#arraymap:{{{Tags|}}}|,|x|[[Tags::x]]}}
 
:tags: {{#arraymap:{{{Tags|}}}|,|x|[[Tags::x]]}}
  
 
[[Category:Events]]
 
[[Category:Events]]
 
</includeonly>
 
</includeonly>

Latest revision as of 17:48, 29 December 2024

This is the "Talk" template. It should be called in the following format:

{{Talk
|Title (English)=
|Description (English)=
|Title (Dutch)=
|Description (Dutch)=
|Title (German)=
|Description (German)=
|Event start=
|Event start time=
|Event end=
|Event end time=
|Tags=
}}

Edit the page to see the template text.