Template:Sign: Difference between revisions

From Kanthaus wiki
Lb34 (talk | contribs)
No edit summary
Lb34 (talk | contribs)
No edit summary
Line 2: Line 2:
<templatedata>
<templatedata>
{
{
    "description": "Kanthaus sign template",
"description": "Kanthaus sign template",
    "params": {
"params": {
        "title": {
"title_english": {
            "label": "Title",
"label": "title_english",
            "description": "Short and descriptive title",
"description": "Short and descriptive title",
            "type": "string",
"type": "string",
            "required": true
"required": true
        },
},
        "title-icon": {
"title-icon": {
            "label": "Title icon",
"label": "Title icon",
            "description": "Icon to support visual filtering of information",
"description": "Icon to support visual filtering of information",
            "type": "string",
"type": "string",
            "required": true
"required": true
        },
},
        "english-text": {
"english-text": {
            "label": "English text",
"label": "English text",
            "description": "Text in English",
"description": "Text in English",
            "type": "string",
"type": "string",
            "required": true
"required": true
        },
},
        "german-text": {
"german-text": {
            "label": "German text",
"label": "German text",
            "description": "Text in German",
"description": "Text in German",
            "type": "string",
"type": "string",
            "required": true
"required": true
        },
},
        "url": {
"url": {
            "label": "URL",
"label": "URL",
            "description": "URL or other information",
"description": "URL or other information",
            "type": "string",
"type": "string",
            "required": false
"required": false
        },
},
        "location": {
"location": {
            "label": "Location",
"label": "Location",
            "description": "Location where file is stored",
"description": "Location where file is stored",
            "type": "string",
"type": "string",
            "required": true
"required": true
        },
},
        "author": {
"author": {
            "label": "Author",
"label": "Author",
            "description": "Your name",
"description": "Your name",
            "type": "string",
"type": "string",
            "required": true
"required": true
        },
},
        "date": {
"date": {
            "label": "Date",
"label": "Date",
            "description": "Current date",
"description": "Current date",
            "type": "string",
"type": "string",
            "required": true
"required": true
        }
},
    }
"title_de": {
"type": "string"
}
},
"paramOrder": [
"title_english",
"title_de",
"title-icon",
"english-text",
"german-text",
"url",
"location",
"author",
"date"
]
}
}
</templatedata>
</templatedata>
</noinclude>
</noinclude>
<div style="font-family: Liberation Sans; font-size: 120%; font-weight: bold;">
<div style="font-family: Liberation Sans; font-size: 120%; font-weight: bold;">
   {{#if: {{{title|}}}|== {{{title}}} ==}}
   {{#if: {{{title_english|}}}|== {{{title_english}}} ==}}
  {{{title-icon}}}
</div>
</div>
<div style="font-family: Liberation Serif; font-size: 120%; font-style: italic; color: #808080;">
  {{#if: {{{title_de|}}}|== {{{title_de}}} ==}}
</div>
{{{title-icon}}}


<div style="font-family: Liberation Sans; font-size: 100%; font-style: normal;">
<div style="font-family: Liberation Sans; font-size: 100%; font-style: normal;">

Revision as of 16:00, 18 January 2025

Kanthaus sign template

Template parameters[Edit template data]

ParameterDescriptionTypeStatus
title_englishtitle_english

Short and descriptive title

Stringrequired
title_detitle_de

no description

Stringoptional
Title icontitle-icon

Icon to support visual filtering of information

Stringrequired
English textenglish-text

Text in English

Stringrequired
German textgerman-text

Text in German

Stringrequired
URLurl

URL or other information

Stringoptional
Locationlocation

Location where file is stored

Stringrequired
Authorauthor

Your name

Stringrequired
Datedate

Current date

Stringrequired

{{{title-icon}}}

 {{{english-text}}}
 {{{german-text}}}


 Location: {{{location}}}
 Author: {{{author}}}
 Date: {{{date}}}