Difference between revisions of "Template:GoogleCalendar"

From DUNE
Jump to navigation Jump to search
 
(5 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|}}}]]  
 
|-
 
|-
! Color
+
! Link
| [[Has color:{{{color|}}}]]  
+
| [https://www.google.com/calendar/embed?src={{{id}}} HTML]
 
|-
 
|-
! name
+
! Import
| [[Has calendar name::{{{name|}}}]]  
+
| [https://www.google.com/calendar/ical/{{{id}}}}/public/basic.ics ICAL]
 +
|-
 +
! Feed
 +
| [https://www.google.com/calendar/feeds/{{{id}}}/public/basic XML]
 
|-
 
|-
! owner
+
! Color
| {{#arraymap:{{{owner|}}}|,|x|[[Has calendar owner::x]]}}
+
| [[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.