Difference between revisions of "Template:GoogleCalendar"

From DUNE
Jump to navigation Jump to search
 
 
(6 intermediate revisions by the same user not shown)
Line 5: Line 5:
 
{{GoogleCalendar
 
{{GoogleCalendar
 
|id=
 
|id=
 +
|color=
 
|name=
 
|name=
 
|owner=
 
|owner=
Line 12: Line 13:
 
</noinclude><includeonly>{| style="width: 30em; font-size: 90%; border: 1px solid #aaaaaa; background-color: #f9f9f9; color: black; margin-bottom: 0.5em; margin-left: 1em; padding: 0.2em; float: right; clear: right; text-align:left;"
 
</noinclude><includeonly>{| style="width: 30em; font-size: 90%; border: 1px solid #aaaaaa; background-color: #f9f9f9; color: black; margin-bottom: 0.5em; margin-left: 1em; padding: 0.2em; float: right; clear: right; text-align:left;"
 
! style="text-align: center; background-color:#ccccff;" colspan="2" |<big>{{PAGENAME}}</big>
 
! style="text-align: center; background-color:#ccccff;" colspan="2" |<big>{{PAGENAME}}</big>
|-
 
! id
 
| [[Has calendar id::{{{id|}}}]]
 
 
|-
 
|-
 
! name
 
! name
Line 21: Line 19:
 
! owner
 
! owner
 
| {{#arraymap:{{{owner|}}}|,|x|[[Has calendar owner::x]]}}
 
| {{#arraymap:{{{owner|}}}|,|x|[[Has calendar owner::x]]}}
 +
|-
 +
! id
 +
| [[Has calendar id::{{{id|}}}]]
 +
|-
 +
! Link
 +
| [https://www.google.com/calendar/embed?src={{{id}}} HTML]
 +
|-
 +
! Import
 +
| [https://www.google.com/calendar/ical/{{{id}}}}/public/basic.ics ICAL]
 +
|-
 +
! Feed
 +
| [https://www.google.com/calendar/feeds/{{{id}}}/public/basic XML]
 +
|-
 +
! Color
 +
| [[Has color::{{{color|777777}}}]]
 
|}
 
|}
 +
 +
{{#widget:Google Calendar
 +
|title={{{name}}}
 +
|id={{{id}}}
 +
|color={{{color}}}
 +
}}
  
 
[[Category:GoogleCalendar]]
 
[[Category:GoogleCalendar]]
 
</includeonly>
 
</includeonly>

Latest revision as of 15:02, 27 October 2014

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

{{GoogleCalendar
|id=
|color=
|name=
|owner=
}}

Edit the page to see the template text.