Difference between revisions of "Template:VersionOfApplication"

From Protege Wiki
Jump to: navigation, search
(removed default value for one of the ask queries)
 
(18 intermediate revisions by 2 users not shown)
Line 3: Line 3:
 
{| class="PluginWikiInfoBox" cellspacing="0" cellpadding="5"
 
{| class="PluginWikiInfoBox" cellspacing="0" cellpadding="5"
 
|-
 
|-
| class="InfoBoxColFirst" | Version || {{ #if:{{{Number|}}} | [[Version number:={{{Number}}}]] | not available }}
+
| class="InfoBoxColFirst" | Version || {{ #if:{{{Number|}}} | [[Version number::{{{Number}}}]] | not available }}
 
|-
 
|-
 
| class="InfoBoxCol" | Application || {{ #if:{{{VersionOf}}} | [[Version of::{{{VersionOf}}}]] | not available }}
 
| class="InfoBoxCol" | Application || {{ #if:{{{VersionOf}}} | [[Version of::{{{VersionOf}}}]] | not available }}
 
|-
 
|-
| class="InfoBoxCol" | Last update || {{ #if:{{{LastUpdate}}} | [[Last update:={{{LastUpdate}}}]] | not available }}
+
| class="InfoBoxCol" | Last update || {{ #if:{{{LastUpdate}}} | [[Last update::{{{LastUpdate}}}]] | not available }}
 
|-
 
|-
| class="InfoBoxCol" | Download || {{ #if:{{{File|}}} | [[Version file:={{{File}}}|[{{{File}}} {{{VersionOf}}} {{{Number}}}]]] | not available }}
+
| class="InfoBoxCol" | Download || {{ #if:{{{File|}}} | [[Version file::{{{File}}}|{{{VersionOf}}} {{{Number}}}]] | not available }}
 
|}
 
|}
  
<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;">
<center><br /><strong style="padding:5px;background:#B0FF5C;">[[Special:EditData/VersionOf{{{VersionOf}}}/{{PAGENAME}}|Edit this version]]</strong><br /><br /></center>
+
<br /><span class="addButton">[[Special:EditData/VersionOf{{{VersionOf}}}/{{PAGENAME}}|Edit this version]]</span><br /><br />
 
</div>
 
</div>
  
Line 19: Line 19:
  
 
<div style="display:block;float:left;width:64%;margin:0 0 2em 0;">
 
<div style="display:block;float:left;width:64%;margin:0 0 2em 0;">
== Version & Dependency of compatible Plugins ==
+
== Compatible Plugins ==
This section shows all plugins which are compatible with this version of {{PAGENAME}}. It also lists plugins these compatible plugins depend on.
+
List of all plugins compatible with {{PAGENAME}}.
  
<ask format="broadtable" link="all" default="no plugin versions are compatible with this application version">
+
{{#ask: [[Category:Version]] [[Compatible with::{{PAGENAME}}]]
[[Category:Version]] [[compatible with::{{PAGENAME}}]] [[depends on::*]]
+
| ?Depends on
</ask>
+
| mainlabel=Plugin
 +
| format=broadtable
 +
}}
 +
<br />
  
 
{{ #if:{{{Changelog|}}} | == Changelog ==
 
{{ #if:{{{Changelog|}}} | == Changelog ==
  
[[Changelog:={{{Changelog}}}]] | == Changelog ==
+
[[Changelog::{{{Changelog}}}]] | == Changelog ==
  
 
no information about changes }}
 
no information about changes }}
Line 36: Line 39:
 
[[Category:VersionOfApplication]]
 
[[Category:VersionOfApplication]]
  
</includeonly><noinclude>
+
</includeonly>
 +
<noinclude>
 
{{{{FULLPAGENAME}}/doc}}
 
{{{{FULLPAGENAME}}/doc}}
 
</noinclude>
 
</noinclude>

Latest revision as of 14:16, January 3, 2011



Template:VersionOfApplication should be used to create a new page for a version of an application. It differs from Template:VersionOfPlugin as it has no compatible with and depends on parameters.

The following parameters have to be provided:

  • VersionOf
  • Number
  • File
  • Changelog