User:MatthiasDD/Template:sandbox/doc

From Wikimedia Commons, the free media repository
Jump to navigation Jump to search

Extends the Infobox {{Information}} with a Information field for a Inscription. Write it always at parameter "other_fields_1= and add, if possible, a English translation.

Usage

{{MatthiasDD/Template:sandbox |1= |language= }}

Template parameters

ParameterDescriptionDefaultStatus
1original inscription textemptyrequired
full formclearer (e.g. unabreviated) version of the inscription textemptyoptional
transliterationTransliterationemptyoptional
positionposition of the inscription (e.g. "bottom left", "center"...) (this parameter uses {{Position parameter}})emptyoptional
languageISO code of the language used in the inscription (e.g "en" "pt").
Use "~" to indicate that the language is not relevant (e.g. Arabic numerals or signature in Roman alphabet like "C. Monet 1896".
Use "?" to indicate that you cannot identify the language
For a bilingual description, you can add two language codes separated by a "/" (eg. 'language=el/he')
emptyoptional
en
translation

English translation (if useful) of the inscription.
emptyoptional
deGerman translation (if useful) similarly: "nl=" for Dutch translation, "ja=" for Japanese etc. see Commons:Language templates for all choises.emptyoptional
moresecond {{Inscription}} or other text insert at end with a new line.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:

Within the template {{Information}}, at other_fields_1= (or similar)

Relies on:
{{Information field}}, {{I18n/inscription}}, {{Inscription}}, {{Position}}, {{Position parameter}}, {{Inscription/style}}, {{Inscription/categorization}}, {{GetFallback}}, {{GetFallback2}}

See also

For artwork use template {{Artwork}} with {{Inscription}}.

example

{{Information
| Description  = Description
| other_fields_1= {{User:MatthiasDD/Template:sandbox |monum. Latine |full form=monumenti Latine |position=bottom
   |transliteration=Transliteration |language=la 
   |de=Deutsche Übersetzung |en=English translation |fr=traduction française}}
| Date         = 2013-10-22
| Source       = {{own}}
| Author       = Author
}}

gives

Description Description
Inscription
InfoField
bottom: monum. Latine [monumenti Latine] -Transliteration- [English translation]
Date
Source Own work
Author Author

example 2 Inscriptions or more

{{Information
| Description  = Description
| other_fields_1= {{User:MatthiasDD/Template:sandbox |Text1 |position=top 
  |more={{Inscription |Text2 |position=bottom}}…
  }}
| Date = …
}}

gives

Description Description
Inscription
InfoField
top: Text1
bottom: Text2
Date
Source Own work
Author Author

Microformat

This template mark the first column with <td class="fileinfo-paramfield inscription">. Not the same as in {{Artwork}}.