Template:Termin: Difference between revisions

From Attraktor Wiki
Jump to navigation Jump to search
Fh (talk | contribs)
Meetup-Widget nur zeigen, wenn Termin noch nicht rum
Packbart (talk | contribs)
m undo description-test
 
(16 intermediate revisions by 4 users not shown)
Line 14: Line 14:
Edit the page to see the template text.
Edit the page to see the template text.
</noinclude><includeonly>
</noinclude><includeonly>
<div style="border: 1px solid #D8D8D8; padding:4px 8px 8px 8px; float:left; margin:10px; background: #F2F2FF; min-width: 150px;">
<div style="border: 1px solid #D8D8D8; padding:4px 8px 8px 8px; float:left; margin:10px; background: #F2F2FF; min-width: 150px;">
{{#if: {{{title|}}}|
{{#if: {{{title|}}}|
Line 22: Line 23:
{{#if: {{{date|}}}|
{{#if: {{{date|}}}|
   <tr><td>Beginn:</td><td>
   <tr><td>Beginn:</td><td>
    [[Date::{{{date|}}}|{{#widget:NiceDate|timestamp={{{date}}} }}]]  
[[Date::{{{date|}}}|{{#widget:NiceDate|timestamp={{{date}}} }} ]]  
   </td></tr>  
   </td></tr>  
}}
}}
Line 28: Line 29:
{{#if: {{{enddate|}}}|
{{#if: {{{enddate|}}}|
   <tr><td>Ende:</td><td>
   <tr><td>Ende:</td><td>
    [[Enddate::{{{enddate|}}}|{{#widget:NiceDate|timestamp={{{enddate}}} }} ]]
[[Enddate::{{{enddate|}}}|{{#widget:NiceDate|timestamp={{{enddate}}} }} ]]
   </td></tr>
   </td></tr>
}}
}}
Line 34: Line 35:
{{#if: {{{url|}}}|
{{#if: {{{url|}}}|
   <tr><td>Url:</td><td>
   <tr><td>Url:</td><td>
    [[Url::{{{url|}}}]]  
[[Url::{{{url|}}}]]  
   </td></tr>  
   </td></tr>  
}}
}}
</table>
</table>
{{#if: {{{enddate|}}}>{{CURRENTYEAR}}-{{CURRENTMONTH}}-{{CURRENTDAY}}|
 
  {{#if: {{{meetupid|}}}|
{{#if: {{{meetupid|}}}|
    <p>Zum Termin bei Meetup anmelden: <br/>  
  <p>Zum Termin bei Meetup anmelden: <br/>  
      {{#widget:Meetup|meetupid={{{meetupid}}} }}
{{#widget:Meetup|meetupid={{{meetupid}}} }}
    </p>  
  </p>  
  }}
}}
}}
</div>
</div>



Latest revision as of 23:57, 22 December 2017

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

{{Termin
|date=
|enddate=
|title=
|url=
|visible=
|meetupid=(optional) id of the meetup event
}}

Edit the page to see the template text.