Jump to content

Template:Game update: Difference between revisions

From Bconomy Wiki
Use article titles and explicit previous/next labels in update infoboxes
No edit summary
 
(3 intermediate revisions by 2 users not shown)
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>{| class="wikitable bc-infobox bc-game-update-infobox"
! colspan="2" style="font-size:125%;text-align:center;" | {{{name|{{PAGENAME}}}}}
|+ <templatestyles src="Item infobox/styles.css" /><templatestyles src="Game update/styles.css" />{{DISPLAYTITLE:{{{name|{{PAGENAME}}}}}|noerror}}{{{name|{{PAGENAME}}}}}
|-
|-
! scope="row" style="width:32%;text-align:left;" | Release date
! scope="row" | Release date
| {{#time:F j, Y|{{{released}}}|en}}
| {{#time:F j, Y|{{{released}}}|en}}
{{#if:{{{source|}}}|
{{#if:{{{source|}}}|
{{!}}-
{{!}}-
! scope="row" style="text-align:left;" {{!}} Changelog
! scope="row" {{!}} Changelog
{{!}} [{{{source}}} {{{source-title|Official changelog}}}]
{{!}} [{{{source}}} {{{source-title|Official changelog}}}]
}}
}}
{{#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]]}}
{{!}} colspan="2" class="bc-update-navigation" {{!}} <div class="bc-update-neighbors"><div class="bc-update-previous">{{#if:{{{previous|}}}|<div class="bc-update-direction">← Previous update</div>[[{{{previous}}}]]}}</div><div class="bc-update-next">{{#if:{{{next|}}}|{{#ifexist:{{{next}}}|<div class="bc-update-direction">Next update →</div>[[{{{next}}}]]}}}}</div></div>
{{!}} style="text-align:right;vertical-align:top;" {{!}} {{#if:{{{next|}}}|{{#ifexist:{{{next}}}|[[{{{next}}}|Next update →]]}}}}
}}
}}
|}
|}
'''{{{name|{{PAGENAME}}}}}''' was an update to Bconomy released on {{#time:F j, Y|{{{released}}}|en}}.{{#ifeq:{{NAMESPACE}}||[[Category:Game updates|{{{released}}}]]
'''{{{name|{{PAGENAME}}}}}''' was an update to Bconomy released on {{#time:F j, Y|{{{released}}}|en}}.{{#ifeq:{{NAMESPACE}}||[[Category:Game updates|{{{released}}}]]
[[Category:{{#time:Y|{{{released}}}}} updates|{{{released}}}]]}}</includeonly><noinclude>
[[Category:{{#time:Y|{{{released}}}}} updates|{{{released}}}]]}}</includeonly><noinclude>
Titled update infobox and lead for published Bconomy updates.
Titled update infobox and lead for published Bconomy updates. Uses the shared infobox style. Previous and next updates occupy equal halves of an independent navigation row.
 
Keep stylesheet tags and display-title metadata inside the caption so they cannot create an empty paragraph above the infobox.


<pre>{{Game update
<pre>{{Game update
Line 28: Line 29:
}}</pre>
}}</pre>


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 <code><nowiki>{{Version history navbox}}</nowiki></code>.
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 <code><nowiki>{{Update history navbox}}</nowiki></code>.
</noinclude>
</noinclude>

Latest revision as of 16:36, 4 November 2026

Titled update infobox and lead for published Bconomy updates. Uses the shared infobox style. Previous and next updates occupy equal halves of an independent navigation row.

Keep stylesheet tags and display-title metadata inside the caption so they cannot create an empty paragraph above the infobox.

{{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 {{Update history navbox}}.