Edge Rewrite
// HTMLRewriter · presentation

This page was redesigned at the edge.

Cloudflare fetched the original article and streamed it through HTMLRewriter to apply an entirely new visual system without rebuilding the source page.

// request.cf · coarse context

A page that knows where it met you.

Only coarse request metadata is shown. This demo does not display or persist visitor IP addresses.

Country
US
Cloudflare location
CMH
Connection
HTTP/2
Language
Not provided

Ray ID: a25db2647e753488

Jump to content

Template talk:Weather box/concise C

Page contents not supported in other languages.
Add topic
From Wikipedia, the free encyclopedia
Latest comment: 17 years ago by Wikid77 in topic Purpose of template

Created

[edit]

The climate-table Template:Infobox_Weather/concise_C was created on 03-June-2009 by long-term user Wikid77 (me) as a concise interface to condense Celsius climate-table coding as 8x shorter or faster than using the full Template:Infobox_Weather. -Wikid77 (talk) 08:20, 3 June 2009

Purpose of template

[edit]

03-Jun-09: The purpose of the climate-table Template:Infobox_Weather/concise_C is to simplify coding of weather data by several methods:

  • as a short-form concise template to condense coding 8x times shorter (using 36 parameters);
  • by using Celsius row data as typical in some source websites (as rows of 12 numbers);
  • to provide a short example to be copied (copy/paste from the documentation);
  • to shorten coding so that special parameters are easier to read;
  • to use intuitive temperature-colors to spot coding errors in digits (as wrong colors).

All 5 methods (of simplifying climate-tables) provide a much easier way to code climate-tables into many articles. It is no longer a "one-hour task" to create (and verify) a climate-table for a town. In fact, some town-articles that previously used the full {{Infobox Weather}} are now 11x times shorter by using "/concise_C". The data-storage is nearly 1kb (1024-1200 bytes) shorter, in the total text size of each article.

A 2nd purpose, of this template, is to provide an example of how to write a documented template, with internal NOTES & HISTORY, and to demonstrate (again) that a template can be designed to be "8x times easier" to use. Often, while distracted by other details of articles, it can be easy to forget that there are many ways to write articles 8x times faster. Some techniques are not just a mere 30% better, but rather, an order of magnitude ~800% better, as in the ease of use, provided by this weather-data template. -Wikid77 (talk) 08:21, 3 June 2009 (UTC)Reply