Difference between revisions of "Template:Application"

From Protege Wiki
Jump to: navigation, search
(formatting for images)
 
(33 intermediate revisions by 2 users not shown)
Line 10: Line 10:
  
 
<div class="PluginSidebar">
 
<div class="PluginSidebar">
{{ #if:  {{{Screenshot|}}} | <p>[[screenshot::Image:{{{Screenshot}}}]]</p> | }}
+
{{ #if:  {{{Screenshot|}}} | <p>[[screenshot:={{{Screenshot}}}|[[Image:{{{Screenshot}}}|thumb|100%|center|Screenshot]]]]</p> | }}
 
{| 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::*]] [[Version number::+]]</ask>
+
| class="InfoBoxCol" | Current Version: || {{ #if:{{{CurrentVersion}}} | [[CurrentVersion:={{{CurrentVersion}}}]] | not available }}
 
|-
 
|-
 
| class="InfoBoxCol" | Homepage: || {{ #if:{{{HomepageURL|}}} | [[Homepage::{{{HomepageURL}}}|{{{ApplicationID}}} Website]] | not available }}
 
| class="InfoBoxCol" | Homepage: || {{ #if:{{{HomepageURL|}}} | [[Homepage::{{{HomepageURL}}}|{{{ApplicationID}}} Website]] | not available }}
Line 31: 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" mainlabel="Plugin" 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 class="addNewPluginVersion">
+
<span class="addButton">[[Special:FormStart/Plugin|Add New Plugin]]</span><br /><br />
<span class="addButton">[[Special:AddPage/Form:Plugin|Add New Plugin]]</span><br /><br /><br />
 
</div>
 
  
 
== Versions of {{PAGENAME}} ==
 
== Versions of {{PAGENAME}} ==
Line 43: Line 45:
 
This section lists versions of {{{ApplicationID}}} with associated changelogs.
 
This section lists versions of {{{ApplicationID}}} with associated changelogs.
  
<ask format="broadtable" mainlabel="Version" sort="version number" order="descending" default="no version information available" link="all">
+
{{#ask: [[Category:Version]] [[Version of::{{PAGENAME}}]]
  [[Category:Version]] [[version of::{{PAGENAME}}]]
+
| ?Changelog
  [[Changelog:=*|Changelog]]
+
| ?Last update=Release date
  [[version number::+]]
+
| mainlabel=Version
</ask>
+
| default=No version information available.
 +
| format=broadtable
 +
| sort=Version number
 +
| order=desc
 +
}}
  
<div class="addNewAppVersion">
+
<span class="addButton">[[Special:FormStart/VersionOf{{PAGENAME}}|Add New Version]]</span><br />
<span class="addButton">[[Special:AddPage/Form:VersionOf{{PAGENAME}}|Add New Version]]</span><br /><br />
 
</div>
 
  
 
</div>
 
</div>
 
</div>
 
</div>
 
  
 
[[Category:Application]]
 
[[Category:Application]]

Latest revision as of 12: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