Template:Termin: Difference between revisions

From Attraktor Wiki
Jump to navigation Jump to search
Christophk (talk | contribs)
bei der url doch oben unten
Packbart (talk | contribs)
m undo description-test
 
(35 intermediate revisions by 4 users not shown)
Line 9: Line 9:
|url=
|url=
|visible=
|visible=
|meetupid=(optional) id of the meetup event
}}
}}
</pre>
</pre>
Edit the page to see the template text.
Edit the page to see the template text.
</noinclude><includeonly>
</noinclude><includeonly>
{|style="margin-bottom:20px"
!Titel
!Beginn
!Ende
|-
|style="padding:0 6px"|[[Title::{{{title|}}}]]
|style="padding:0 6px"|[[Date::{{{date|}}}]]
|style="padding:0 6px"|[[Enddate::{{{enddate|}}}]]
|-
|style="padding:6px" colspan="3" align="center"|[[Url::{{{url|}}}]]
|}


<div style="border: 1px solid #D8D8D8; padding:4px 8px 8px 8px; float:left; margin:10px; background: #F2F2FF; min-width: 150px;">
{{#if: {{{title|}}}|
  <p><b>[[Title::{{{title|}}}]]</b></p>
}}
<table style="background:none;">
{{#if: {{{date|}}}|
  <tr><td>Beginn:</td><td>
[[Date::{{{date|}}}|{{#widget:NiceDate|timestamp={{{date}}} }} ]]
  </td></tr>
}}
{{#if: {{{enddate|}}}|
  <tr><td>Ende:</td><td>
[[Enddate::{{{enddate|}}}|{{#widget:NiceDate|timestamp={{{enddate}}} }} ]]
  </td></tr>
}}
{{#if: {{{url|}}}|
  <tr><td>Url:</td><td>
[[Url::{{{url|}}}]]
  </td></tr>
}}
</table>
{{#if: {{{meetupid|}}}|
  <p>Zum Termin bei Meetup anmelden: <br/>
{{#widget:Meetup|meetupid={{{meetupid}}} }}
  </p>
}}
</div>
<span style="display:none;visibility:hidden">
Needs to be there, but does not need to be seen by a visitor [[Visible::{{{visible|}}}]]
</span>


[[Category:Termin]]
[[Category:Termin]]
</includeonly>
</includeonly>

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.