Template:Metadata/Caption

From OpenMedia
Jump to: navigation, search

Provide a language specific caption (part of Template:Metadata).

Parameter

language code= 
language code, e.g. “en”
content= 
caption specific to the language (property: caption: saved in a tagged form as such @en:caption or @de:Beschriftung)

Usage

{{Metadata/Caption |language code=en|content=Please specify a caption in English}}
English: Please specify a caption in English

Dependencies

  • {{WikiSyntaxToHTMLEntities}}
  • CSS separator
    /* Template:Metadata */
    .has-language-specific-caption {
        border-left: 2px solid transparent;
        border-right: 2px solid transparent;
    }
    .has-language-specific-caption:first-child {
        border: 0px none;
    }