Jump to content

Template:Calendar: Difference between revisions

 
(3 intermediate revisions by the same user not shown)
Line 18: Line 18:
     <data source="days_per_week">
     <data source="days_per_week">
       <label>Days per Week</label>
       <label>Days per Week</label>
    </data>
    <data source="days_per_month">
      <label>Days per Month</label>
     </data>
     </data>
     <data source="weeks_per_month">
     <data source="weeks_per_month">
Line 59: Line 62:
</includeonly>
</includeonly>
<noinclude>
<noinclude>
Example usage:
{{Documentation}}
{{Calendar
  | name=Example
  | image=Example.jpg
  | caption-image=Example
  | basic_timekeeping=Example
  | seconds_per_minute=Example
  | minutes_per_hour=Example
  | hours_per_day=Example
  | days_per_week=Example
  | weeks_per_month=Example
  | months_per_year=Example
  | days_per_year=Example
  | unique_scales=Example
  | usage_and_origin=Example
  | origin=Example
  | used_by=Example
  | adopted_by=Example
  | type=Example
  | universe=Example
  | system=Example
  | usage=Example}}
<pre>
{{Calendar
  | name=Example
  | image=Example.jpg
  | caption-image=Example
  | basic_timekeeping=Example
  | seconds_per_minute=Example
  | minutes_per_hour=Example
  | hours_per_day=Example
  | days_per_week=Example
  | weeks_per_month=Example
  | months_per_year=Example
  | days_per_year=Example
  | unique_scales=Example
  | usage_and_origin=Example
  | origin=Example
  | used_by=Example
  | adopted_by=Example
  | type=Example
  | universe=Example
  | system=Example
  | usage=Example}}
</pre>
<templatedata>
<templatedata>
{
{
Line 181: Line 140:
"suggested": true,
"suggested": true,
"type": "line"
"type": "line"
},
"days_per_month": {
"type": "number"
}
}
},
},
"sets": [],
"sets": [],
"format": "block"
"format": "block",
"paramOrder": [
"name",
"image",
"caption-image",
"basic_timekeeping",
"seconds_per_minute",
"minutes_per_hour",
"hours_per_day",
"days_per_week",
"days_per_month",
"weeks_per_month",
"months_per_year",
"days_per_year",
"unique_scales",
"usage_and_origin",
"origin",
"used_by",
"adopted_by",
"type",
"universe",
"system",
"usage"
]
}
}
</templatedata>
</templatedata>
[[Category:Infobox templates]] [[Category:Templates]]
</noinclude>
</noinclude>