Template:Infobox weather/line:修订间差异
外观
新頁面: <includeonly>{{#switch:{{{sc|}}}|pastel|t={{!-}} !height="16" {{!}}{{{label}}} {{!}}style="{{Infobox weather/col{{{sc}}}|{{{f}}}*{{{jan1}}}}}"{{!}}{{#iferror:{{{jan{{{show}}}|}}}|{{#if... |
无编辑摘要 |
||
第13行: | 第13行: | ||
{{!}}style="{{Infobox weather/col{{{sc}}}|{{{f}}}*{{{nov1}}}}}"{{!}}{{#iferror:{{{nov{{{show}}}|}}}|{{#iferror:{{{nov{{#ifeq:{{{show}}}|1|2|1}}}}}}}|{{{nov{{{show}}}}}}{{#iferror:{{#expr:{{#if:{{{nov{{{alt}}}|}}}|{{{nov{{{alt}}}}}}|foo}}>1}}||<br>({{{nov{{{alt}}}}}})}}}} | {{!}}style="{{Infobox weather/col{{{sc}}}|{{{f}}}*{{{nov1}}}}}"{{!}}{{#iferror:{{{nov{{{show}}}|}}}|{{#iferror:{{{nov{{#ifeq:{{{show}}}|1|2|1}}}}}}}|{{{nov{{{show}}}}}}{{#iferror:{{#expr:{{#if:{{{nov{{{alt}}}|}}}|{{{nov{{{alt}}}}}}|foo}}>1}}||<br>({{{nov{{{alt}}}}}})}}}} | ||
{{!}}style="{{Infobox weather/col{{{sc}}}|{{{f}}}*{{{dec1}}}}}"{{!}}{{#iferror:{{{dec{{{show}}}|}}}|{{#iferror:{{{dec{{#ifeq:{{{show}}}|1|2|1}}}}}}}|{{{dec{{{show}}}}}}{{#iferror:{{#expr:{{#if:{{{dec{{{alt}}}|}}}|{{{dec{{{alt}}}}}}|foo}}>1}}||<br>({{{dec{{{alt}}}}}})}}}} | {{!}}style="{{Infobox weather/col{{{sc}}}|{{{f}}}*{{{dec1}}}}}"{{!}}{{#iferror:{{{dec{{{show}}}|}}}|{{#iferror:{{{dec{{#ifeq:{{{show}}}|1|2|1}}}}}}}|{{{dec{{{show}}}}}}{{#iferror:{{#expr:{{#if:{{{dec{{{alt}}}|}}}|{{{dec{{{alt}}}}}}|foo}}>1}}||<br>({{{dec{{{alt}}}}}})}}}} | ||
{{!}}style="{{Infobox weather/col{{{sc}}}|{{{f}}}*{{{yr1}}}}} border-left-width:medium"{{!}}{{#iferror:{{{yr{{{show}}}|}}}|{{formatnum:{{#iferror:{{{yr{{#ifeq:{{{show}}}|1|2|1}}}}}|—}}}}|{{formatnum:{{{yr{{{show}}}}}}}}{{#iferror:{{#expr:{{#if:{{{yr{{{alt}}}|}}}|{{{yr{{{alt}}}}}}|foo}}>1}}||<br>({{formatnum:{{{yr{{{alt}}}}}}}})}}}}|#default=<font color="red">'''Error: </includeonly>This template makes a table line with two values that are not dependent on the length of month<includeonly>, {{#switch:{{{sc|}}}|#default=to specify temperature add the <code><nowiki>|sc=t</nowiki></code> parameter|d=days of precipitation uses {{tlx|Infobox weather/oneline/date}}, which displays only one value and applies a length of month factor to the background color formula|h=humidity uses {{tlx|Infobox weather/oneline}}, which displays only one value|p=precipitation uses {{tlx|Infobox weather/line/date}}, which applies a length of month factor to the background color formula|s=sunshine hours uses {{tlx|Infobox weather/oneline/date}}, which displays only one value and applies a length of month factor to the background color formula}}.'''</font>}}</includeonly | {{!}}style="{{Infobox weather/col{{{sc}}}|{{{f}}}*{{{yr1}}}}} border-left-width:medium"{{!}}{{#iferror:{{{yr{{{show}}}|}}}|{{formatnum:{{#iferror:{{{yr{{#ifeq:{{{show}}}|1|2|1}}}}}|—}}}}|{{formatnum:{{{yr{{{show}}}}}}}}{{#iferror:{{#expr:{{#if:{{{yr{{{alt}}}|}}}|{{{yr{{{alt}}}}}}|foo}}>1}}||<br>({{formatnum:{{{yr{{{alt}}}}}}}})}}}}|#default=<font color="red">'''Error: </includeonly>This template makes a table line with two values that are not dependent on the length of month<includeonly>, {{#switch:{{{sc|}}}|#default=to specify temperature add the <code><nowiki>|sc=t</nowiki></code> parameter|d=days of precipitation uses {{tlx|Infobox weather/oneline/date}}, which displays only one value and applies a length of month factor to the background color formula|h=humidity uses {{tlx|Infobox weather/oneline}}, which displays only one value|p=precipitation uses {{tlx|Infobox weather/line/date}}, which applies a length of month factor to the background color formula|s=sunshine hours uses {{tlx|Infobox weather/oneline/date}}, which displays only one value and applies a length of month factor to the background color formula}}.'''</font>}}</includeonly> | ||
2014年12月21日 (日) 09:05的最新版本
This template makes a table line with two values that are not dependent on the length of month