Template:Sign: Difference between revisions

From Kanthaus wiki
Lb34 (talk | contribs)
Created page with "{{#invoke:MeineVorlage|render | title = {{{1}}} | symbol = {{{2}}} | name_english = {{{3}}} | name_german = {{{4}}} | message_english = {{{5}}} | message_german = {{{6}}} | author = {{{7}}} | location = {{{8}}} | date = {{{9}}} }}"
 
Liou (talk | contribs)
No edit summary
 
(47 intermediate revisions by 2 users not shown)
Line 1: Line 1:
{{#invoke:MeineVorlage|render
<noinclude>
| title = {{{1}}}
<templatedata>
| symbol = {{{2}}}
{
| name_english = {{{3}}}
"description": "Kanthaus sign template",
| name_german = {{{4}}}
"params": {
  | message_english = {{{5}}}
"title_english": {
| message_german = {{{6}}}
"label": "title_english",
| author = {{{7}}}
"description": "Short and descriptive title",
| location = {{{8}}}
"type": "string",
| date = {{{9}}}
"required": true
}}
},
"title-icon": {
"label": "Title icon",
"description": "Icon to support visual filtering of information",
"type": "wiki-file-name",
"suggested": true
},
"english-text": {
"label": "English text",
"description": "Text in English",
"type": "string",
"suggested": true
},
"german-text": {
"label": "German text",
"description": "Text in German",
"type": "string",
"suggested": true
},
"url": {
"label": "URL",
"description": "URLs, passwords or other cases where information has to be unambiguous",
"type": "string",
"required": false
},
"location": {
"description": "Page/Location where file is stored",
"type": "string",
"required": true,
"default": "wiki.kanthaus.online/{{FULLPAGENAMEE}}",
"autovalue": "wiki.kanthaus.online/{{FULLPAGENAMEE}}"
},
"author": {
"description": "Your name",
"type": "string",
"required": true,
"autovalue": "{{REVISIONUSER}}",
"default": "{{REVISIONUSER}}"
},
"date": {
"description": "Current date",
"type": "wiki-template-name",
"required": true,
"autovalue": "{{{CURRENTDATE}}}",
"default": "{{{CURRENTDATE}}}"
},
"title_de": {
"type": "string",
"label": "german title",
"suggested": true
}
},
"paramOrder": [
"title_english",
"title_de",
"title-icon",
"english-text",
"german-text",
"url",
"location",
"author",
"date"
]
}
</templatedata>
</noinclude>
<div style="display: flex; align-items: center;">
  <div style="font-size: 120%; margin-right: 5px;">{{{title-icon}}}</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;">{{{title_de}}}</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;">
  {{{english-text}}}
</div>
  <div style="font-family: Liberation Serif; font-size: 100%; font-style: italic; color: #808080;">
    {{{german-text}}}
  </div>
  {{#if: {{{url|}}}|<div style="font-family: Liberation Mono; font-size: 100%; background-color: #dddddd;">
    URL: {{{url}}}
  </div>}}
<div style="display: flex; justify-content: space-between; font-size: 80%;">
  <div style="font-family: Liberation Mono; color: #808080;">{{{location}}}</div>
  <div style="font-family: Liberation Sans; color: #808080;">{{{author}}}</div>
  <div style="font-family: Liberation Mono; color: #808080;">{{{date}}}</div>
</div>
</div>

Latest revision as of 23:58, 20 January 2025

Kanthaus sign template

Template parameters[Edit template data]

ParameterDescriptionTypeStatus
title_englishtitle_english

Short and descriptive title

Stringrequired
german titletitle_de

no description

Stringsuggested
Title icontitle-icon

Icon to support visual filtering of information

Filesuggested
English textenglish-text

Text in English

Stringsuggested
German textgerman-text

Text in German

Stringsuggested
URLurl

URLs, passwords or other cases where information has to be unambiguous

Stringoptional
locationlocation

Page/Location where file is stored

Default
wiki.kanthaus.online/{{FULLPAGENAMEE}}
Auto value
wiki.kanthaus.online/{{FULLPAGENAMEE}}
Stringrequired
authorauthor

Your name

Default
{{REVISIONUSER}}
Auto value
{{REVISIONUSER}}
Stringrequired
datedate

Current date

Default
{{{CURRENTDATE}}}
Auto value
{{{CURRENTDATE}}}
Templaterequired
{{{title-icon}}}
{{{title_english}}}
{{{title_de}}}
 {{{english-text}}}
   {{{german-text}}}
{{{location}}}
{{{author}}}
{{{date}}}