Difference between revisions of "Template:Plugin"

From Protege Wiki
Jump to: navigation, search
 
(63 intermediate revisions by 6 users not shown)
Line 1: Line 1:
<includeonly>{{PluginWikiHeader|ID={{PAGENAME}}|{{ #if:{{{DeveloperID1|}}} | Author1={{{DeveloperID1}}} }}}}<div class="PluginSidebar">{{ #if:  {{{Screenshot|}}} | <p>[[Screenshot:={{{Screenshot}}}|[[Image:{{{Screenshot}}}|thumb|100%|center|Screenshot]]]]</p> | }}
+
<includeonly>
 +
<div style="display:block; float:left; width:100%; margin:0 0 1.5em 0; padding:0;">
 +
<p style="padding:0; margin:0; font-size:1.9em; font-weight:bold; word-spacing:-2px;">{{PAGENAME}}</p>
 +
<p style="padding:0 ;margin:0;">
 +
{{ #if:{{{DeveloperID1|}}} | by [[{{{DeveloperID1}}}]] }}{{ #if:{{{DeveloperID2|}}}|, [[{{{DeveloperID2}}}]] }}{{ #if:{{{DeveloperID3|}}}|, [[{{{DeveloperID3}}}]] }}{{ #if:{{{DeveloperID4|}}}|, [[{{{DeveloperID4}}}]] }}{{ #if:{{{DeveloperID5|}}}|, [[{{{DeveloperID5}}}]] }}{{ #if:{{{DeveloperID6|}}}|, [[{{{DeveloperID6}}}]] }}{{ #if:{{{DeveloperID7|}}}|, [[{{{DeveloperID7}}}]] }}{{ #if:{{{DeveloperID8|}}}|, [[{{{DeveloperID8}}}]] }}{{ #if:{{{DeveloperID9|}}}|, [[{{{DeveloperID9}}}]] }}
 +
</p>
 +
</div>
 +
 
 +
<div class="PluginSidebar">{{ #if:  {{{Screenshot|}}} |  
 +
<p>[[Screenshot::{{{Screenshot}}}|[[Image:{{{Screenshot}}}|thumb|100%|center|Screenshot]]]]</p> | }}
 
{| class="PluginWikiInfoBox" cellspacing="0" cellpadding="5"
 
{| class="PluginWikiInfoBox" cellspacing="0" cellpadding="5"
 
|-
 
|-
| class="InfoBoxColFirst" | Type || {{ #if:{{{PluginType|}}} | [[:Category:{{{PluginType}}}|{{{PluginType}}}]] | not defined }}
+
| class="InfoBoxColFirst" | Type || {{ #if:{{{PluginType|}}} | [[:Category:{{{PluginType}}}|{{{PluginType}}}]] | not defined }}{{ #if:{{{PluginType2|}}} | , [[:Category:{{{PluginType2}}}|{{{PluginType2}}}]] }}
 
|-
 
|-
| class="InfoBoxCol" | Developed by || {{ #if:{{{DeveloperID1|}}} | [[developed by::{{{DeveloperID1}}}|{{{DeveloperID1}}}]] | not available }}{{ #if:{{{DeveloperID2|}}} | , [[developed by::{{{DeveloperID2}}}|{{{DeveloperID2}}}]] | }}{{ #if:{{{DeveloperID3|}}} | , [[developed by::{{{DeveloperID3}}}|{{{DeveloperID3}}}]] | }}{{ #if:{{{DeveloperID4|}}} | , [[developed by::{{{DeveloperID4}}}|{{{DeveloperID4}}}]] | }}{{ #if:{{{DeveloperID5|}}} | , [[developed by::{{{DeveloperID5}}}|{{{DeveloperID5}}}]] | }}{{ #if:{{{DeveloperID6|}}} | , [[developed by::{{{DeveloperID6}}}|{{{DeveloperID6}}}]] | }}{{ #if:{{{DeveloperID7|}}} | , [[developed by::{{{DeveloperID7}}}|{{{DeveloperID7}}}]] | }}{{ #if:{{{DeveloperID8|}}} | , [[developed by::{{{DeveloperID8}}}|{{{DeveloperID8}}}]] | }}{{ #if:{{{DeveloperID9|}}} | , [[developed by::{{{DeveloperID9}}}|{{{DeveloperID9}}}]] | }}
+
| class="InfoBoxCol" | Author(s) || {{ #if:{{{DeveloperID1|}}} | [[developed by::{{{DeveloperID1}}}|{{{DeveloperID1}}}]] | not available }}{{ #if:{{{DeveloperID2|}}} | , [[developed by::{{{DeveloperID2}}}|{{{DeveloperID2}}}]] | }}{{ #if:{{{DeveloperID3|}}} | , [[developed by::{{{DeveloperID3}}}|{{{DeveloperID3}}}]] | }}{{ #if:{{{DeveloperID4|}}} | , [[developed by::{{{DeveloperID4}}}|{{{DeveloperID4}}}]] | }}{{ #if:{{{DeveloperID5|}}} | , [[developed by::{{{DeveloperID5}}}|{{{DeveloperID5}}}]] | }}{{ #if:{{{DeveloperID6|}}} | , [[developed by::{{{DeveloperID6}}}|{{{DeveloperID6}}}]] | }}{{ #if:{{{DeveloperID7|}}} | , [[developed by::{{{DeveloperID7}}}|{{{DeveloperID7}}}]] | }}{{ #if:{{{DeveloperID8|}}} | , [[developed by::{{{DeveloperID8}}}|{{{DeveloperID8}}}]] | }}{{ #if:{{{DeveloperID9|}}} | , [[developed by::{{{DeveloperID9}}}|{{{DeveloperID9}}}]] | }}
 
|-
 
|-
| class="InfoBoxCol" | Last Update || {{ #if:{{{LastUpdated|}}} | [[Last update:={{{LastUpdated}}}]] | not available }}
+
| class="InfoBoxCol" | Last Update || {{ #if:{{{LastUpdated|}}} | [[Last update::{{{LastUpdated}}}]] | not available }}
 
|-
 
|-
| class="InfoBoxCol" | Current Version || <ask format="template" template="CurrentVersion" limit="1" searchlabel="" sort="Version number" order="descending" default="no version available">[[Category:Version]] [[version of::{{PAGENAME}}]] [[Version number:=*]]</ask>
+
| class="InfoBoxCol" | License || {{ #if:{{{License|}}} | [[License::{{{License}}}]] | not available }}
 
|-
 
|-
| class="InfoBoxCol" | Homepage || {{ #if:{{{HomepageURL|}}} | [[Homepage:={{{HomepageURL}}}|[{{{HomepageURL}}} {{PAGENAME}} Website]]] | not available }}
+
| class="InfoBoxCol" | Homepage || {{ #if:{{{HomepageURL|}}} | [[Homepage::{{{HomepageURL}}}|{{PAGENAME}} website]] | not available }}
 
|-
 
|-
| class="InfoBoxCol" | Application || [[for application::Protégé]]
+
| class="InfoBoxCol" | For&nbsp;Application || {{ #if:{{{ForApplication1|}}} | *[[for Application::{{{ForApplication1}}}|{{{ForApplication1}}}]] | }}{{ #if:{{{ForApplication2|}}} | *[[for Application::{{{ForApplication2}}}|{{{ForApplication2}}}]] | }}{{ #if:{{{ForApplication3|}}} | *[[for Application::{{{ForApplication3}}}|{{{ForApplication3}}}]] | }}
 
|-
 
|-
| class="InfoBoxCol" | Topics || {{ #if:{{{Topic1|}}} | *[[has topic::{{{Topic1}}}|{{{Topic1}}}]] | }}{{ #if:{{{Topic2|}}} | *[[has topic::{{{Topic2}}}|{{{Topic2}}}]] | }}{{ #if:{{{Topic3|}}} | *[[has topic::{{{Topic3}}}|{{{Topic3}}}]] | }}{{ #if:{{{Topic4|}}} | *[[has topic::{{{Topic4}}}|{{{Topic4}}}]] | }}{{ #if:{{{Topic5|}}} | *[[has topic::{{{Topic5}}}|{{{Topic5}}}]] | }}{{ #if:{{{Topic6|}}} | *[[has topic::{{{Topic6}}}|{{{Topic6}}}]] | }}{{ #if:{{{Topic7|}}} | *[[has topic::{{{Topic7}}}|{{{Topic7}}}]] | }}{{ #if:{{{Topic8|}}} | *[[has topic::{{{Topic8}}}|{{{Topic8}}}]] | }}{{ #if:{{{Topic9|}}} | *[[has topic::{{{Topic9}}}|{{{Topic9}}}]] | }}
+
| class="InfoBoxCol" | Topic(s) || {{ #if:{{{Topic1|}}} | *[[has topic::{{{Topic1}}}|{{{Topic1}}}]] | }}{{ #if:{{{Topic2|}}} | *[[has topic::{{{Topic2}}}|{{{Topic2}}}]] | }}{{ #if:{{{Topic3|}}} | *[[has topic::{{{Topic3}}}|{{{Topic3}}}]] | }}{{ #if:{{{Topic4|}}} | *[[has topic::{{{Topic4}}}|{{{Topic4}}}]] | }}{{ #if:{{{Topic5|}}} | *[[has topic::{{{Topic5}}}|{{{Topic5}}}]] | }}{{ #if:{{{Topic6|}}} | *[[has topic::{{{Topic6}}}|{{{Topic6}}}]] | }}{{ #if:{{{Topic7|}}} | *[[has topic::{{{Topic7}}}|{{{Topic7}}}]] | }}{{ #if:{{{Topic8|}}} | *[[has topic::{{{Topic8}}}|{{{Topic8}}}]] | }}{{ #if:{{{Topic9|}}} | *[[has topic::{{{Topic9}}}|{{{Topic9}}}]] | }}
 
|-
 
|-
| class="InfoBoxCol" | License || {{ #if:{{{License|}}} | [[License:={{{License}}}]] | not available }}
+
| class="InfoBoxCol" | Affiliation || {{ #if: {{{Affiliation1|}}} | *[[affiliated with::{{{Affiliation1}}}]] | not available }}{{ #if: {{{Affiliation2|}}} | *[[affiliated with::{{{Affiliation2}}}]] | }}{{ #if: {{{Affiliation3|}}} | *[[affiliated with::{{{Affiliation3}}}]] | }}{{ #if: {{{Affiliation4|}}} | *[[affiliated with::{{{Affiliation4}}}]] | }}{{ #if: {{{Affiliation5|}}} | *[[affiliated with::{{{Affiliation5}}}]] | }}{{ #if: {{{Affiliation6|}}} | *[[affiliated with::{{{Affiliation6}}}]] | }}{{ #if: {{{Affiliation7|}}} | *[[affiliated with::{{{Affiliation7}}}]] | }}{{ #if: {{{Affiliation8|}}} | *[[affiliated with::{{{Affiliation8}}}]] | }}{{ #if: {{{Affiliation9|}}} | *[[affiliated with::{{{Affiliation9}}}]] | }}
|-
 
| class="InfoBoxCol" | Affiliation || {{ #if: {{{Affiliation1|}}} | *[[affiliated to::{{{Affiliation1}}}]] | not available }}{{ #if: {{{Affiliation2|}}} | *[[affiliated to::{{{Affiliation2}}}]] | }}{{ #if: {{{Affiliation3|}}} | *[[affiliated to::{{{Affiliation3}}}]] | }}{{ #if: {{{Affiliation4|}}} | *[[affiliated to::{{{Affiliation4}}}]] | }}{{ #if: {{{Affiliation5|}}} | *[[affiliated to::{{{Affiliation5}}}]] | }}{{ #if: {{{Affiliation6|}}} | *[[affiliated to::{{{Affiliation6}}}]] | }}{{ #if: {{{Affiliation7|}}} | *[[affiliated to::{{{Affiliation7}}}]] | }}{{ #if: {{{Affiliation8|}}} | *[[affiliated to::{{{Affiliation8}}}]] | }}{{ #if: {{{Affiliation9|}}} | *[[affiliated to::{{{Affiliation9}}}]] | }}
 
 
|}
 
|}
  
[[Special:EditData/Plugin/{{PAGENAME}}|Edit this plugin]]
+
<div style="width:100%;display:block;float:left;padding: 0px 0px 0px 0px;"><br />
 +
<strong style="padding:5px; background:#F0E6CA; border:2px solid #CC9F2A;">
 +
[[Special:FormEdit/Plugin/{{PAGENAME}}|Edit this plugin]]
 +
</strong><br /><br />
 +
</div>
  
 
</div>
 
</div>
 +
<div style="display:block;float:left;width:64%;margin-bottom:2em;">
 +
<strong>[[description::{{{Description}}}]]</strong><br /><br />
  
<div style="display:block;float:left;width:64%;margin-bottom:2em;">
+
__TOC__
[[description:={{{Description}}}]]
 
  
 
== Versions & Compatibility ==
 
== Versions & Compatibility ==
  
This section shows available versions of [[ID:={{PAGENAME}}|{{PAGENAME}}]] and for each version its '''compatible Protégé versions''' and  '''necessary plugins'''.
+
This section lists available versions of [[ID::{{PAGENAME}}|{{PAGENAME}}]].
 
 
<ask mainlabel="Version" format="broadtable" link="all" sort="version number" order="descending" default="no version available for this plugin">
 
  [[Category:Version]] [[version of::{{PAGENAME}}]]
 
  [[compatible with::*|compatible with]]
 
  [[depends on::*|necessary plugins]]
 
</ask>
 
  
If you add a new version of {{PAGENAME}} please adhere to this '''naming convention''' when you define a page title after clicking the link below:
+
{{#ask: [[Category:Version]] [[version of::{{PAGENAME}}]]
 +
| ?Compatible with
 +
| ?Depends on=Dependencies
 +
| mainlabel=Version
 +
| format=broadtable
 +
| sort=Version number
 +
| order=desc
 +
| default=No version information available.
 +
}}
  
<center>'''{{PAGENAME}} X.X.X'''</center>
+
If you click on the button below to add a new version of {{PAGENAME}}, you will be asked to define a page title for the new version.  Please adhere to the '''naming convention''' of '''{{PAGENAME}} X.X.X''' when you define the new page!
  
 
<div style="width:100%;display:block;float:left;padding: 0px 0px 0px 0px;">
 
<div style="width:100%;display:block;float:left;padding: 0px 0px 0px 0px;">
<center><br /><strong style="padding:5px;background:#B0FF5C;">[[Special:AddPage/Form:VersionOfPlugin|New {{PAGENAME}} Version]]</strong><br /><br /></center>
+
<strong style="padding:5px; background:#F0E6CA; border:2px solid #CC9F2A;">
 +
[[Special:FormStart/VersionOfPlugin|Add New Version]]
 +
</strong><br /><br />
 
</div>
 
</div>
 +
 +
<div style="display:block;float:left;width:100%;">
  
 
== Changelog ==
 
== Changelog ==
 
<center>
 
<center>
<ask mainlabel="Version" format="broadtable" link="all" sort="version number" order="descending" default="no version available for this plugin">
+
{{#ask: [[Category:Version]] [[version of::{{PAGENAME}}]]
  [[Category:Version]] [[version of::{{PAGENAME}}]]
+
| ?Changelog=Changes in this version
  [[Changelog:=*|Changes in this version]]
+
| mainlabel=Version
</ask>
+
| format=broadtable
 +
| sort=Version number
 +
| order=desc
 +
| default=No version information available.
 +
}}
 
</center>
 
</center>
 +
</div>
  
 
</div>
 
</div>
Line 58: Line 81:
  
 
{{ #if:{{{PluginType|}}} | [[Category:{{{PluginType}}}]] |  }}
 
{{ #if:{{{PluginType|}}} | [[Category:{{{PluginType}}}]] |  }}
 +
{{ #if:{{{PluginType2|}}} | [[Category:{{{PluginType2}}}]] |  }}
 
[[Category:Plugin]]
 
[[Category:Plugin]]
  

Latest revision as of 16:14, January 7, 2011


Template:Plugin should be used to create a new page for a plugin.

The following parameters have to be provided:

  • NameOfPlugin
  • Screenshot
  • NameOfDeveloper
  • LastUpdated
  • HomepageURL
  • Application
  • Topic
  • License
  • Affiliation
  • Description