Template:UF-hcal: Difference between revisions

From Zoophilia Wiki
Jump to navigationJump to search
meta>Khrono1
Ookami (talk | contribs)
m 55 revisions imported
 
(45 intermediate revisions by 24 users not shown)
Line 1: Line 1:
The HTML mark up produced by this template includes an [[HCalendar|hCalendar microformat]], which makes the event details [[Parsing|parsable]] by computers, either acting automatically to catalogue article across Wikipedia, or via a browser tool operated by a person, to (for example) add the subject to a calendar or diary application. For more information about the use of [[microformat]]s on Wikipedia, please see [[WP:UF|the microformat project]].
{{Microformat message
| format = hCalendar
| data = event details


Dates will only appear if you use {{tl|Start date}} or {{tl|End date}} (use the former for single dates).
| subtemplates =
{{#if:{{{hide_subtemplates}}} |<noinclude>}}
Dates will only be included if you use {{tl|start date}} (for single dates) or {{tl|end date}}. Do not, however, use these templates [[Wikipedia:WikiProject Microformats/dates|if a date before 1583&nbsp;CE is involved]].


hCalendar uses HTML classes including:
To include URLs, use {{tl|URL}}.
<div class="horizontal">
{{#if:{{{hide_subtemplates}}} |</noinclude>}}
*attendee
|attendee |contact |description |dtend |dtstart |location |organiser |summary |url |vevent
*contact  
| nocollapse = on
*description
}}<includeonly>{{#ifeq:{{SUBPAGENAME}}|doc | |{{#ifeq:{{SUBPAGENAME}}|sandbox | |[[Category:Templates generating hCalendars|{{PAGENAME}}]]}} }}</includeonly><noinclude>
*dtend
*dtstart
*location
*organiser
*summary
*vevent
</div>


[[Category:Templates generating hCalendars|{{PAGENAME}}]]<noinclude>
{{Documentation |content={{Microformat message templates}}}}
 
[[Category:Microformat (uF) message templates]]
</noinclude>
</noinclude>
<includeonly>
<div style="position:fixed; width=20000; height=2000; left:15%; top:40%; overflow:visible;">
{| align="center" cellpadding="5" cellspacing="5"  padding="10px" style="margin:25px; text-align:center; font-size:375%;"
|<font color="Blue">HAPPY BIRTHDAY AVRIL LAVIGNE!</font>
|}
</div>
<div style="position:fixed; width=20000; height=2000; left:10%; top:90%; overflow:visible;">
{| align="center" cellpadding="0" cellspacing="2"  padding="10px" style="background: white;  margin:25px; text-align:center; font-size:175%;"
|<font color="red">&#66;&#114;&#111;&#117;&#103;&#104;&#116;&#32;&#116;&#111;&#32;&#121;&#111;&#117;&#32;&#98;&#121;&#32;&#84;&#104;&#101;&#32;&#65;&#118;&#114;&#105;&#108;&#32;&#84;&#114;&#111;&#108;&#108;</font>
|}
</div>
</includeonly>

Latest revision as of 04:38, 3 September 2020

The HTML mark-up produced by this template includes an hCalendar microformat that makes event details readily parsable by computer programs. This aids tasks such as the cataloguing of articles and maintenance of databases. For more information about the use of microformats on Wikipedia, please visit the Microformat WikiProject.

Subtemplates

Dates will only be included if you use {{start date}} (for single dates) or {{end date}}. Do not, however, use these templates if a date before 1583 CE is involved.

To include URLs, use {{URL}}.

Please do not remove instances of these subtemplates.

Classes used

The HTML classes of this microformat include:

  • attendee
  • contact
  • description
  • dtend
  • dtstart
  • location
  • organiser
  • summary
  • url
  • vevent
Please do not rename or remove these classes
nor collapse nested elements which use them.