Template:Termin: Difference between revisions

From Attraktor Wiki
Jump to navigation Jump to search
Haegar (talk | contribs)
No edit summary
Packbart (talk | contribs)
m undo description-test
 
(64 intermediate revisions by 5 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>
{| class="wikitable"
 
! date
<div style="border: 1px solid #D8D8D8; padding:4px 8px 8px 8px; float:left; margin:10px; background: #F2F2FF; min-width: 150px;">
| [[date::{{{date|}}}]]
{{#if: {{{title|}}}|
|-
  <p><b>[[Title::{{{title|}}}]]</b></p>
! enddate
}}
| [[enddate::{{{enddate|}}}]]
 
|-
<table style="background:none;">
! title
{{#if: {{{date|}}}|
| [[title::{{{title|}}}]]
  <tr><td>Beginn:</td><td>
|-
[[Date::{{{date|}}}|{{#widget:NiceDate|timestamp={{{date}}} }} ]]  
! url
  </td></tr>
| [[url::{{{url|}}}]]
}}
|-
 
! visible
{{#if: {{{enddate|}}}|
| [[visible::{{{visible|}}}]]
  <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.