Difference between revisions of "Template:Plugin"

From Protege Wiki
Jump to: navigation, search
 
(30 intermediate revisions by 3 users not shown)
Line 18: Line 18:
 
|-
 
|-
 
| 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::*]] [[Version number::+]]</ask>
 
 
|-
 
|-
 
| class="InfoBoxCol" | Homepage || {{ #if:{{{HomepageURL|}}} | [[Homepage::{{{HomepageURL}}}|{{PAGENAME}} website]] | not available }}
 
| class="InfoBoxCol" | Homepage || {{ #if:{{{HomepageURL|}}} | [[Homepage::{{{HomepageURL}}}|{{PAGENAME}} website]] | not available }}
 
|-
 
|-
| class="InfoBoxCol" | For Application || {{ #if:{{{ForApplication1|}}} | *[[for Application::{{{ForApplication1}}}|{{{ForApplication1}}}]] | }}{{ #if:{{{ForApplication2|}}} | *[[for Application::{{{ForApplication2}}}|{{{ForApplication2}}}]] | }}{{ #if:{{{ForApplication3|}}} | *[[for Application::{{{ForApplication3}}}|{{{ForApplication3}}}]] | }}
+
| 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" | 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 ==
Line 45: Line 44:
 
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 information available">
+
{{#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
  [[version number::+]]
+
| format=broadtable
</ask>
+
| 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 56: 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 information available">
+
{{#ask: [[Category:Version]] [[version of::{{PAGENAME}}]]
  [[Category:Version]] [[version of::{{PAGENAME}}]]
+
| ?Changelog=Changes in this version
  [[Changelog::*|Changes in this version]]
+
| mainlabel=Version
  [[version number::+]]
+
| format=broadtable
</ask>
+
| sort=Version number
 +
| order=desc
 +
| default=No version information available.
 +
}}
 
</center>
 
</center>
 
</div>
 
</div>

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