Template:Upcoming: Difference between revisions
Appearance
imported>Pathoschild update for more general use |
imported>Pathoschild + 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.
Basic 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.
Advanced usage
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.
Custom message
For rare cases, you can completely override the message displayed with any of the previous forms. For example:
{{upcoming
|version = 3.0
|message = '''This page describes an unreleased pre-alpha version of the game with no estimated release date. Things ''will'' change before it's released!'''
}}
The following describes the upcoming Stardew Valley 3.0, and may change before release.
See also