Template:Infobox musical artist/hCard class/doc: Difference between revisions

From AusMetal Guide
Jump to navigation Jump to search
m (1 revision imported)
m (1 revision imported)
 
(One intermediate revision by one other user not shown)
Line 1: Line 1:
{{Documentation subpage}}
{{Documentation subpage}}
<!-- PLEASE ADD CATEGORIES AND INTERWIKIS AT THE BOTTOM OF THIS PAGE -->
<!-- Please place categories where indicated at the bottom of this page and interwikis at Wikidata (see [[Wikipedia:Wikidata]]) -->
{{#ifeq:{{SUBPAGENAME}}|sandbox||{{High-use}}}}


== Usage ==
== Usage ==
Line 7: Line 8:
Specifically this template takes the <code>background</code> parameter from {{tl|Infobox musical artist}} or {{tl|Navbox musical artist}} and returns either <code>fn</code> (for individuals) or <code>fn org</code> (for groups), thus:
Specifically this template takes the <code>background</code> parameter from {{tl|Infobox musical artist}} or {{tl|Navbox musical artist}} and returns either <code>fn</code> (for individuals) or <code>fn org</code> (for groups), thus:


* person = fn
* solo_singer = fn
* solo_singer = fn
* non_vocal_instrumentalist = fn
* non_vocal_instrumentalist = fn
Line 16: Line 18:


<includeonly>{{Sandbox other||
<includeonly>{{Sandbox other||
<!-- CATEGORIES AND INTERWIKIS HERE, THANKS -->
<!-- Categories below this line, please; interwikis at Wikidata -->
[[bn:টেমপ্লেট:Infobox musical artist/hCard class]]
 
[[ur:سانچہ:Infobox musical artist/hCard class]]
[[ky:Калып:Музыкант/hCard class]]
}}</includeonly>
}}</includeonly>

Latest revision as of 05:41, 22 February 2025

Usage

This template produces a component of an hCard microformat, which makes a person or place's details parsable by computers, either acting automatically to catalogue article across Wikipedia, or via a browser tool operated by a reader, to (for example) add the subject to an address book. For more information about the use of microformats on Wikipedia, please see the microformat project.

hCard uses HTML classes including:

  • adr
  • agent
  • bday
  • category
  • county-name
  • extended-address
  • fn (required)
  • geo
  • honorific-prefix
  • honorific-suffix
  • label
  • locality
  • nickname
  • note
  • org
  • role
  • vcard

Please do not rename or remove these classes nor collapse nested elements which use them.

Specifically this template takes the background parameter from {{Infobox musical artist}} or {{Navbox musical artist}} and returns either fn (for individuals) or fn org (for groups), thus:

  • person = fn
  • solo_singer = fn
  • non_vocal_instrumentalist = fn
  • non_performing_personnel = fn
  • group_or_band = fn org
  • cover_band = fn org
  • classical_ensemble = fn org
  • temporary = fn org