Open main menu
A photo of ?
Documentationviewedithistorypurge
This documentation is transcluded from Template:3b/doc.

Three boilerplates for the description of a media.

The template automatically sets the following categories: Category:Media lacking a description (in «File:» only, and when 2 is missing).

Usage

{{3d |1= |2= |3= |4= |link= |style= |1style= |2style= |4style= }}

The template renders with <span style="display:inline-block"> for flexibility, and hence, <br/>, <div> and alike can be embedded into values of 2 and 4. But 4 doesn’t handle {{Description}}-based templates nice, even with |inline=1.

Template parameters

ParameterDescriptionDefaultStatus
1subjectclassQ- or P- Wikidata code specifying a class of the subject.emptyoptional
2subjectCentral (bordered) description of the subject, in wiki code. Usually {{label|Qnnn}}, but any form can be submitted.?required
3mediaclassA class of the media. Currently

photo (syn: photograph),  map,  screenshot (syn: screen),  logo (syn: logotype),  emblem,  and diagram (syns: scheme, plot, chart, drawing)

are supported. Must be lowercase.
photooptional
4commentsComments, in wiki code of arbitrary form.emptyoptional
linklinkValue for the homonymous parameter of {{Label}} called on {{{1}}}.-optional
stylestyleCSS for the outer <div>.emptyoptional
1styleCSS for the classes (left) plate. Can override built-in values.emptyoptional
2styleCSS for the central (bordered) plate. Can override built-in values.emptyoptional
4styleCSS for the comments (right, or bottom depending on rendering) plate. Can override built-in values.emptyoptional

Additional information

The template is intended to be used in the following namespaces: the File namespace

The template is intended to be used by the following user groups: all users

Placement:

in {{Information|Description=… and other media description templates.

Relies on:
{{Label}}, {{Of}}

See also

  • {{Flumen}}, similarly designed (but specialized) internationalized descriptions

Localization

This template is not intended to be localized.

A novel (custom) approach to internationalized descriptions.

Examples

Special:WhatLinksHere/Template:3b