Difference between revisions of "Template:Application"

From Protege Wiki
Jump to: navigation, search
(tweaking spacing of buttons below plugins and versions sections)
 
(29 intermediate revisions by the same user not shown)
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::*]] [[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
 +
}}
  
<span class="addButton">[[Special:AddPage/Form:Plugin|Add New Plugin]]</span><br /><br />
+
<span class="addButton">[[Special:FormStart/Plugin|Add New Plugin]]</span><br /><br />
  
 
== Versions of {{PAGENAME}} ==
 
== Versions of {{PAGENAME}} ==
Line 41: 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
 +
}}
  
<span class="addButton">[[Special:AddPage/Form:VersionOf{{PAGENAME}}|Add New Version]]</span><br /><br />
+
<span class="addButton">[[Special:FormStart/VersionOf{{PAGENAME}}|Add New Version]]</span><br />
  
 
</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