Template:Infobox Voice Assistant: Difference between revisions

m Template field improvements
mNo edit summary
 
(43 intermediate revisions by the same user not shown)
Line 2: Line 2:
<pre>
<pre>
{{Infobox Voice Assistant
{{Infobox Voice Assistant
|VoiceAssist-URL-Param=
| Name = Cool voice assistant
|VoiceAssist-License=Wiki Syntax example
| InternetRequired = yes
| SupportedLanguages = de,en,fr
| WakeWord = Hey assistant
| SupportedOS = Raspian
| CodeLanguage = Python3
| LatestReleaseDate = 2021-12-19
}}
}}
</pre>
</pre>
Line 9: Line 14:


<onlyinclude>
<onlyinclude>
    <div class="infobox float-right" id="vorlage-infobox-Name" summary="Infobox Name"
{| class="wikitable" style="float:right; margin-left: 30px;
        style="border:1px solid lightsteelblue; padding:5px; width:25em; margin:0 0 0.5em 1em; font-size:85%; background:#F9F9F9;">
|-
        <div
!colspan="2"|<span style="font-size: larger;">{{#if:{{{Name|}}} | {{{Name}}} | {{PAGENAME}} }}</span>
            style="background:lightsteelblue; margin-bottom:2px; text-align:center; font-size:118%; font-weight:bold; width:100%;">
|-
            {{#if: {{{Name|}}}|{{{Name}}}|{{PAGENAME}} }} </div>
{{#if: {{{Url|}}} | <nowiki />
 
  {{!}}-
        {| style="width:100%; margin:0; text-align:left;"
  {{!}} '''Website'''
 
  {{!}} {{{Url}}}
        |-
}}
        !colspan="2"| {{#if:{{{name-Param|}}} | Name {{!!}} {{{name-Param}}} }}
{{#if:{{{License|}}} | <nowiki />
 
  {{!}}-
        |-
  {{!}} '''License'''
        !colspan="2"| {{#if:{{{url-Param|}}} | URL {{!!}} {{{url-Param}}} }}
  {{!}} {{{License}}}
 
}}
        |-
{{#if:{{{InternetRequired|}}} | <nowiki />
        !colspan="2"| {{#if:{{{license-Param|}}} | License {{!!}} {{{license-Param}}} }}
  {{!}}-
 
  {{!}} '''Internetaccess required'''
        |-
  {{!}} {{{InternetRequired}}}
        !colspan="2"| {{#if:{{{os-Param|}}} | Operating System {{!!}} {{{os-Param}}} }}
}}
 
{{#if:{{{SupportedLanguages|}}} | <nowiki />
        |-
  {{!}}-
        !colspan="2"| {{#if:{{{codelang-Param|}}} | Programming Language {{!!}} {{{codelang-Param}}} }}
  {{!}} '''Supported Languages'''
 
  {{!}} {{{SupportedLanguages}}}
        |-
}}
        !colspan="2"| {{#if:{{{supplang-Param|}}} | Supported Languages {{!!}} {{{supplang-Param}}} }}
{{#if:{{{WakeWord|}}} | <nowiki />
 
  {{!}}-
        |-
  {{!}} '''Default Wakeword'''
        !colspan="2"| {{#if:{{{inetreq-Param|}}} | Requires Internet {{!!}} {{{inetreq-Param}}} }}
  {{!}} {{{WakeWord}}}
 
}}
        |-
{{#if:{{{DefaultSTT|}}} | <nowiki />
        !colspan="2"| {{#if:{{{defstt-Param|}}} | Default STT {{!!}} {{{defstt-Param}}} }}
  {{!}}-
 
  {{!}} '''Default STT Engine'''
        |-
  {{!}} {{{DefaultSTT}}}
        !colspan="2"| {{#if:{{{defwakeword-Param|}}} | Default Wakeword {{!!}} {{{defwakeword-Param}}} }}
}}
 
{{#if:{{{DefaultTTS|}}} | <nowiki />
        |-
  {{!}}-
        !colspan="2"| {{#if:{{{deftts-Param|}}} | Default TTS {{!!}} {{{deftts-Param}}} }}
  {{!}} '''Default TTS Engine'''
 
  {{!}} {{{DefaultTTS}}}
        |-
}}
        !colspan="2"| {{#if:{{{version-Param|}}} | Latest Version {{!!}} {{{version-Param}}} }}
{{#if:{{{SupportedOS|}}} | <nowiki />
 
  {{!}}-
        |-
  {{!}} '''Operating System'''
        !colspan="2"| {{#if:{{{lastupdate-Param|}}} | Last Update {{!!}} {{{lastupdate-Param}}} }}
  {{!}} {{{SupportedOS}}}
 
}}
        |-
{{#if:{{{CodeLanguage|}}} | <nowiki />
 
  {{!}}-
        |}
  {{!}} '''Programming Language'''
    </div>
  {{!}} {{{CodeLanguage}}}
}}
{{#if:{{{LatestVersion|}}} | <nowiki />
  {{!}}-
  {{!}} '''Latest Version'''
  {{!}} {{{LatestVersion}}}
}}
{{#if:{{{LatestReleaseDate|}}} | <nowiki />
  {{!}}-
  {{!}} '''Latest Update'''
  {{!}} {{{LatestReleaseDate}}}
}}
|}
</onlyinclude>
</onlyinclude>


<templatedata>
<templatedata>
{
{
    "description": "",
"description": "Infobox template for all available (open) voice assistants.",
    "params": {
"params": {
        "name-Param": {
"Name": {
            "label": "Name of voice assistant",
"description": "Name of voice assistant, project or building company.",
            "description": "Project or Company name",
"example": "Cool Voice Assistant",
            "type": "string"
"type": "string",
        },
"required": false,
        "url-Param": {
"label": "Name of voice assistant"
            "label": "Domain for further info on Voice Assistant",
},
            "description": "",
"Url": {
            "type": "string"
"description": "Webaddress for further information on this voice assistant.",
        },
"example": "https://www.CoolVoiceAssistant.local",
        "license-Param": {
"type": "url",
            "label": "License for Voice Assistant",
"label": "Webpage"
            "description": "",
},
            "type": "string"
"License": {
        }
"description": "License this voice assistant is build / delivered with.",
    }
"type": "string"
},
"SupportedLanguages": {
"description": "Languages supported by this voice assistant (multi for several languages).",
"type": "string",
"default": "multi",
"label": "Supported languages"
},
"CodeLanguage": {
"description": "Developped in which code language",
"type": "string",
"default": "Python, Perl, PHP, ...",
"label": "Development language (Code)"
},
"InternetRequired": {
"description": "Is Internet access required for this voice assistant to work properly",
"type": "boolean",
"required": true,
"label": "Online connectivity required"
},
"DefaultSTT": {
"description": "Default engine for speech recognition.",
"type": "string",
"default": "Cloud, Deepspeech, Kaldi, ...",
"label": "Speech recognition service"
},
"DefaultTTS": {
"description": "Default engine for speech generation (TTS)",
"example": "Cloud, Coqui TTS, ...",
"type": "string",
"label": "Speech generation service"
},
"SupportedOS": {
"description": "Supported Operating Systems",
"type": "string",
"default": "Raspian, Ubuntu, Mac OS X, Windows",
"required": true,
"label": "Supported Operating Systems"
},
"WakeWord": {
"description": "Default Wakeword to activate Voice assistant.",
"type": "string",
"default": "Hey Assistant.",
"required": true,
"label": "Activation word (Wakeword)"
},
"LatestVersion": {
"description": "Latest public stable available version",
"type": "string",
"label": "Latest stable version"
},
"LatestReleaseDate": {
"description": "Release date of latest stable version.",
"type": "date",
"label": "Release date of stable version"
}
},
"format": "block",
"paramOrder": [
"Name",
"Url",
"License",
"InternetRequired",
"SupportedLanguages",
"WakeWord",
"DefaultSTT",
"DefaultTTS",
"SupportedOS",
"CodeLanguage",
"LatestVersion",
"LatestReleaseDate"
]
}
}
</templatedata>
</templatedata>