Template:3b
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"></span>
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
Parameter | Description | Default | Status | |
---|---|---|---|---|
1 | subjectclass | Q- or P- Wikidata code specifying a class of the subject. | empty | optional |
2 | subject | Central (bordered) description of the subject, in wiki code. Usually {{label|Qnnn}}, but any form can be submitted. | ? | required |
3 | mediaclass | A class of the media. Currently
| photo | optional |
4 | comments | Comments, in wiki code of arbitrary form. | empty | optional |
link | link | Value for the homonymous parameter of {{Label}} called on {{{1}}}. | - | optional |
style | style | CSS for the outer <div>. | empty | optional |
1style | CSS for the classes (left) plate. Can override built-in values. | empty | optional | |
2style | CSS for the central (bordered) plate. Can override built-in values. | empty | optional | |
4style | CSS for the comments (right, or bottom depending on rendering) plate. Can override built-in values. | empty | optional |
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.
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.