Jump to content

Template:Game update: Difference between revisions

From Bconomy Wiki
Use article titles and explicit previous/next labels in update infoboxes
Match Item infobox captions and show article names below chronology labels
Line 1: Line 1:
<includeonly>{| class="infobox wikitable" style="float:right;clear:right;width:22em;max-width:calc(100% - 1.25em);margin:0 0 1em 1.25em;font-size:90%;line-height:1.5;text-align:left;table-layout:fixed;overflow-wrap:anywhere;"
<includeonly><templatestyles src="Game update/styles.css" />
! colspan="2" style="font-size:125%;text-align:center;" | {{{name|{{PAGENAME}}}}}
{| class="wikitable bc-game-update-infobox"
|+ {{{name|{{PAGENAME}}}}}
|-
|-
! scope="row" style="width:32%;text-align:left;" | Release date
! scope="row" style="width:32%;text-align:left;" | Release date
Line 11: Line 12:
{{#if:{{{previous|}}}{{#if:{{{next|}}}|{{#ifexist:{{{next}}}|1}}}}|
{{#if:{{{previous|}}}{{#if:{{{next|}}}|{{#ifexist:{{{next}}}|1}}}}|
{{!}}-
{{!}}-
{{!}} style="text-align:left;vertical-align:top;" {{!}} {{#if:{{{previous|}}}|[[{{{previous}}}|← Previous update]]}}
{{!}} style="text-align:left;vertical-align:top;" {{!}} {{#if:{{{previous|}}}|<div class="bc-update-direction">← Previous update</div>[[{{{previous}}}]]}}
{{!}} style="text-align:right;vertical-align:top;" {{!}} {{#if:{{{next|}}}|{{#ifexist:{{{next}}}|[[{{{next}}}|Next update →]]}}}}
{{!}} style="text-align:right;vertical-align:top;" {{!}} {{#if:{{{next|}}}|{{#ifexist:{{{next}}}|<div class="bc-update-direction">Next update →</div>[[{{{next}}}]]}}}}
}}
}}
|}
|}

Revision as of 22:01, 3 November 2026

Titled update infobox and lead for published Bconomy updates.

{{Game update
| name = Canonical Wiki article title
| released = YYYY-MM-DD
| source = Original WordPress post URL
| source-title = Original WordPress post title
| previous = Previous canonical update article
| next = Next canonical update article
}}

The original post title is retained in the Changelog link. The heading uses the canonical article title. Next appears only when its target article exists. The full converted post body belongs below this template under Changelog, inside a blockquote with a theme-colored backdrop and left border, followed by {{Version history navbox}}.