Toggle menu
Toggle preferences menu
Toggle personal menu
Not logged in
Your IP address will be publicly visible if you make any edits.

Usage

Card template fed by SMW format=template queries on the Browse by growing region page. Renders one card per growing region that at least one accession names in Has growing region.

Receives two positional parameters from SMW:

  • {{{1}}} — region page name (mainlabel)
  • {{{2}}} — bare image filename from ?Has image=image printout. Empty if no image set.

Card click target is the region browse subpage at Browse by growing region/{Region}, not the main region article. The subpage shows the accession listing and links the main article from its own lead when that article exists.

If the subpage has not been created, the card falls back to a Special:Ask listing of that region's accessions, so a region that arrives with a new accession batch never leads to an edit form. The #ifexist check also records the missing subpage in Special:WantedPages. To fill the gap, create Browse by growing region/{Region} containing {{Browse/RegionSubpage|region={Region}}}. Leave a region on the fallback while its stored name is under review, for example an administrative name in the region field, so that no subpage is created at a title that is about to change.

The count label uses PLURAL, so a region with one accession reads "1 accession".

The line under the title names the country or countries of the region's accessions (the inverse of Has country over those accessions), so regions with similar names can be told apart.

Outer #ask query needs link=none so values arrive as bare text rather than wikilink-formatted strings.

The overlay link text is the region name. CSS hides it visually; screen readers announce it.

Image is requested at 1024px width for retina sharpness; CSS scales it to fill the 16:10 container via object-fit: cover. The image comes from the region article's Has image. Cards for regions without an article, or whose article has no image, show the placeholder colour.

Template wikitext is on a single line by design.

Calling query

The query takes the inverse of Has growing region over the accessions, so the grid lists exactly the regions that have accessions, whether or not the region article exists yet. The subquery is limited to Category:Accessions because news items also set Has growing region.

{{#ask:[[-Has growing region::<q>[[Category:Accessions]]</q>]]
|?Has image=image
|format=template
|template=Browse/RegionCard
|sort=
|limit=200
|link=none
|searchlabel=
}}