Difference between revisions of "Template:Upcoming"

From Stardew Valley Wiki
Jump to navigation Jump to search
(update for more general use)
(+ position argument for content)
Line 1: Line 1:
 
<div style="border: 1px solid gray; border-left: 1em solid gray; padding: 0.5em 1em; border-radius: 5px;">
 
<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|}}}|<div style="opacity: 0.65;">{{{content}}}</div>}}
+
{{#if:{{{content|{{{2|}}}}}}|<div style="opacity: 0.65;">{{{content|{{{2|}}}}}}</div>}}
 
</div><noinclude>
 
</div><noinclude>
 
{{{{FULLPAGENAME}}/doc}}
 
{{{{FULLPAGENAME}}/doc}}
 
</noinclude>
 
</noinclude>

Revision as of 22:32, 16 March 2018

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}}
The following describes the upcoming Stardew Valley 1.3 beta, and may change before release.
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