Template:Sign: Difference between revisions

From Kanthaus wiki
Lb34 (talk | contribs)
No edit summary
Liou (talk | contribs)
No edit summary
 
(32 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": "string",
"type": "wiki-file-name",
"required": true
"suggested": true
},
},
"english-text": {
"english-text": {
Line 20: Line 20:
"description": "Text in English",
"description": "Text in English",
"type": "string",
"type": "string",
"required": true
"suggested": true
},
},
"german-text": {
"german-text": {
Line 26: Line 26:
"description": "Text in German",
"description": "Text in German",
"type": "string",
"type": "string",
"required": true
"suggested": true
},
},
"url": {
"url": {
Line 35: Line 35:
},
},
"location": {
"location": {
"label": "Location",
"description": "Page/Location where file is stored",
"description": "Location where file is stored",
"type": "string",
"type": "string",
"required": true,
"required": true,
"default": "{{PAGEID}}",
"default": "wiki.kanthaus.online/{{FULLPAGENAMEE}}",
"autovalue": "{{PAGEID}}"
"autovalue": "wiki.kanthaus.online/{{FULLPAGENAMEE}}"
},
},
"author": {
"author": {
"label": "Author",
"description": "Your name",
"description": "Your name",
"type": "string",
"type": "string",
"required": true,
"required": true,
"autovalue": "{{REVISIONUSER}}",
"default": "{{REVISIONUSER}}"
"default": "{{REVISIONUSER}}"
},
},
"date": {
"date": {
"label": "Date",
"description": "Current date",
"description": "Current date",
"type": "string",
"type": "wiki-template-name",
"required": true,
"required": true,
"default": "{{CURRENTDATE}}"
"autovalue": "{{{CURRENTDATE}}}",
"default": "{{{CURRENTDATE}}}"
},
},
"title_de": {
"title_de": {
"type": "string",
"type": "string",
"required": true,
"label": "german title",
"label": "german title"
"suggested": true
}
}
},
},
Line 77: Line 76:
</noinclude>
</noinclude>
<div style="display: flex; align-items: center;">
<div style="display: flex; align-items: center;">
   <div style="font-size: 120%; margin-right: 10px;">{{{title-icon}}}</div>
   <div style="font-size: 120%; margin-right: 5px;">{{{title-icon}}}</div>
   <div style="display: flex; flex-direction: column;">
   <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 Sans; font-size: 120%; font-weight: bold;">{{{title_english}}}</div>
Line 83: Line 82:
   </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="border: 1px solid #000; padding: 10px; margin-top: 20px;">
<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}}}
     {{{german-text}}}
Line 94: Line 92:
     URL: {{{url}}}
     URL: {{{url}}}
   </div>}}
   </div>}}
  <div style="float: left; font-size: 60%; font-family: Liberation Mono; color: #808080;">Location: {{{location}}}</div>
<div style="display: flex; justify-content: space-between; font-size: 80%;">
   <div style="float: right; font-size: 60%; font-family: Liberation Sans; color: #808080;">Author: {{{author}}}</div>
  <div style="font-family: Liberation Mono; color: #808080;">{{{location}}}</div>
<div style="float: right; font-size: 60%; font-family: Liberation Mono; color: #808080;">Date: {{{date}}}</div>
   <div style="font-family: Liberation Sans; color: #808080;">{{{author}}}</div>
  <div style="font-family: Liberation Mono; color: #808080;">{{{date}}}</div>
</div>
</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}}}