Template:Update layout: Difference between revisionsGive feedback
Gammaton32 (talk | contribs) No edit summary Tags: Mobile edit Mobile web edit Advanced mobile edit |
Move css to styles page and add a div for notes so we can have underlines for h3 headings. |
||
| Line 1: | Line 1: | ||
<includeonly><!-- | <includeonly><!-- | ||
-->{{#switch:{{NAMESPACE}}|Template=|User=|#default={{DISPLAYTITLE:{{#invoke:Dictionary|translate|update-title-fmt|{{Translate|{{{month}}}}}|{{{day}}}|{{{year}}}}}}}}}<!-- | -->{{#switch:{{NAMESPACE}}|Template=|User=|#default={{DISPLAYTITLE:{{#invoke:Dictionary|translate|update-title-fmt|{{Translate|{{{month}}}}}|{{{day}}}|{{{year}}}}}}}}}<!-- | ||
--><div | --><templatestyles src="Update layout/styles.css" /><!-- | ||
{| | --><div class="update-layout-container"> | ||
! colspan="3 | {| class="update-layout-nav" | ||
! colspan="3" | [[Updates{{if lang}}|{{Translate|Updates}}]] | |||
|- | |- | ||
! | ! | ← {{#if:{{{prev_update}}}|{{{prev_update}}}|{{Translate|N/A}}}} | ||
! | ! | {{Update link|{{{month}}}|{{{day}}}|{{{year}}}}} | ||
! | ! | {{#if:{{{next_update}}}|{{{next_update}}}|{{Translate|N/A}}}} → | ||
|} | |} | ||
{{#if:{{{source|{{{source2|}}}}}}|<span | {{#if:{{{source|{{{source2|}}}}}}|<span class="update-layout-source">{{Translate|Source:}} {{#if:{{{source|}}}|[{{{source}}} {{{source_title|{{{source}}}}}}]}}{{#if:{{{source2|}}}|{{#if:{{{source|}}}|, }}[{{{source2}}} {{{source2_title|{{{source2}}}}}}]}}</span>}} | ||
{{#if:{{{image|}}}|[[File:{{{image}}}|right|400px]]}} | {{#if:{{{image|}}}|[[File:{{{image}}}|right|400px]]}} | ||
{{#ifeq:{{{hide_general|}}}||= {{Translate|General}} =}} | {{#ifeq:{{{hide_general|}}}||== {{Translate|General}} ==}} | ||
<div class="update-notes"> | |||
{{{notes|}}} | {{{notes|}}} | ||
</div>{{#ifeq:{{lc:{{{nocat|false}}}}}|false|[[Category:Updates{{if lang}}]]}}</includeonly><noinclude>{{Documentation}}</noinclude> | </div> | ||
</div>{{#ifeq:{{lc:{{{nocat|false}}}}}|false|[[Category:Updates{{if lang}}]]}}__NOEDITSECTION__</includeonly><noinclude>{{Documentation}}</noinclude> | |||