Template:Sign: Difference between revisions
No edit summary |
No edit summary |
||
Line 2: | Line 2: | ||
<templatedata> | <templatedata> | ||
{ | { | ||
"description": "Kanthaus sign template", | |||
"params": { | |||
"title_english": { | |||
"label": "title_english", | |||
"description": "Short and descriptive title", | |||
"type": "string", | |||
"required": true | |||
}, | |||
"title-icon": { | |||
"label": "Title icon", | |||
"description": "Icon to support visual filtering of information", | |||
"type": "string", | |||
"required": true | |||
}, | |||
"english-text": { | |||
"label": "English text", | |||
"description": "Text in English", | |||
"type": "string", | |||
"required": true | |||
}, | |||
"german-text": { | |||
"label": "German text", | |||
"description": "Text in German", | |||
"type": "string", | |||
"required": true | |||
}, | |||
"url": { | |||
"label": "URL", | |||
"description": "URL or other information", | |||
"type": "string", | |||
"required": false | |||
}, | |||
"location": { | |||
"label": "Location", | |||
"description": "Location where file is stored", | |||
"type": "string", | |||
"required": true | |||
}, | |||
"author": { | |||
"label": "Author", | |||
"description": "Your name", | |||
"type": "string", | |||
"required": true | |||
}, | |||
"date": { | |||
"label": "Date", | |||
"description": "Current date", | |||
"type": "string", | |||
"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: {{{ | {{#if: {{{title_english|}}}|== {{{title_english}}} ==}} | ||
</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
Parameter | Description | Type | Status | |
---|---|---|---|---|
title_english | title_english | Short and descriptive title | String | required |
title_de | title_de | no description | String | optional |
Title icon | title-icon | Icon to support visual filtering of information | String | required |
English text | english-text | Text in English | String | required |
German text | german-text | Text in German | String | required |
URL | url | URL or other information | String | optional |
Location | location | Location where file is stored | String | required |
Author | author | Your name | String | required |
Date | date | Current date | String | required |
{{{title-icon}}}
{{{english-text}}}
{{{german-text}}}
Location: {{{location}}}
Author: {{{author}}}
Date: {{{date}}}