Jump to content

Template:Authority control

From Wikigama


Authority control


Usage

Add at the bottom of a biography or notable subject page (only filled fields are shown):

{{Authority control
 | VIAF     = 123456789
 | ISNI     = 0000000121032683
 | LCCN     = n79021164
 | GND      = 118540238
 | SUDOC    = 026718726
 | WorldCat = lccn-n79021164
 | Wikidata = Q42
}}

Notes & customization

  • The box is collapsed by default using mw-collapsible mw-collapsed. To make it expanded by default, remove mw-collapsed.
  • The template uses inline styling for backwards compatibility. If you prefer site-wide styles, move styles into MediaWiki:Common.css or a TemplateStyles module and remove the inline style attribute.
  • To add more identifiers, copy one of the lines and replace the parameter name and URL template.

If you manage the wiki skin or MediaWiki:Common.css, you can replace inline styles with something like:

/* Authority control box styling */
.authority-control { font-size:90%; border:1px solid #ccc; padding:0.5em; margin-top:1em; }
.authority-control > div:first-child { font-weight:bold; margin-bottom:0.25em; }
.authority-control ul { margin:0; padding-left:20px; }

Template history & contributors

This improved version was created to provide clearer, more accessible markup and easier customization.