Jump to content

Template:Infobox River: Difference between revisions

From IdeaWazaWiki
wikademia>SteveRwanda
m Remove duplicate wikilink
wikademia>CBDunkerson
Converting to use #if:
Line 1: Line 1:
{| class="infobox" style="width: 300px; font-size: 90%;"
{| class="infobox" style="width: 300px; font-size: 90%;"
|-
|-
! colspan="2" class{{{river_name}}}="hiddenStructure" style="font-size: larger; background-color: #CEDEFF;" | {{{river_name}}}
! colspan="2" style="font-size: larger; background-color: #CEDEFF;" | {{#if: {{{river_name}}}|{{{river_name}}}}}
|- class{{{image_name}}}="hiddenStructure"
|-
| colspan="2" style="line-height: 1.2; border-bottom: 1px solid #CEDEFF;" | <div style="border: 1px solid #CEDEFF;">[[Image:{{{image_name}}}|288px|{{{caption}}}]]</div> <center>{{{caption}}}</center>
{{#if: {{{image_name}}}|
|- class{{{origin}}}="hiddenStructure"
{{!}} colspan="2" style="line-height: 1.2; border-bottom: 1px solid #CEDEFF;" {{!}} <div style="border: 1px solid #CEDEFF;">[[Image:{{{image_name}}}|288px|{{{caption}}}]]</div> <center>{{{caption}}}</center>}}
| '''Origin''' || {{{origin}}}
|-
|- class{{{mouth}}}="hiddenStructure"
{{#if: {{{origin}}}|
| '''Mouth''' || {{{mouth}}}
{{!}} '''Origin''' {{!}} {{{origin}}}}}
|- class{{{basin_countries}}}="hiddenStructure"
|-
| '''[[Drainage basin|Basin]] countries''' || {{{basin_countries}}}
{{#if: {{{mouth}}}|
|- class{{{length}}}="hiddenStructure"
{{!}} '''Mouth''' {{!}} {{{mouth}}}}}
| '''Length''' || {{{length}}}
|-
|- class{{{elevation}}}="hiddenStructure" style="white-space: nowrap;"
{{#if: {{{basin_countries}}}|
| '''[[Source (river or stream)|Source]] elevation''' || {{{elevation}}}
{{!}} '''[[Drainage basin|Basin]] countries''' {{!}} {{{basin_countries}}}}}
|- class{{{discharge}}}="hiddenStructure"
|-
| '''Avg. [[Discharge (hydrology)|discharge]]''' || {{{discharge}}}
{{#if: {{{length}}}|
|- class{{{watershed}}}="hiddenStructure"
{{!}} '''Length''' {{!}} {{{length}}}}}
| '''Basin area''' || {{{watershed}}}
|- style="white-space: nowrap;"
{{#if: {{{elevation}}}|
{{!}} '''[[Source (river or stream)|Source]] elevation''' {{!}} {{{elevation}}}}}
|-
{{#if: {{{discharge}}}|
{{!}} '''Avg. [[Discharge (hydrology)|discharge]]''' {{!}} {{{discharge}}}}}
|-
{{#if: {{{watershed}}}|
{{!}} '''Basin area''' {{!}} {{{watershed}}}}}
|}<noinclude>
|}<noinclude>
This template is part of the [[Wikipedia:WikiProject Rivers|Rivers WikiProject]].Please see the template's [[Template_talk:Infobox_river|discussion]] page for examples and a guide to using it.
This template is part of the [[Wikipedia:WikiProject Rivers|Rivers WikiProject]].Please see the template's [[Template_talk:Infobox_river|discussion]] page for examples and a guide to using it.

Revision as of 23:24, 19 April 2006

{{{river_name}}}
[[Image:{{{image_name}}}|288px|{{{caption}}}]]
{{{caption}}}
{{{origin}}}
{{{mouth}}}
Basin countries | {{{basin_countries}}}
{{{length}}}
Source elevation | {{{elevation}}}
Avg. discharge | {{{discharge}}}
{{{watershed}}}

This template is part of the Rivers WikiProject.Please see the template's discussion page for examples and a guide to using it.

eo:Ŝablono:Riveroj