Difference between revisions of "Template:Application"

From Protege Wiki
Jump to: navigation, search
(testing new css styles)
 
(44 intermediate revisions by 2 users 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:=*]]</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 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 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 /><br />
 
</div>
 
  
 
== Versions of {{PAGENAME}} ==
 
== Versions of {{PAGENAME}} ==
Line 45: 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 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 class="add-new-app-version">
+
<span class="addButton">[[Special:FormStart/VersionOf{{PAGENAME}}|Add New Version]]</span><br />
<span class="add-button">[[Special:AddPage/Form:VersionOf{{PAGENAME}}|Add New Version]]</span><br /><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