Difference between revisions of "Template:Application"

From Protege Wiki
Jump to: navigation, search
 
(53 intermediate revisions by 2 users not shown)
Line 7: Line 7:
 
</div>
 
</div>
  
<div style="display:block;float:left;width:100%;">
+
<div style="display:block; float:left; width:100%;">
  
 
<div class="PluginSidebar">
 
<div class="PluginSidebar">
Line 13: Line 13:
 
{| cellspacing="0" cellpadding="5" class="PluginWikiInfoBox"
 
{| cellspacing="0" cellpadding="5" class="PluginWikiInfoBox"
 
|-
 
|-
| class="InfoBoxColFirst" | Last Update: || {{ #if:{{{LastUpdate|}}} | [[Last update:={{{LastUpdate}}}]] | notavailable }}
+
| class="InfoBoxColFirst" | Last Update: || {{ #if:{{{LastUpdate|}}} | [[Last update:={{{LastUpdate}}}]] | 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" | Current Version: || {{ #if:{{{CurrentVersion}}} | [[CurrentVersion:={{{CurrentVersion}}}]] | not available }}
 
|-
 
|-
| class="InfoBoxCol" | Homepage: || {{ #if:{{{HomepageURL|}}} | [[Homepage:={{{HomepageURL}}}|[{{{HomepageURL}}} {{{ApplicationID}}} Website]]] | not available }}
+
| class="InfoBoxCol" | Homepage: || {{ #if:{{{HomepageURL|}}} | [[Homepage::{{{HomepageURL}}}|{{{ApplicationID}}} Website]] | not available }}
 
|-
 
|-
 
| class="InfoBoxCol" | Affiliation: || {{ #if:{{{Affiliation1|}}} | *[[Affiliated with::{{{Affiliation1}}}]] | not available }}{{ #if:{{{Affiliation2|}}} | *[[Affiliated with::{{{Affiliation2}}}]] | }}
 
| class="InfoBoxCol" | Affiliation: || {{ #if:{{{Affiliation1|}}} | *[[Affiliated with::{{{Affiliation1}}}]] | not available }}{{ #if:{{{Affiliation2|}}} | *[[Affiliated with::{{{Affiliation2}}}]] | }}
Line 24: Line 24:
 
</div>
 
</div>
  
<div style="display:block; float:left; width:64%; margin:0 0 2em 0; background-color:LightBlue;">
+
<div style="display:block; float:left; width:64%; margin:0 0 2em 0; padding-top:0px;">__NOTOC__
__NOTOC__
+
<strong>[[Description:={{{Description}}}]]</strong><br /><br />
 
 
[[Description:={{{Description}}}]]
 
  
 
== Plugins for {{PAGENAME}} ==
 
== Plugins for {{PAGENAME}} ==
Line 33: Line 31:
 
This section lists available plugins for [[ID:={{{ApplicationID}}}|{{{ApplicationID}}}]] and their associated topics.
 
This section lists available plugins for [[ID:={{{ApplicationID}}}|{{{ApplicationID}}}]] and their associated topics.
  
<ask format="broadtable" default="no plugins available">
+
{{#ask: [[Category:Plugin]] [[For Application::{{PAGENAME}}]]
[[Category:Plugin]] [[for application::{{PAGENAME}}]] [[has topic::*]]
+
| ?Has topic=Associated topics
</ask>
+
| mainlabel=Plugin
 +
| default=No plugins available.
 +
| format=broadtable
 +
| limit=10
 +
}}
  
<div style="width:100%; display:block; float:left; padding:10px 0px 0px 0px;">
+
<span class="addButton">[[Special:FormStart/Plugin|Add New Plugin]]</span><br /><br />
<strong style="padding:5px; background:#F0E6CA; border:2px solid #CC9F2A;">
 
[[Special:AddPage/Form:Plugin|Add New Plugin]]
 
</strong><br /><br />
 
</div>
 
  
 
== Versions of {{PAGENAME}} ==
 
== Versions of {{PAGENAME}} ==
Line 47: Line 45:
 
This section lists versions of {{{ApplicationID}}} with associated changelogs.
 
This section lists versions of {{{ApplicationID}}} with associated changelogs.
  
<ask format="broadtable" sort="version number" order="descending" default="no version available for this application">
+
{{#ask: [[Category:Version]] [[Version of::{{PAGENAME}}]]
  [[Category:Version]] [[version of::{{PAGENAME}}]]
+
| ?Changelog
  [[Changelog:=*|Changelog]]
+
| ?Last update=Release date
</ask>
+
| mainlabel=Version
 +
| default=No version information available.
 +
| format=broadtable
 +
| sort=Version number
 +
| order=desc
 +
}}
  
<div style="width:100%; display:block; float:left; padding:10px 0px 0px 0px;">
+
<span class="addButton">[[Special:FormStart/VersionOf{{PAGENAME}}|Add New Version]]</span><br />
<strong style="padding:5px; background:#F0E6CA; border:2px solid #CC9F2A;">
 
[[Special:AddPage/Form:VersionOf{{PAGENAME}}|Add New Version]]
 
</strong><br />
 
</div>
 
  
 
</div>
 
</div>
 
</div>
 
</div>
 
  
 
[[Category:Application]]
 
[[Category:Application]]

Latest revision as of 11:22, July 27, 2011

Template:Application should be used when creating new applications.

The following parameters have to be provided:

  • ApplicationID
  • Screenshot
  • DevelopedBy
  • LastUpdate
  • CurrentVersion
  • HomepageURL
  • Affiliation
  • Description