Difference between revisions of "Template:GoogleCalendar"

From DUNE
Jump to navigation Jump to search
 
(2 intermediate revisions by the same user not shown)
Line 13: 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>
 +
|-
 +
! name
 +
| [[Has calendar name::{{{name|}}}]]
 +
|-
 +
! owner
 +
| {{#arraymap:{{{owner|}}}|,|x|[[Has calendar owner::x]]}}
 
|-
 
|-
 
! id
 
! id
 
| [[Has calendar id::{{{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
 
! Color
 
| [[Has color::{{{color|777777}}}]]  
 
| [[Has color::{{{color|777777}}}]]  
|-
 
! name
 
| [[Has calendar name::{{{name|}}}]]
 
|-
 
! owner
 
| {{#arraymap:{{{owner|}}}|,|x|[[Has calendar owner::x]]}}
 
 
|}
 
|}
  
 
{{#widget:Google Calendar
 
{{#widget:Google Calendar
 
|title={{{name}}}
 
|title={{{name}}}
|width=80%
 
 
|id={{{id}}}
 
|id={{{id}}}
 
|color={{{color}}}
 
|color={{{color}}}

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.