Toggle menu
Toggle preferences menu
Toggle personal menu
Nem vagy bejelentkezve
Your IP address will be publicly visible if you make any edits.

„Sablon:Artwork” változatai közötti eltérés

Innen: MKE Intermédia
Nincs szerkesztési összefoglaló
Nincs szerkesztési összefoglaló
 
(9 közbenső módosítás, amit 2 másik szerkesztő végzett, nincs mutatva)
1. sor: 1. sor:
<noinclude>
{{#cargo_declare:
_table=artworks
|display_title=Text
|subtitle=Text
|image=File
|image_caption=Text
|authors=List (;) of Page
|editors=List (;) of Page
|contributors=List (;) of Page
|year=Integer
|date_created=Date
|type=Text
|medium=Text
|technique=Text
|dimensions=Text
|duration=Text
|resolution=Text
|aspect_ratio=Text
|frame_rate=Text
|software=List (;) of Text
|primary_link=URL
|documentation_link=URL
|video_link=URL
|repository_link=URL
|download_link=URL
|archive_link=URL
|keywords=List (;) of Text
|exhibitions=List (;) of Page
|courses=List (;) of Page
|collections=List (;) of Page
|language=Text
|license=Text
|rights_holder=Text
|identifier=Text
}}
<templatedata>
{
  "description": "Infobox and Cargo record for artworks and artistic projects.",
  "params": {
    "display_title": {
      "label": "Title",
      "description": "Displayed title of the work. Defaults to the page name when empty.",
      "type": "string",
      "suggested": true
    },
    "subtitle": {
      "label": "Subtitle",
      "description": "Subtitle of the work.",
      "type": "string"
    },
    "authors": {
      "label": "Authors",
      "description": "Semicolon-separated creator page names.",
      "type": "string",
      "suggested": true
    },
    "editors": {
      "label": "Editors",
      "description": "Semicolon-separated editor page names.",
      "type": "string"
    },
    "contributors": {
      "label": "Contributors",
      "description": "Semicolon-separated contributor page names.",
      "type": "string"
    },
    "year": {
      "label": "Year",
      "description": "Year associated with the work.",
      "type": "number"
    },
    "date_created": {
      "label": "Date created",
      "description": "Creation date in a MediaWiki-recognized date format.",
      "type": "date"
    },
    "type": {
      "label": "Type",
      "description": "Type or category of the work.",
      "type": "string"
    },
    "medium": {
      "label": "Medium",
      "description": "Medium of the work.",
      "type": "string"
    },
    "technique": {
      "label": "Technique",
      "description": "Technique used to create the work.",
      "type": "string"
    },
    "dimensions": {
      "label": "Dimensions",
      "description": "Physical dimensions of the work, including units.",
      "type": "string"
    },
    "duration": {
      "label": "Duration",
      "description": "Duration of a time-based work.",
      "type": "string"
    },
    "resolution": {
      "label": "Resolution",
      "description": "Digital image or video resolution.",
      "type": "string"
    },
    "aspect_ratio": {
      "label": "Aspect ratio",
      "description": "Image or video aspect ratio.",
      "type": "string"
    },
    "frame_rate": {
      "label": "Frame rate",
      "description": "Video frame rate, including units.",
      "type": "string"
    },
    "software": {
      "label": "Software",
      "description": "Semicolon-separated software names.",
      "type": "string"
    },
    "primary_link": {
      "label": "Primary link",
      "description": "Primary web page for the work.",
      "type": "url"
    },
    "documentation_link": {
      "label": "Documentation",
      "description": "Link to documentation of the work.",
      "type": "url"
    },
    "video_link": {
      "label": "Video",
      "description": "Link to a video of the work.",
      "type": "url"
    },
    "repository_link": {
      "label": "Repository",
      "description": "Link to the source code or project repository.",
      "type": "url"
    },
    "download_link": {
      "label": "Download",
      "description": "Link for downloading the work or related files.",
      "type": "url"
    },
    "archive_link": {
      "label": "Archive",
      "description": "Link to an archived copy or archive record.",
      "type": "url"
    },
    "keywords": {
      "label": "Keywords",
      "description": "Semicolon-separated keywords.",
      "type": "string"
    },
    "exhibitions": {
      "label": "Exhibitions",
      "description": "Semicolon-separated exhibition page names.",
      "type": "string"
    },
    "courses": {
      "label": "Courses",
      "description": "Semicolon-separated course page names.",
      "type": "string"
    },
    "collections": {
      "label": "Collections",
      "description": "Semicolon-separated collection page names.",
      "type": "string"
    },
    "language": {
      "label": "Language",
      "description": "Language of the work or its textual content.",
      "type": "string"
    },
    "license": {
      "label": "License",
      "description": "License under which the work is made available.",
      "type": "string"
    },
    "rights_holder": {
      "label": "Rights holder",
      "description": "Person or organization holding rights to the work.",
      "type": "string"
    },
    "identifier": {
      "label": "Identifier",
      "description": "Persistent, institutional, or catalogue identifier.",
      "type": "string"
    },
    "image": {
      "label": "Image",
      "description": "Main image filename, without the File: prefix.",
      "type": "wiki-file-name"
    },
    "image_caption": {
      "label": "Image caption",
      "description": "Caption displayed below the main image.",
      "type": "string"
    }
  },
  "paramOrder": [
    "display_title",
    "subtitle",
    "authors",
    "editors",
    "contributors",
    "year",
    "date_created",
    "type",
    "medium",
    "technique",
    "dimensions",
    "duration",
    "resolution",
    "aspect_ratio",
    "frame_rate",
    "software",
    "primary_link",
    "documentation_link",
    "video_link",
    "repository_link",
    "download_link",
    "archive_link",
    "keywords",
    "exhibitions",
    "courses",
    "collections",
    "language",
    "license",
    "rights_holder",
    "identifier",
    "image",
    "image_caption"
  ],
  "format": "block"
}
</templatedata>
</noinclude><includeonly>{{#cargo_store:
_table=artworks
|display_title={{{display_title|{{PAGENAME}}}}}
|subtitle={{{subtitle|}}}
|image={{{image|}}}
|image_caption={{{image_caption|}}}
|authors={{{authors|}}}
|editors={{{editors|}}}
|contributors={{{contributors|}}}
|year={{{year|}}}
|date_created={{{date_created|}}}
|type={{{type|}}}
|medium={{{medium|}}}
|technique={{{technique|}}}
|dimensions={{{dimensions|}}}
|duration={{{duration|}}}
|resolution={{{resolution|}}}
|aspect_ratio={{{aspect_ratio|}}}
|frame_rate={{{frame_rate|}}}
|software={{{software|}}}
|primary_link={{{primary_link|}}}
|documentation_link={{{documentation_link|}}}
|video_link={{{video_link|}}}
|repository_link={{{repository_link|}}}
|download_link={{{download_link|}}}
|archive_link={{{archive_link|}}}
|keywords={{{keywords|}}}
|exhibitions={{{exhibitions|}}}
|courses={{{courses|}}}
|collections={{{collections|}}}
|language={{{language|}}}
|license={{{license|}}}
|rights_holder={{{rights_holder|}}}
|identifier={{{identifier|}}}
}}<templatestyles src="Template:Artwork/styles.css" />
{| class="artwork-infobox"
{| class="artwork-infobox"
|-
|-
! colspan="2" class="artwork-title" | {{{title|}}}
| colspan="2" class="artwork-title" | {{{display_title|{{PAGENAME}}}}}
 
{{#if:{{{subtitle|}}}|
{{!}}-
{{!}} colspan="2" class="artwork-subtitle" {{!}} {{{subtitle}}}
}}
{{#if:{{{image|}}}|
{{#if:{{{image|}}}|
{{!}}-
{{!}}-
{{!}} colspan="2" class="artwork-image" {{!}}
{{!}} colspan="2" class="artwork-image" {{!}} [[File:{{{image}}}|300px]]
[[File:{{{image}}}|300px]]
}}
}}
 
{{#if:{{{image_caption|}}}|
{{#if:{{{author|}}}|
{{!}}-
{{!}} colspan="2" class="artwork-image-caption" {{!}} {{{image_caption}}}
}}
{{#if:{{{authors|}}}|
{{!}}-
{{!}}-
! Author
{{!}} class="artwork-label" {{!}} Authors
{{!}} {{{author}}}
{{!}} class="artwork-value" {{!}} {{{authors}}}
}}
}}
 
{{#if:{{{editors|}}}|
{{#if:{{{editor|}}}|
{{!}}-
{{!}}-
! Editor
{{!}} class="artwork-label" {{!}} Editors
{{!}} {{{editor}}}
{{!}} class="artwork-value" {{!}} {{{editors}}}
}}
}}
{{#if:{{{contributors|}}}|
{{#if:{{{contributors|}}}|
{{!}}-
{{!}}-
! Contributors
{{!}} class="artwork-label" {{!}} Contributors
{{!}} {{{contributors}}}
{{!}} class="artwork-value" {{!}} {{{contributors}}}
}}
}}
{{#if:{{{year|}}}|
{{#if:{{{year|}}}|
{{!}}-
{{!}}-
! Year
{{!}} class="artwork-label" {{!}} Year
{{!}} {{{year}}}
{{!}} class="artwork-value" {{!}} {{{year}}}
}}
{{#if:{{{date_created|}}}|
{{!}}-
{{!}} class="artwork-label" {{!}} Date created
{{!}} class="artwork-value" {{!}} {{{date_created}}}
}}
}}
{{#if:{{{type|}}}|
{{#if:{{{type|}}}|
{{!}}-
{{!}}-
! Type
{{!}} class="artwork-label" {{!}} Type
{{!}} {{{type}}}
{{!}} class="artwork-value" {{!}} {{{type}}}
}}
}}
{{#if:{{{medium|}}}|
{{#if:{{{medium|}}}|
{{!}}-
{{!}}-
! Medium
{{!}} class="artwork-label" {{!}} Medium
{{!}} {{{medium}}}
{{!}} class="artwork-value" {{!}} {{{medium}}}
}}
}}
{{#if:{{{technique|}}}|
{{#if:{{{technique|}}}|
{{!}}-
{{!}}-
! Technique
{{!}} class="artwork-label" {{!}} Technique
{{!}} {{{technique}}}
{{!}} class="artwork-value" {{!}} {{{technique}}}
}}
}}
{{#if:{{{dimensions|}}}|
{{#if:{{{dimensions|}}}|
{{!}}-
{{!}}-
! Dimensions
{{!}} class="artwork-label" {{!}} Dimensions
{{!}} {{{dimensions}}}
{{!}} class="artwork-value" {{!}} {{{dimensions}}}
}}
}}
{{#if:{{{duration|}}}|
{{#if:{{{duration|}}}|
{{!}}-
{{!}}-
! Duration
{{!}} class="artwork-label" {{!}} Duration
{{!}} {{{duration}}}
{{!}} class="artwork-value" {{!}} {{{duration}}}
}}
}}
{{#if:{{{resolution|}}}|
{{#if:{{{resolution|}}}|
{{!}}-
{{!}}-
! Resolution
{{!}} class="artwork-label" {{!}} Resolution
{{!}} {{{resolution}}}
{{!}} class="artwork-value" {{!}} {{{resolution}}}
}}
}}
{{#if:{{{aspect_ratio|}}}|
{{#if:{{{aspect_ratio|}}}|
{{!}}-
{{!}}-
! Aspect ratio
{{!}} class="artwork-label" {{!}} Aspect ratio
{{!}} {{{aspect_ratio}}}
{{!}} class="artwork-value" {{!}} {{{aspect_ratio}}}
}}
}}
{{#if:{{{frame_rate|}}}|
{{#if:{{{frame_rate|}}}|
{{!}}-
{{!}}-
! Frame rate
{{!}} class="artwork-label" {{!}} Frame rate
{{!}} {{{frame_rate}}}
{{!}} class="artwork-value" {{!}} {{{frame_rate}}}
}}
}}
{{#if:{{{software|}}}|
{{#if:{{{software|}}}|
{{!}}-
{{!}}-
! Software
{{!}} class="artwork-label" {{!}} Software
{{!}} {{{software}}}
{{!}} class="artwork-value" {{!}} {{{software}}}
}}
{{#if:{{{primary_link|}}}|
{{!}}-
{{!}} class="artwork-label" {{!}} Primary link
{{!}} class="artwork-value" {{!}} [{{{primary_link}}} Open]
}}
{{#if:{{{documentation_link|}}}|
{{!}}-
{{!}} class="artwork-label" {{!}} Documentation
{{!}} class="artwork-value" {{!}} [{{{documentation_link}}} View]
}}
}}
 
{{#if:{{{video_link|}}}|
{{#if:{{{website|}}}|
{{!}}-
{{!}}-
! Website
{{!}} class="artwork-label" {{!}} Video
{{!}} [{{{website}}} Project page]
{{!}} class="artwork-value" {{!}} [{{{video_link}}} Watch]
}}
}}
 
{{#if:{{{repository_link|}}}|
{{#if:{{{exhibition|}}}|
{{!}}-
{{!}}-
! Exhibition
{{!}} class="artwork-label" {{!}} Source code
{{!}} {{{exhibition}}}
{{!}} class="artwork-value" {{!}} [{{{repository_link}}} Browse]
}}
}}
 
{{#if:{{{download_link|}}}|
{{#if:{{{course|}}}|
{{!}}-
{{!}}-
! Course
{{!}} class="artwork-label" {{!}} Download
{{!}} {{{course}}}
{{!}} class="artwork-value" {{!}} [{{{download_link}}} Download]
}}
}}
 
{{#if:{{{archive_link|}}}|
{{#if:{{{collection|}}}|
{{!}}-
{{!}}-
! Collection
{{!}} class="artwork-label" {{!}} Archive
{{!}} {{{collection}}}
{{!}} class="artwork-value" {{!}} [{{{archive_link}}} Open]
}}
}}
{{#if:{{{keywords|}}}|
{{#if:{{{keywords|}}}|
{{!}}-
{{!}}-
! Keywords
{{!}} class="artwork-label" {{!}} Keywords
{{!}} {{{keywords}}}
{{!}} class="artwork-value" {{!}} {{{keywords}}}
}}
{{#if:{{{exhibitions|}}}|
{{!}}-
{{!}} class="artwork-label" {{!}} Exhibitions
{{!}} class="artwork-value" {{!}} {{{exhibitions}}}
}}
{{#if:{{{courses|}}}|
{{!}}-
{{!}} class="artwork-label" {{!}} Courses
{{!}} class="artwork-value" {{!}} {{{courses}}}
}}
{{#if:{{{collections|}}}|
{{!}}-
{{!}} class="artwork-label" {{!}} Collections
{{!}} class="artwork-value" {{!}} {{{collections}}}
}}
}}
{{#if:{{{language|}}}|
{{#if:{{{language|}}}|
{{!}}-
{{!}}-
! Language
{{!}} class="artwork-label" {{!}} Language
{{!}} {{{language}}}
{{!}} class="artwork-value" {{!}} {{{language}}}
}}
}}
{{#if:{{{license|}}}|
{{#if:{{{license|}}}|
{{!}}-
{{!}}-
! License
{{!}} class="artwork-label" {{!}} License
{{!}} {{{license}}}
{{!}} class="artwork-value" {{!}} {{{license}}}
}}
{{#if:{{{rights_holder|}}}|
{{!}}-
{{!}} class="artwork-label" {{!}} Rights holder
{{!}} class="artwork-value" {{!}} {{{rights_holder}}}
}}
}}
{{#if:{{{identifier|}}}|
{{#if:{{{identifier|}}}|
{{!}}-
{{!}}-
! Identifier
{{!}} class="artwork-label" {{!}} Identifier
{{!}} {{{identifier}}}
{{!}} class="artwork-value" {{!}} {{{identifier}}}
}}
}}
|}
|}
[[Kategória:Artwork]]
</includeonly>

