Difference between revisions of "Template:Plugin"

From Protege Wiki
Jump to: navigation, search
(adding ability to have second plugin type listed in infobox)
 
(36 intermediate revisions by 4 users not shown)
Line 8: Line 8:
  
 
<div class="PluginSidebar">{{ #if:  {{{Screenshot|}}} |  
 
<div class="PluginSidebar">{{ #if:  {{{Screenshot|}}} |  
<p>[[Screenshot:={{{Screenshot}}}|[[Image:{{{Screenshot}}}|thumb|100%|center|Screenshot]]]]</p> | }}
+
<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 }}{{ #if:{{{PluginType2|}}} | , [[:Category:{{{PluginType2}}}|{{{PluginType2}}}]] }}
 
| class="InfoBoxColFirst" | Type || {{ #if:{{{PluginType|}}} | [[:Category:{{{PluginType}}}|{{{PluginType}}}]] | not defined }}{{ #if:{{{PluginType2|}}} | , [[:Category:{{{PluginType2}}}|{{{PluginType2}}}]] }}
 
|-
 
|-
| class="InfoBoxCol" | Authors || {{ #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" | License || {{ #if:{{{License|}}} | [[License:={{{License}}}]] | not available }}
+
| class="InfoBoxCol" | License || {{ #if:{{{License|}}} | [[License::{{{License}}}]] | 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" | Homepage || {{ #if:{{{HomepageURL|}}} | [[Homepage::{{{HomepageURL}}}|{{PAGENAME}} website]] | not available }}
 
|-
 
|-
| class="InfoBoxCol" | Homepage || {{ #if:{{{HomepageURL|}}} | [[Homepage:={{{HomepageURL}}}|[{{{HomepageURL}}} {{PAGENAME}} Website]]] | not available }}
+
| 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" | For Application || {{ #if:{{{ForApplication1|}}} | *[[for Application::{{{ForApplication1}}}|{{{ForApplication1}}}]] | }}{{ #if:{{{ForApplication2|}}} | *[[for Application::{{{ForApplication2}}}|{{{ForApplication2}}}]] | }}{{ #if:{{{ForApplication3|}}} | *[[for Application::{{{ForApplication3}}}|{{{ForApplication3}}}]] | }}
 
 
|-
 
|-
 
| 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" | 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}}}]] | }}
Line 32: Line 30:
 
<div style="width:100%;display:block;float:left;padding: 0px 0px 0px 0px;"><br />
 
<div style="width:100%;display:block;float:left;padding: 0px 0px 0px 0px;"><br />
 
<strong style="padding:5px; background:#F0E6CA; border:2px solid #CC9F2A;">
 
<strong style="padding:5px; background:#F0E6CA; border:2px solid #CC9F2A;">
[[Special:EditData/Plugin/{{PAGENAME}}|Edit this plugin]]
+
[[Special:FormEdit/Plugin/{{PAGENAME}}|Edit this plugin]]
 
</strong><br /><br />
 
</strong><br /><br />
 
</div>
 
</div>
  
 
</div>
 
</div>
__NOTOC__
 
 
<div style="display:block;float:left;width:64%;margin-bottom:2em;">
 
<div style="display:block;float:left;width:64%;margin-bottom:2em;">
<strong>[[description:={{{Description}}}]]</strong><br /><br />
+
<strong>[[description::{{{Description}}}]]</strong><br /><br />
 +
 
 +
__TOC__
  
 
== Versions & Compatibility ==
 
== Versions & Compatibility ==
  
This section lists available versions of [[ID:={{PAGENAME}}|{{PAGENAME}}]].
+
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">
+
{{#ask: [[Category:Version]] [[version of::{{PAGENAME}}]]
  [[Category:Version]] [[version of::{{PAGENAME}}]]
+
| ?Compatible with
  [[compatible with::*|compatible with]]
+
| ?Depends on=Dependencies
  [[depends on::*|dependencies]]
+
| mainlabel=Version
</ask>
+
| format=broadtable
 +
| sort=Version number
 +
| order=desc
 +
| default=No version information available.
 +
}}
  
 
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!
 
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!
Line 55: Line 58:
 
<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;">
 
<strong style="padding:5px; background:#F0E6CA; border:2px solid #CC9F2A;">
 
<strong style="padding:5px; background:#F0E6CA; border:2px solid #CC9F2A;">
[[Special:AddPage/Form:VersionOfPlugin|Add New Version]]
+
[[Special:FormStart/VersionOfPlugin|Add New Version]]
 
</strong><br /><br />
 
</strong><br /><br />
 
</div>
 
</div>
  
 
<div style="display:block;float:left;width:100%;">
 
<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>
Line 73: 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