Template:Flumen

From Wikimedia Commons, the free media repository
Jump to navigation Jump to search
World Ocean flows into atmosphere of Earth.
Template documentationview · edit · history · purge ]
This documentation is transcluded from Template:Flumen/doc.

The header for categories of Watercourses (for disambiguation and navigation).

Usage

{{Flumen |1= |2= |3= |interwiki= |fr= |link= |style= |align= }}

Remove {{Interwiki from Wikidata}} when placing {{Flumen|Qnnn}} and don’t add the former (unless for testing). Note the order of the first two numbered parameters is reverse than of {{3b}}!

Template parameters

ParameterDescriptionDefaultStatus
1elementQ number of the watercourse.result of {{#invoke:wd|properties|raw|P301}} (for «Category:» only)optional
2gradeOne-digit grade, from 4 (a major river) to 8 (a rivulet). See details in {{Watercourse}}.emptyoptional
3textAdditional text (in wiki code) to show.emptyoptional
interwikiinterwiki=- (hyphen-minus) to disable calling {{Interwiki from Wikidata}}.enabled for «Category:»optional
frFrenchClass of the watercourse in French. A trans-lingual workaround for such rivers that are called “un fleuve” being not really great.the same algorithm as used for other languagesoptional
linklinkArgument to the homonymous parameter of {{Label}} called on {{{1}}}.wikipediaoptional
stylestyleCSS for the outer <div>. Can override built-in values.emptyoptional
alignalignValue of «align=» for the outer <div>.centeroptional

Additional information

The template is intended to be used in the following namespaces: the Category namespace

The template is intended to be used by the following user groups: all users

Placement: At the top of the page

Relies on:
{{Watercourse}}, {{Label}}, module:Wikidata:formatStatementsE(), {{LangSwitch}}

See also

  • {{3b}}, the same design approach but general-purpose
  • {{Wikidata Infobox}}, another device to deploy in categories, but design and syntax differ

Localization

To add your language to the list of languages supported by this template, please edit the template and add a row to the "{{LangSwitch|}}" construct. It takes the form "|xx= Your translation " (xx being the code of your language)

Limited i18n as of January 30, slightly ungrammatical in many languages.