A lap jelenlegi, 2026. november 15., 23:14-kori változata

This template defines the table "artworks". View table.

Infobox and Cargo record for artworks and artistic projects.

Sablonparaméterek[TemplateData szerkesztése]

Ennek a sablonnak ajánlott külön sorokba (blokkban) írni a paramétereit

ParaméterLeírásTípusÁllapot
Titledisplay_title

Displayed title of the work. Defaults to the page name when empty.

Karakterláncajánlott
Subtitlesubtitle

Subtitle of the work.

Karakterláncopcionális
Authorsauthors

Semicolon-separated creator page names.

Karakterláncajánlott
Editorseditors

Semicolon-separated editor page names.

Karakterláncopcionális
Contributorscontributors

Semicolon-separated contributor page names.

Karakterláncopcionális
Yearyear

Year associated with the work.

Számopcionális
Date createddate_created

Creation date in a MediaWiki-recognized date format.

Dátumopcionális
Typetype

Type or category of the work.

Karakterláncopcionális
Mediummedium

Medium of the work.

Karakterláncopcionális
Techniquetechnique

Technique used to create the work.

Karakterláncopcionális
Dimensionsdimensions

Physical dimensions of the work, including units.

Karakterláncopcionális
Durationduration

Duration of a time-based work.

Karakterláncopcionális
Resolutionresolution

