Vorlage:BSExtensionInfobox: Unterschied zwischen den Versionen

(Markierung: 2017-Quelltext-Bearbeitung)
(Markierung: 2017-Quelltext-Bearbeitung)

This is the "BSExtensionInfobox" template. It should be called in the following format:

{{BSExtensionInfobox
|desc=
|status=
|developer=
|type=
|compatible=
|edition=
|category=
|docu=
|active=
|license=
|docu=
}}

semantic properties[Quelltext bearbeiten]

semantic property template variable type multiple choice allowed values
Property:BSExtensionInfoName text
Property:BSExtensionInfoDescription desc text
Property:BSExtensionInfoStatus status text unknown, unstable, experimental, beta, stable, unmaintained
Property:BSExtensionInfoDeveloper developer text x
Property:BSExtensionInfoType type text MediaWiki, BlueSpice
Property:BSExtensionInfoEdition edition text BlueSpice free, BlueSpicePro
Property:BSExtensionInfoActivated active bool Ja, Nein
Property:BSExtensionInfoCompatible compatible text x MediaWiki, BlueSpice
Property:BSExtensionInfoCategory category text Administration, Buchfunktion, Kommunikation, Inhaltliche Strukturierung, Datenanalyse, Dokumentenmanagement, Editor, Export, Infrastruktur, Mobile, Personalisierung, Qualitätssicherung, Reporting, Rich articles, Suche und Navigation, Sicherheit, Skinning
Property:BSExtensionInfoLicense license page ISC, MIT, WTFPL, GPL v2+, GPL v2+ and BSD 3 Clause, GPL v2+ and MIT, GPL v3+, GPL v3
Property:BSExtensionInfoDocumentation docu url

Edit the page to see the template text.



<noinclude>
        
        This is the "BSExtensionInfobox" template.
        
        It should be called in the following format:
        
<pre>{{BSExtensionInfobox
        
        |desc=
        
        |status=
        
        |developer=
        
        |type=
        
        |compatible=
        
        |edition=
        
        |category=
        
        |docu=
        
        |active=
        
        |license=
        
        |docu=
        
        }}
        </pre>
        

        ==semantic properties==
        
        {| class="wikitable extension-infobox"
        
        |-
        
        ! semantic property
        
        ! template variable
        
        ! type
        
        ! multiple choice
        
        ! allowed values
        
        |-
        
        | [[Property:BSExtensionInfoName]]
        
        | 
        
        | text
        
        | 
        
        | 
        
        |-
        
        | [[Property:BSExtensionInfoDescription]]
        
        | desc
        
        | text
        
        | 
        
        |
        
        |-
        
        | [[Property:BSExtensionInfoStatus]]
        
        | status
        
        | text
        
        | 
        
        | unknown, unstable, experimental, beta, stable, unmaintained
        
        |-
        
        | [[Property:BSExtensionInfoDeveloper]]
        
        | developer
        
        | text
        
        | x
        
        | 
        
        |-
        
        | [[Property:BSExtensionInfoType]]
        
        | type
        
        | text
        
        | 
        
        | MediaWiki, BlueSpice
        
        |-
        
        | [[Property:BSExtensionInfoEdition]]
        
        | edition
        
        | text
        
        | 
        
        | BlueSpice free, BlueSpicePro
        
        |-
        
        | [[Property:BSExtensionInfoActivated]]
        
        | active
        
        | bool
        
        | 
        
        | Ja, Nein
        
        |-
        
        | [[Property:BSExtensionInfoCompatible]]
        
        | compatible
        
        | text
        
        | x
        
        | MediaWiki, BlueSpice
        
        |-
        <!--| [[Property:BSExtensionInfoPackage]]
            
            | package
            
            | text
            
            | 
            
            | Bookmaker, DocumentManager, Teamwork, SemanticData, PasteImage, ServiceCenter, VisualDiff, WikiExplorer, Reminder, RatedComments, ReadConfirmation
            
            |- -->
        
        | [[Property:BSExtensionInfoCategory]]
        
        | category
        
        | text
        
        | 
        
        | Administration, Buchfunktion, Kommunikation, Inhaltliche Strukturierung, Datenanalyse, Dokumentenmanagement, Editor, Export, Infrastruktur, Mobile, Personalisierung, Qualitätssicherung, Reporting, Rich articles, Suche und Navigation, Sicherheit, Skinning
        
        |-
        
        | [[Property:BSExtensionInfoLicense]]
        
        | license
        
        | page
        
        | 
        
        | ISC, MIT, WTFPL, GPL v2+, GPL v2+ and BSD 3 Clause, GPL v2+ and MIT, GPL v3+, GPL v3
        
        |-
        
        | [[Property:BSExtensionInfoDocumentation]]
        
        | docu
        
        | url
        
        | 
        
        | 
        
        |}
        

        Edit the page to see the template text.
        </noinclude>
        
