Template:Infobox Growing Region: Difference between revisions
Template page
More actions
Eloise Zomia (talk | contribs) No edit summary |
Eloise Zomia (talk | contribs) No edit summary |
||
| Line 1: | Line 1: | ||
<includeonly> | <includeonly> | ||
<templatestyles src="Template:Infobox Growing Region/styles.css" /> | <templatestyles src="Template:Infobox Growing Region/styles.css" /> | ||
{| class="infobox lw-infobox lw-infobox--growing-region" | {| class="infobox lw-infobox lw-infobox--growing-region" | ||
|- | |- | ||
| Line 78: | Line 77: | ||
}} | }} | ||
|} | |} | ||
<!-- Semantic properties --> | |||
<!-- | |||
[[Category:Growing Regions]] | [[Category:Growing Regions]] | ||
{{#if:{{{region_name|}}}|[[Has region name::{{{region_name}}}]]}} | |||
{{#if:{{{other_name|}}}|[[Has alternate name::{{{other_name}}}]]}} | |||
{{#if:{{{coordinates|}}}|[[Has coordinates::{{{coordinates}}}]]}} | |||
{{#if:{{{gene_pool|}}}|[[Has gene pool::{{{gene_pool}}}]]}} | {{#if:{{{gene_pool|}}}|[[Has gene pool::{{{gene_pool}}}]]}} | ||
{{#if:{{{regional_complex|}}}|[[Has regional complex::{{{regional_complex}}}]]}} | {{#if:{{{regional_complex|}}}|[[Has regional complex::{{{regional_complex}}}]]}} | ||
{{#if:{{{country|}}}|[[Has country::{{{country}}}]]}} | {{#if:{{{country|}}}|[[Has country::{{{country}}}]]}} | ||
{{#if:{{{provinces|}}}|[[Has province::{{{provinces}}}]]}} | |||
{{#if:{{{elevation_range|}}}|[[Has elevation range::{{{elevation_range}}}]]}} | |||
{{#if:{{{area_extent|}}}|[[Has area extent::{{{area_extent}}}]]}} | |||
{{#if:{{{climate|}}}|[[Has climate::{{{climate}}}]]}} | |||
{{#if:{{{primary_river|}}}|[[Has primary river::{{{primary_river}}}]]}} | |||
{{#if:{{{primary_mountains|}}}|[[Has primary mountains::{{{primary_mountains}}}]]}} | |||
{{#if:{{{status|}}}|[[Has conservation status::{{{status}}}]]}} | |||
</includeonly> | </includeonly> | ||
<noinclude> | <noinclude> | ||
{{documentation}} | |||
</noinclude> | </noinclude> | ||
Revision as of 18:20, 11 January 2026
This is a documentation subpage for Infobox Growing Region. It contains usage information, categories, and other content that is not part of the original template.
Usage
{{Reflist}}
This template formats the reference list at the bottom of articles. It provides consistent styling and optional multi-column layouts for pages with many references.
Parameters
| Parameter | Description | Default |
|---|---|---|
colwidth |
Column width in em units. References will flow into multiple columns on wide screens. Use full to force single column. |
(none - single column) |
group |
Reference group name (for <refgroup="name">) |
(none) |
refs |
Defined references (for list-defined references) | (none) |
Examples
Basic usage
== References ==
{{Reflist}}
Multi-column (recommended for 10+ references)
== References ==
{{Reflist|colwidth=30}}
With reference group
== Notes ==
{{Reflist|group=note}}
== References ==
{{Reflist}}
List-defined references
== References ==
{{Reflist|refs=
<ref name="smith2020">Smith, J. (2020). ''Cannabis Genetics''. Publisher.</ref>
<ref name="jones2019">Jones, A. (2019). ''Himalayan Landraces''. Publisher.</ref>
}}
Styling
The template uses lw-reflist CSS classes which:
- Match the landrace.wiki visual style (green accents)
- Support dark mode via Citizen skin
- Collapse to single column on mobile devices
- Prevent orphaned reference entries when using columns
See also