Template:Version Infobox: Difference between revisions
Straight from HSR, no changes |
m formatting |
||
| Line 1: | Line 1: | ||
<includeonly><infobox> | <includeonly><infobox> | ||
<title source="title"> | |||
<default>{{PAGENAME}}</default> | |||
</title> | |||
<image source="image"> | |||
<caption source="caption"/> | |||
</image> | |||
<data source="release_date"> | |||
<label>Release Date</label> | |||
<format>{{#time:F d, Y|{{{release_date|}}}}}</format> | |||
</data> | |||
<group layout="horizontal"> | |||
<data source="prev"> | <data source="prev"> | ||
<label>Previous</label> | <label>Previous</label> | ||
<default>{{#if:{{{next|}}}|N/A}}</default> | <default>{{#if:{{{next|}}}|N/A}}</default> | ||
<format><!-- | <format><!-- | ||
-->[[Version/{{{prev}}}|{{{prev}}} <!-- | -->[[Version/{{{prev}}}|{{{prev}}}<!-- | ||
-->{{#DPL:<!-- | |||
-->|title=Version/{{{prev}}}<!-- | |||
-->|include={Version Infobox}:title,{Version Infobox}:title<!-- | |||
-->|allowcachedresults=true<!-- | |||
-->|secseparators=²{#if:,¦ - ,,}²<!-- | |||
-->}}<!-- | |||
-->]]<!-- | |||
--></format> | |||
</data> | </data> | ||
<data source="next"> | <data source="next"> | ||
| Line 30: | Line 30: | ||
<format><!-- | <format><!-- | ||
-->[[Version/{{{next}}}|{{{next}}} <!-- | -->[[Version/{{{next}}}|{{{next}}} <!-- | ||
-->{{#DPL:<!-- | |||
-->|title=Version/{{{next}}}<!-- | |||
-->|include={Version Infobox}:title,{Version Infobox}:title<!-- | |||
-->|allowcachedresults=true<!-- | |||
-->|secseparators=²{#if:,¦ - ,,}²<!-- | |||
-->}}<!-- | |||
-->]]<!-- | |||
--></format> | |||
</data> | </data> | ||
</group> | |||
<group layout="vertical"> | |||
<data> | |||
<label>Links</label> | |||
<default><!-- | |||
-->{{#if:{{{link1|}}}|{{{link1|}}}<br />}}<!-- | -->{{#if:{{{link1|}}}|{{{link1|}}}<br />}}<!-- | ||
-->{{#if:{{{link2|}}}|{{{link2|}}}<br />}}<!-- | -->{{#if:{{{link2|}}}|{{{link2|}}}<br />}}<!-- | ||
| Line 49: | Line 49: | ||
-->{{#if:{{{link4|}}}|{{{link4|}}}<br />}}<!-- | -->{{#if:{{{link4|}}}|{{{link4|}}}<br />}}<!-- | ||
-->{{#if:{{{link5|}}}|{{{link5|}}}<br />}}<!-- | -->{{#if:{{{link5|}}}|{{{link5|}}}<br />}}<!-- | ||
--></default> | |||
</data> | |||
</group> | |||
</infobox><!-- | </infobox><!-- | ||
-->{{Namespace|main=<!-- | -->{{Namespace|main=<!-- | ||
-->{{#ifeq:{{NAMESPACE}}||<!-- | |||
Display Name | |||
-->{{#ifeq:{{FULLPAGENAME}}|{{SUBPAGENAME}}||{{DISPLAYTITLE:Version {{SUBPAGENAME}}}}}}<!-- | |||
-->}}<!-- | |||
Main Category | |||
-->[[Category:Version Info]]<!-- | |||
Version Category | |||
-->{{#ifeq:{{SUBPAGENAME}}|Version||{{#if:{{{version|}}}|[[Category:Version|!{{{version}}}]]|[[Category:Version|!]]}}}}<!-- | |||
-->}}<!-- | -->}}<!-- | ||
--></includeonly><!-- | --></includeonly><!-- | ||
--><noinclude>{{Documentation|type=Infobox}}</noinclude> | --><noinclude>{{Documentation|type=Infobox}}</noinclude> | ||