<includeonly>{| class="extension-infobox" 
            
            |-
            
            !class="extension-infobox-header style="width: 25em; font-size: 90%; background-color: #f5f5f5; color: black; margin-bottom: 0.5em; margin-left: 1em; padding: 0.2em; float: right; clear: right; text-align: left;"
            
            |-
            
            !style="text-align: center; background-color:#506bb1; padding:8px;" colspan="2"|<span style="font-size: larger; color: #FFFFFF;">[[BSExtensionInfoName::{{PAGENAME}}]]</span>
        
        |-
        
        ! style="font-weight:normal; text-align: left; background-color:#eeeeee; padding: 20px 10px 20px 10px;" colspan="2"|<span>[[BSExtensionInfoDescription::{{{desc|}}}]]</span>
        
        |-
        
        ! style="vertical-align:top; padding: 20px 10px 0 10px;" | Status:
        
        | style="vertical-align:bottom; padding: 20px 10px 0 10px;" | [[BSExtensionInfoStatus::{{{status|}}}]]
        
        |-
        
        ! style="vertical-align:top; padding: 0 10px;" | Entwickler:
        
        | style="vertical-align:bottom; padding: 0 10px;" | {{#arraymap:{{{developer|}}}|,|y|[[BSExtensionInfoDeveloper::y]]}}
        
        |-
        
        ! style="vertical-align:top; padding: 0 10px;" | Art der Extension:
        
        | style="vertical-align:bottom; padding: 0 10px;" | {{#if:{{{docu|}}}|[{{{docu|}}} {{{type|}}}] |   [[BSExtensionInfoType::{{{type|}}}]]}}
        
        |-
        
        ! style="vertical-align:top; padding: 0 10px;" | Edition:
        
        | style="vertical-align:bottom; padding: 0 10px;" | [[BSExtensionInfoEdition::{{{edition|}}}]]
        
        |-
        
        ! style="vertical-align:top; padding: 0 10px;" | Abhängigkeit:
        
        | style="vertical-align:bottom; padding: 0 10px;" | {{#arraymap:{{{compatible|}}}|,|y|[[BSExtensionInfoCompatible::y]]}}
        
        |-
        <!-- ! style="vertical-align:top; padding: 0 10px;" | Softwarepaket:
            
            | style="vertical-align:bottom; padding: 0 10px;" | [[BSExtensionInfoPackage::{{{package|-}}}]]
            
            |- -->
        
        ! style="vertical-align:top; padding: 0 10px;" | Lizenz:
        
        | style="vertical-align:bottom; padding: 0 10px;" | [[BSExtensionInfoLicense::{{{license|-}}}]]
        
        |-
        
        ! style="vertical-align:top; padding: 0 10px;" | Aktiviert:
        
        | style="vertical-align:bottom; padding: 0 10px;" | [[BSExtensionInfoActive::{{{active|-}}}]]
        
        |-
        
        ! style="vertical-align:top; padding: 0 10px 20px 10px;" | Kategorie:
        
        | style="vertical-align:top; padding: 0 10px 20px 10px;" | {{#arraymap:{{{category|-}}}|,|z|[[BSExtensionInfoCategory::z]]}}
        
        |-
        
        {{#ifexist: Handbuch:Erweiterung/{{PAGENAME}} |
        
        ! style="font-weight:normal; text-align:center; vertical-align:top; padding-left:10px; padding-top:10px;  padding-bottom:10px; background-color:#eeeeee;" colspan="2"{{!}} <div class="questionmark-icon"> '''[[Handbuch:Erweiterung/{{PAGENAME}}|Hilfeseite ansehen]]'''</div>
        
        {{!}}-|}}
        
        |}{{#set:
        
        BSExtensionInfoActive={{{active|}}}|
        
        BSExtensionInfoLicense={{{license|}}}
        
        }}</includeonly>
Zeile 19: Zeile 19:
  
 
==semantic properties==
 
==semantic properties==
{| class="wikitable"
+
{| class="wikitable extension-infobox"
 
|-
 
|-
 
! semantic property
 
! semantic property
Zeile 104: Zeile 104:
  
  
<includeonly>{| style="width: 25em; font-size: 90%; background-color: #f5f5f5; color: black; margin-bottom: 0.5em; margin-left: 1em; padding: 0.2em; float: right; clear: right; text-align: left;"
+
<includeonly>{| class="extension-infobox"  
 
|-
 
|-
!style="text-align: center; background-color:#506bb1; padding:8px;" colspan="2"|<span style="font-size: larger; color: #FFFFFF;">[[BSExtensionInfoName::{{PAGENAME}}]]</span>
+
!class="extension-infobox-header" colspan="2"|<span style="font-size: larger; color: #FFFFFF;">[[BSExtensionInfoName::{{PAGENAME}}]]</span>
 
|-
 
|-
 
! style="font-weight:normal; text-align: left; background-color:#eeeeee; padding: 20px 10px 20px 10px;" colspan="2"|<span>[[BSExtensionInfoDescription::{{{desc|}}}]]</span>
 
! style="font-weight:normal; text-align: left; background-color:#eeeeee; padding: 20px 10px 20px 10px;" colspan="2"|<span>[[BSExtensionInfoDescription::{{{desc|}}}]]</span>

Anhänge

Diskussionen