Template:Infobox DRC document: Difference between revisions

From Guild of Archivists
mNo edit summary
(Adapt template so that if the title isn't provided the subpage name is used instead.)
 
(2 intermediate revisions by one other user not shown)
Line 1: Line 1:
{{Infobox
{{Infobox
  |bodystyle  = background:#fff6f6;border:1px solid #800
  |bodyclass=maintainers
  |abovestyle  = background:#800000;color:#fff
  |title         = {{{title|{{SUBPAGENAME}}}}}
|above         = {{{title}}}
  |image          = {{{image|}}}
  |image          = {{{image|}}}
  |caption        = {{{imagecaption|}}}
  |caption        = {{{imagecaption|}}}
Line 10: Line 9:
  |label2          = Author
  |label2          = Author
  |data2          = {{{author|}}}
  |data2          = {{{author|}}}
}}
}}<noinclude>{{Documentation}}</noinclude>

Latest revision as of 07:13, 25 July 2024

Infobox DRC document
Location {{{location}}}
Template documentation[view] [edit] [history] [purge]

Usage[edit source]

{{Infobox DRC document
| title = 
| image = 
| imagecaption =
| location = 
| author = 
}}

Parameters[edit source]

Template parameters

ParameterDescriptionTypeStatus
titletitle

The title of the document

Default
Defaults to {{SUBPAGETITLE}}
Auto value
{{SUBPAGETITLE}}
Stringoptional
imageimage

A representative image of the document. Only provide the filename itself, not the full File: wikilink.

Example
DRC notebook kedri story.jpeg
Filesuggested
imagecaptionimagecaption

Optional. May describe the image or provide additional detail.

Stringoptional
locationlocation

Describe where the document can be found. You should provide a wikilink to the location if possible.

Unknownsuggested
authorauthor

Name the author of the document. You should provide a wikilink to the author if possible.

Unknownsuggested