Forskel mellem versioner af "Skabelon:Latest version"

Fra PGVWiki
Spring til navigation Spring til søgning
(Siden blev oprettet: {{ #if: {{{series|}}} | {{ #if: {{{release date|{{{release_date|}}}}}} | {{latest version {{{series|}}} | release date = 1}} | {{latest version {{{series|}}}}}}} | {{ #if: {{{de...)
 
 
Linje 3: Linje 3:
 
}}<noinclude>
 
}}<noinclude>
 
[[Category:Templates]]
 
[[Category:Templates]]
{{template doc}}
+
&#123;&#123;[[Template:Latest version|Latest version]]&#125;&#125;&#32;&mdash; A template to obtain the latest release under a given series or the latest development branch
 +
 
 +
== Usage ==
 +
{| style="background: transparent;"
 +
|
 +
<pre>
 +
{{latest version
 +
| series      =
 +
| release date =
 +
| development  =
 +
}}
 +
</pre>
 +
|}
 +
 
 +
== Examples ==
 +
 
 +
{{latest version
 +
| series      = 4.1.x
 +
}}
 +
{| style="background: transparent;"
 +
|<pre>{{latest version
 +
| series      = 4.1.x
 +
}}</pre>
 +
|}
 +
{{-}}
 +
{{latest version
 +
| series      = 4.1.x
 +
| release date = 1
 +
}}
 +
{| style="background: transparent;"
 +
|<pre>{{latest version
 +
| series      = 4.1.x
 +
| release date = 1
 +
}}</pre>
 +
|}
 +
{{-}}
 +
{{latest version
 +
| development  = 1
 +
}}
 +
{| style="background: transparent;"
 +
|<pre>{{latest version
 +
| development  = 1
 +
}}</pre>
 +
|}
 +
<noinclude>
 +
[[Category:Template Documentation]]
 +
</noinclude>
 +
 
 
</noinclude>
 
</noinclude>

Nuværende version fra 15. dec 2007, 09:32

{{Latest version}} — A template to obtain the latest release under a given series or the latest development branch

Usage

{{latest version
 | series       = 
 | release date = 
 | development  = 
}}

Examples

4.1.3

</noinclude>

{{latest version
 | series       = 4.1.x
}}


16 November, 2007

</noinclude>

{{latest version
 | series       = 4.1.x
 | release date = 1
}}


4.2

</noinclude>

{{latest version
 | development  = 1
}}