Difference between revisions of "Template:BSExtensionInfobox"

(Tag: 2017 source edit)
(Tag: 2017 source edit)
 

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[edit source]

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 Yes, No
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"
        
        |-
        
        ! 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
        
        | 
        
        | Yes, No
        
        |-
        
        | [[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>
        
        {| 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;class="extension-infobox" 
            
            |-
            
            ! class="extension-infobox-header" colspan="2"|<span style="font-size: larger; color: #FFFFFF;class="extension-infobox-headertext">[[BSExtensionInfoName::{{PAGENAME}}]]</span>
        
        |-
        
        ! style="font-weight:normal; text-align: left; background-color:#eeeeee; padding: 20px 10px 20px 10px;class="extenstion-infobox-description" 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;" | Developer:
            
            | style="vertical-align:bottom; padding: 0 10px;class="extension-infobox-first-row" | Status:
            
            | class="extension-infobox-first-row" | [[BSExtensionInfoStatus::{{{status|}}}]]
            
            |-
            
            ! class="extension-infobox-row" | Developer:
            
            | class="extension-infobox-row" | {{#arraymap:{{{developer|}}}|,|y|[[BSExtensionInfoDeveloper::y]]}}
        
        |-
        
        ! style="vertical-align:top; padding: 0 10px;" | Extension type:
            
            | style="vertical-align:bottom; padding: 0 10px;" | [[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;" | Dependencies:
            
            | style="vertical-align:bottom; padding: 0 10px;class="extension-infobox-row" | Extension type:
            
            | class="extension-infobox-row" | {{#if:{{{docu|}}}|[{{{docu|}}} {{{type|}}}] |   [[BSExtensionInfoType::{{{type|}}}]]}}
            
            |-
            
            ! class="extension-infobox-row" | Edition:
            
            | class="extension-infobox-row" | [[BSExtensionInfoEdition::{{{edition|}}}]]
            
            |-
            
            ! class="extension-infobox-row" | Dependencies:
            
            | class="extension-infobox-row" | {{#arraymap:{{{compatible|}}}|,|y|[[BSExtensionInfoCompatible::y]]}}
        
        |- <!--
                
                ! style="vertical-align:top; padding: 0 10px;" | Package:
                
                | style="vertical-align:bottom; padding: 0 10px;" | [[BSExtensionInfoPackage::{{{package|-}}}]]
                
                |- -->
            
            ! style="vertical-align:top; padding: 0 10px;" | License:
            
            | style="vertical-align:bottom; padding: 0 10px;" | [[BSExtensionInfoLicense::{{{license|-}}}]]
            
            |-
            
            ! style="vertical-align:top; padding: 0 10px;" | Activated:
            
            | style="vertical-align:bottom; padding: 0 10px;" | [[BSExtensionInfoActivated::{{{active|-}}}]]
            
            |-
            
            ! style="vertical-align:top; padding: 0 10px 20px 10px;" | Category:
            
            | style="vertical-align:top; padding: 0 10px 20px 10px;
            
            ! class="extension-infobox-row" | License:
            
            | class="extension-infobox-row" | [[BSExtensionInfoLicense::{{{license|-}}}]]
            
            |-
            
            ! class="extension-infobox-row" | Activated:
            
            | class="extension-infobox-row" | [[BSExtensionInfoActivated::{{{active|-}}}]]
            
            |-
            
            ! class="extension-infobox-last-row" | Category:
            
            | class="extension-infobox-last-row" | {{#arraymap:{{{category|-}}}|,|z|[[BSExtensionInfoCategory::z]]}}
        
        |-
        
        {{#ifexist: Manual:Extension/{{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> class="extension-infobox-helppage" colspan="2"{{!}} <div class="questionmark-icon> '''[[Manual:Extension/{{PAGENAME}}|View help page]]'''</div>
        
        {{!}}-|}}
        {{#if:{{{docu|}}}|
            
            ! style="font-weight:normal; text-align:center; vertical-align:top; padding-left:10px; padding-top:10px;  padding-bottom:10px; background-color:#eeeeee;" colspan="2"{{!}} <span>[{{{docu|}}} Documentation on MediaWiki.org]</span>|}}
            
            |}
            
            {{|}
            
            {{#set:BSExtensionInfoActivated={{{active|}}}
        
        |BSExtensionInfoLicense={{{license|}}} }}
        </includeonly>
Line 11: Line 11:
 
|edition=
 
|edition=
 
|category=
 
|category=
|docu=
 
 
|active=
 
|active=
 
|license=
 
|license=
Line 103: Line 102:
 
</noinclude>
 
</noinclude>
 
<includeonly>
 
<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;"
+
{| 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 class="extension-infobox-headertext">[[BSExtensionInfoName::{{PAGENAME}}]]</span>
 
|-
 
|-
! style="font-weight:normal; text-align: left; background-color:#eeeeee; padding: 20px 10px 20px 10px;" colspan="2"|<span>[[BSExtensionInfoDescription::{{{desc|}}}]]</span>
+
! class="extenstion-infobox-description" colspan="2"|<span>[[BSExtensionInfoDescription::{{{desc|}}}]]</span>
 
|-
 
|-
! style="vertical-align:top; padding: 20px 10px 0 10px;" | Status:
+
! class="extension-infobox-first-row" | Status:
| style="vertical-align:bottom; padding: 20px 10px 0 10px;" | [[BSExtensionInfoStatus::{{{status|}}}]]
+
| class="extension-infobox-first-row" | [[BSExtensionInfoStatus::{{{status|}}}]]
 
|-
 
|-
! style="vertical-align:top; padding: 0 10px;" | Developer:
+
! class="extension-infobox-row" | Developer:
| style="vertical-align:bottom; padding: 0 10px;" | {{#arraymap:{{{developer|}}}|,|y|[[BSExtensionInfoDeveloper::y]]}}
+
| class="extension-infobox-row" | {{#arraymap:{{{developer|}}}|,|y|[[BSExtensionInfoDeveloper::y]]}}
 
|-
 
|-
! style="vertical-align:top; padding: 0 10px;" | Extension type:
+
! class="extension-infobox-row" | Extension type:
| style="vertical-align:bottom; padding: 0 10px;" | [[BSExtensionInfoType::{{{type|}}}]]
+
| class="extension-infobox-row" | {{#if:{{{docu|}}}|[{{{docu|}}} {{{type|}}}] |   [[BSExtensionInfoType::{{{type|}}}]]}}
 
|-
 
|-
! style="vertical-align:top; padding: 0 10px;" | Edition:
+
! class="extension-infobox-row" | Edition:
| style="vertical-align:bottom; padding: 0 10px;" | [[BSExtensionInfoEdition::{{{edition|}}}]]
+
| class="extension-infobox-row" | [[BSExtensionInfoEdition::{{{edition|}}}]]
 
|-
 
|-
! style="vertical-align:top; padding: 0 10px;" | Dependencies:
+
! class="extension-infobox-row" | Dependencies:
| style="vertical-align:bottom; padding: 0 10px;" | {{#arraymap:{{{compatible|}}}|,|y|[[BSExtensionInfoCompatible::y]]}}
+
| class="extension-infobox-row" | {{#arraymap:{{{compatible|}}}|,|y|[[BSExtensionInfoCompatible::y]]}}
|- <!--
+
|-  
! style="vertical-align:top; padding: 0 10px;" | Package:
+
! class="extension-infobox-row" | License:
| style="vertical-align:bottom; padding: 0 10px;" | [[BSExtensionInfoPackage::{{{package|-}}}]]
+
| class="extension-infobox-row" | [[BSExtensionInfoLicense::{{{license|-}}}]]
|- -->
 
! style="vertical-align:top; padding: 0 10px;" | License:
 
| style="vertical-align:bottom; padding: 0 10px;" | [[BSExtensionInfoLicense::{{{license|-}}}]]
 
 
|-
 
|-
! style="vertical-align:top; padding: 0 10px;" | Activated:
+
! class="extension-infobox-row" | Activated:
| style="vertical-align:bottom; padding: 0 10px;" | [[BSExtensionInfoActivated::{{{active|-}}}]]
+
| class="extension-infobox-row" | [[BSExtensionInfoActivated::{{{active|-}}}]]
 
|-
 
|-
! style="vertical-align:top; padding: 0 10px 20px 10px;" | Category:
+
! class="extension-infobox-last-row" | Category:
| style="vertical-align:top; padding: 0 10px 20px 10px;" | {{#arraymap:{{{category|-}}}|,|z|[[BSExtensionInfoCategory::z]]}}
+
| class="extension-infobox-last-row" | {{#arraymap:{{{category|-}}}|,|z|[[BSExtensionInfoCategory::z]]}}
 
|-
 
|-
 
{{#ifexist: Manual:Extension/{{PAGENAME}} |
 
{{#ifexist: Manual:Extension/{{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> [[Manual:Extension/{{PAGENAME}}|View help page]]</div>
+
! class="extension-infobox-helppage" colspan="2"{{!}} <div class="questionmark-icon> '''[[Manual:Extension/{{PAGENAME}}|View help page]]'''</div>
 
{{!}}-|}}
 
{{!}}-|}}
{{#if:{{{docu|}}}|
 
! style="font-weight:normal; text-align:center; vertical-align:top; padding-left:10px; padding-top:10px;  padding-bottom:10px; background-color:#eeeeee;" colspan="2"{{!}} <span>[{{{docu|}}} Documentation on MediaWiki.org]</span>|}}
 
 
|}
 
|}
 
{{#set:BSExtensionInfoActivated={{{active|}}}
 
{{#set:BSExtensionInfoActivated={{{active|}}}
 
|BSExtensionInfoLicense={{{license|}}} }}
 
|BSExtensionInfoLicense={{{license|}}} }}
 
</includeonly>
 
</includeonly>

Attachments

Discussions