Difference between revisions of "Template:Upcoming"

From Stardew Valley Wiki
Jump to navigation Jump to search
(+ inline mode)
(remove line breaks so the template doesn't break lists)
 
Line 1: Line 1:
{{#if:{{{inline|}}}|<span style="color: gray;">As of {{#if:{{{1|{{{version|}}}}}}|the upcoming {{{name|Stardew Valley}}} {{{1|{{{version}}}}}}|an upcoming version of {{{name|Stardew Valley}}}}}: {{{content|{{{2|}}}}}}</span>|<div style="border: 1px solid gray; border-left: 1em solid gray; padding: 0.5em 1em; border-radius: 5px;">
+
{{#if:{{{inline|}}}|<span style="color: gray;">As of {{#if:{{{1|{{{version|}}}}}}|the upcoming {{{name|Stardew Valley}}} {{{1|{{{version}}}}}}|an upcoming version of {{{name|Stardew Valley}}}}}: {{{content|{{{2|}}}}}}</span>|<div style="border: 1px solid gray; border-left: 1em solid gray; padding: 0.5em 1em; border-radius: 5px;"><!--
<div>The following describes {{#if:{{{1|{{{version|}}}}}}|the upcoming {{{name|Stardew Valley}}} {{{1|{{{version}}}}}}|an upcoming version of {{{name|Stardew Valley}}}}}, and may change before release.</div>
+
--><div>The following describes {{#if:{{{1|{{{version|}}}}}}|the upcoming {{{name|Stardew Valley}}} {{{1|{{{version}}}}}}|an upcoming version of {{{name|Stardew Valley}}}}}, and may change before release.</div>
{{#if:{{{content|{{{2|}}}}}}|<div style="opacity: 0.65;">{{{content|{{{2|}}}}}}</div>}}
+
{{#if:{{{content|{{{2|}}}}}}|<div style="opacity: 0.65;">{{{content|{{{2|}}}}}}</div>}}<!--
</div>}}<noinclude>
+
--></div>}}<noinclude>
 
{{{{FULLPAGENAME}}/doc}}
 
{{{{FULLPAGENAME}}/doc}}
 
</noinclude>
 
</noinclude>

Latest revision as of 23:33, 3 November 2019

The following describes an upcoming version of Stardew Valley, and may change before release.

Description

This template wraps features available in a future version of Stardew Valley or SMAPI to avoid confusion.

Usage

As a Header

{{Upcoming|1.3 beta}}
The following describes the upcoming Stardew Valley 1.3 beta, and may change before release.

As a Content Block

{{Upcoming
 |version = 1.3 beta
 |content = Feature documentation goes here.
}}
The following describes the upcoming Stardew Valley 1.3 beta, and may change before release.
Feature documentation goes here.

As an Inline Phrase

{{upcoming|1.3 beta|Feature description goes here.|inline=1}}

As of the upcoming Stardew Valley 1.3 beta: Feature description goes here.

For non-Stardew Valley Releases

By default the template will say 'Stardew Valley'. For something else, specify the name argument:

{{Upcoming
 |name    = SMAPI
 |version = 3.0
 |content = Feature documentation goes here.
}}
The following describes the upcoming SMAPI 3.0, and may change before release.
Feature documentation goes here.

See Also