Template:DisplayVersionComponentsTemplate: Difference between revisions

From IMAGE
Jump to navigation Jump to search
No edit summary
No edit summary
(8 intermediate revisions by the same user not shown)
Line 1: Line 1:
<noinclude>
<noinclude>
This is the "DisplayChangePathTemplate" template.
This is the "DisplayVersionComponentsTemplate" template.
It should be called in the following format:
It should be called in the following format:
<pre>
<pre>
{{DisplayVersionComponentsTemplate
{{DisplayVersionComponentsTemplate
|1=version
|1= version
|2 = version number
|2 = version number
|userparam= model
|userparam= model
Line 12: Line 12:
</noinclude><includeonly>
</noinclude><includeonly>
<tr class="StandardTableRow">
<tr class="StandardTableRow">
<td class="StandardTableCell">[[{{{2|}}}]]</td>
<td class="StandardTableCell">
{{#ifeq:
{{#ifeq:
   {{#show:{{{1|}}}|?HasNamespace}}
   {{#show:{{{1|}}}|?IsCurrentVersion}}
   |main
   |true
   |{{#ask:[[-IsImplementationOf::{{{userparam|}}}]]|format=list|sep=;&nbsp;}}
   |<td class="StandardTableCell">[[{{{1|}}}]] <br/>(latest version)</td>
   |{{#arraymap:
  <td class="StandardTableCell">
    {{#ask:[[-IsImplementationOf::{{{userparam|}}}]]|format=list |link=none |sep=; }}
    {{#ask:[[-IsImplementationOf::{{{userparam|}}}]]|format=ul|sep=;&nbsp;}}</td>
    |;|yy
   |<td class="StandardTableCell">[[{{{1|}}}]] <br/>(previous version)</td>
    |[[{{#show:yy|? HasNamespace}}:yy]]|;&nbsp;
  <td class="StandardTableCell">
  }}
      <ul><li>{{#show:{{{1|}}}|?HasVersionDocument}}, [[Media:{{#show:{{{1|}}}|?HasVersionDocument}}|open pdf file]]
}}
      </li></ul></td>
}}</tr>
</includeonly>
</includeonly>

Revision as of 18:14, 31 July 2017

This is the "DisplayVersionComponentsTemplate" template. It should be called in the following format:

{{DisplayVersionComponentsTemplate
|1= version
|2 = version number
|userparam= model
}}

Edit the page to see the template text.