Digital image or video resolution.

Karakterláncopcionális
Aspect ratioaspect_ratio

Image or video aspect ratio.

Karakterláncopcionális
Frame rateframe_rate

Video frame rate, including units.

Karakterláncopcionális
Softwaresoftware

Semicolon-separated software names.

Karakterláncopcionális
Primary linkprimary_link

Primary web page for the work.

URLopcionális
Documentationdocumentation_link

Link to documentation of the work.

URLopcionális
Videovideo_link

Link to a video of the work.

URLopcionális
Repositoryrepository_link

Link to the source code or project repository.

URLopcionális
Downloaddownload_link

Link for downloading the work or related files.

URLopcionális
Archivearchive_link

Link to an archived copy or archive record.

URLopcionális
Keywordskeywords

Semicolon-separated keywords.

Karakterláncopcionális
Exhibitionsexhibitions

Semicolon-separated exhibition page names.

Karakterláncopcionális
Coursescourses

Semicolon-separated course page names.

Karakterláncopcionális
Collectionscollections

Semicolon-separated collection page names.

Karakterláncopcionális
Languagelanguage

Language of the work or its textual content.

Karakterláncopcionális
Licenselicense

License under which the work is made available.

Karakterláncopcionális
Rights holderrights_holder

Person or organization holding rights to the work.

Karakterláncopcionális
Identifieridentifier

Persistent, institutional, or catalogue identifier.

Karakterláncopcionális
Imageimage

Main image filename, without the File: prefix.

Fájlopcionális
Image captionimage_caption

Caption displayed below the main image.

Karakterláncopcionális