Template:Update layout: Difference between revisions

mNo edit summary
fixed broken general header
 
(46 intermediate revisions by 8 users not shown)
Line 1: Line 1:
<div style="padding: 0.75em 1em; border: 1px solid #aaa; background-color: #f8f7f5;">
<includeonly><!--
{| style="width:100%; border: 1px solid #aaa; margin: 0;"
-->{{#switch:{{NAMESPACE}}|Template=|User=|#default={{DISPLAYTITLE:{{#invoke:Dictionary|translate|update-title-fmt|{{Translate|{{{month}}}}}|{{{day}}}|{{{year}}}}}}}}}<!--
! colspan="3" style="width:100%; background-color: #e1d2b3;" | [[Updates]]
--><templatestyles src="Update layout/styles.css" /><!--
--><div class="update-layout-container">
{| class="update-layout-nav"
! colspan="3" | [[Updates{{if lang}}|{{Translate|Updates}}]]
|-
|-
! style="width:33%; background-color: #e1d2b3;" | ← {{#if:{{{prev_update|}}}|[[Update: {{{prev_update}}}|{{{prev_update}}}]]|N/A}}
! | ← {{#if:{{{prev_update}}}|{{{prev_update}}}|{{Translate|N/A}}}}
! style="width:34%; background-color: #e1d2b3;" | {{BASEPAGENAME}}
! | {{Update link|{{{month}}}|{{{day}}}|{{{year}}}}}
! style="width:33%; background-color: #e1d2b3;" | {{#if:{{{next_update|}}}|[[Update: {{{next_update}}}|{{{next_update}}}]]|N/A}} →
! | {{#if:{{{next_update}}}|{{{next_update}}}|{{Translate|N/A}}}} →
|}
|}
<span style="font-size: 95%; font-style: italic;">Source: {{#if:{{{source|}}}|{{{source}}}|No source link has been provided.}}</span>
{{#if:{{{source|{{{source2|}}}}}}|<span class="update-layout-source">{{Translate|Source:}}&nbsp;{{#if:{{{source|}}}|[{{{source}}} {{{source_title|{{{source}}}}}}]}}{{#if:{{{source2|}}}|{{#if:{{{source|}}}|,&nbsp;}}[{{{source2}}} {{{source2_title|{{{source2}}}}}}]}}</span>}}<!--
 
-->{{#if:{{{image|}}}|[[File:{{{image}}}|right|400px]]}}
== Patch notes ==
{{#ifeq:{{{hide_general|}}}||== {{Translate|General}} ==}}
<div class="update-notes">
{{{notes|}}}
{{{notes|}}}
</div><includeonly>[[Category:Updates]]</includeonly><noinclude>{{Documentation}}</noinclude>
</div>
__NOEDITSECTION__
</div>{{#ifeq:{{lc:{{{nocat|false}}}}}|false|[[Category:Updates{{if lang}}]]}}__NOEDITSECTION__</includeonly><noinclude>{{Documentation}}</noinclude>