Difference between revisions of "Template:Plugin"

From Protege Wiki
Jump to: navigation, search
(trying to update to new ask query syntax)
 
(24 intermediate revisions by 2 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">[[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>
Line 45: Line 43:
  
 
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.">
 
  [[Category:Version]] [[version of::{{PAGENAME}}]]
 
  [[compatible with::*|compatible with]]
 
  [[depends on::*|dependencies]]
 
  [[version number::+]]
 
</ask>
 
  
 
{{#ask: [[Category:Version]] [[version of::{{PAGENAME}}]]
 
{{#ask: [[Category:Version]] [[version of::{{PAGENAME}}]]
 
  | ?Compatible with
 
  | ?Compatible with
  | ?Depends on
+
  | ?Depends on=Dependencies
 
  | mainlabel=Version
 
  | mainlabel=Version
 
  | format=broadtable
 
  | format=broadtable
Line 67: 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>
Line 75: Line 66:
 
== 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 17: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