「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><noinclude>
{{!}}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>
 
[[da:Skabelon:Infoboks vejr/linje]]
[[es:Plantilla:Clima/line]]
[[id:Templat:Infobox Weather/line]]
[[no:Mal:Infoboks vær/linje]]
[[pt:Predefinição:Infobox weather/line]]
[[ro:Format:Infobox weather/line]]
</noinclude>