Template:Sign: Difference between revisions
No edit summary |
No edit summary |
||
(42 intermediate revisions by 2 users not shown) | |||
Line 13: | Line 13: | ||
"label": "Title icon", | "label": "Title icon", | ||
"description": "Icon to support visual filtering of information", | "description": "Icon to support visual filtering of information", | ||
"type": " | "type": "wiki-file-name", | ||
" | "suggested": true | ||
}, | }, | ||
"english-text": { | "english-text": { | ||
Line 20: | Line 20: | ||
"description": "Text in English", | "description": "Text in English", | ||
"type": "string", | "type": "string", | ||
" | "suggested": true | ||
}, | }, | ||
"german-text": { | "german-text": { | ||
Line 26: | Line 26: | ||
"description": "Text in German", | "description": "Text in German", | ||
"type": "string", | "type": "string", | ||
" | "suggested": true | ||
}, | }, | ||
"url": { | "url": { | ||
"label": "URL", | "label": "URL", | ||
"description": " | "description": "URLs, passwords or other cases where information has to be unambiguous", | ||
"type": "string", | "type": "string", | ||
"required": false | "required": false | ||
}, | }, | ||
"location": { | "location": { | ||
"description": "Page/Location where file is stored", | |||
"description": "Location where file is stored", | |||
"type": "string", | "type": "string", | ||
"required": true | "required": true, | ||
"default": "wiki.kanthaus.online/{{FULLPAGENAMEE}}", | |||
"autovalue": "wiki.kanthaus.online/{{FULLPAGENAMEE}}" | |||
}, | }, | ||
"author": { | "author": { | ||
"description": "Your name", | "description": "Your name", | ||
"type": "string", | "type": "string", | ||
"required": true | "required": true, | ||
"autovalue": "{{REVISIONUSER}}", | |||
"default": "{{REVISIONUSER}}" | |||
}, | }, | ||
"date": { | "date": { | ||
"description": "Current date", | "description": "Current date", | ||
"type": " | "type": "wiki-template-name", | ||
"required": true | "required": true, | ||
"autovalue": "{{{CURRENTDATE}}}", | |||
"default": "{{{CURRENTDATE}}}" | |||
}, | }, | ||
"title_de": { | "title_de": { | ||
"type": "string" | "type": "string", | ||
"label": "german title", | |||
"suggested": true | |||
} | } | ||
}, | }, | ||
Line 70: | Line 75: | ||
</templatedata> | </templatedata> | ||
</noinclude> | </noinclude> | ||
<div style=" | <div style="display: flex; align-items: center;"> | ||
<div style="font-size: 120%; margin-right: 5px;">{{{title-icon}}}</div> | |||
</div> | <div style="display: flex; flex-direction: column;"> | ||
<div style="font-family: Liberation Sans; font-size: 120%; font-weight: bold;">{{{title_english}}}</div> | |||
<div style="font-family: Liberation Serif; font-size: 120%; font-style: italic; color: #808080;"> | <div style="font-family: Liberation Serif; font-size: 120%; font-style: italic; color: #808080;">{{{title_de}}}</div> | ||
</div> | |||
</div> | </div> | ||
<div style="border: 2px solid #000; padding: 10px; margin-top: 10px; margin-left:auto; margin-bottom: 10px; display: block; overflow: auto;"> | |||
<div style="font-family: Liberation Sans; font-size: 100%; font-style: normal;"> | <div style="font-family: Liberation Sans; font-size: 100%; font-style: normal;"> | ||
{{{english-text}}} | {{{english-text}}} | ||
</div> | </div> | ||
<div style="font-family: Liberation Serif; font-size: 100%; font-style: italic; color: #808080;"> | |||
<div style="font-family: Liberation Serif; font-size: 100%; font-style: italic; color: #808080;"> | {{{german-text}}} | ||
</div> | |||
</div> | {{#if: {{{url|}}}|<div style="font-family: Liberation Mono; font-size: 100%; background-color: #dddddd;"> | ||
URL: {{{url}}} | |||
{{#if: {{{url|}}}|<div style="font-family: Liberation Mono; font-size: 100%; background-color: #dddddd;"> | </div>}} | ||
<div style="display: flex; justify-content: space-between; font-size: 80%;"> | |||
</div>}} | <div style="font-family: Liberation Mono; color: #808080;">{{{location}}}</div> | ||
<div style="font-family: Liberation Sans; color: #808080;">{{{author}}}</div> | |||
<div style=" | <div style="font-family: Liberation Mono; color: #808080;">{{{date}}}</div> | ||
</div> | |||
<div style="font-family: Liberation Sans; font- | |||
</div> | </div> | ||
</div> | </div> |
Latest revision as of 23:58, 20 January 2025
Kanthaus sign template
Parameter | Description | Type | Status | |
---|---|---|---|---|
title_english | title_english | Short and descriptive title | String | required |
german title | title_de | no description | String | suggested |
Title icon | title-icon | Icon to support visual filtering of information | File | suggested |
English text | english-text | Text in English | String | suggested |
German text | german-text | Text in German | String | suggested |
URL | url | URLs, passwords or other cases where information has to be unambiguous | String | optional |
location | location | Page/Location where file is stored
| String | required |
author | author | Your name
| String | required |
date | date | Current date
| Template | required |
{{{title-icon}}}
{{{title_english}}}
{{{title_de}}}
{{{english-text}}}
{{{german-text}}}
{{{location}}}
{{{author}}}
{{{date}}}