Jump to content

Template:Upcoming/doc: Difference between revisions

From Stardew Valley Wiki
imported>Pathoschild
m Pathoschild moved page Template:SMAPI upcoming/doc to Template:Upcoming/doc without leaving a redirect: generalise for use with Stardew Valley betas
imported>Pathoschild
update for more general use
Line 1: Line 1:
==Description==
==Description==
This template wraps features available in a future version of SMAPI to avoid confusion.
This template wraps features available in a future version of Stardew Valley or SMAPI to avoid confusion.


==Usage==
==Usage==
===As a header===
===As a header===
<pre>{{SMAPI upcoming|2.0}}</pre>
<pre>{{upcoming|1.3 beta}}</pre>
{{SMAPI upcoming|2.0}}
{{upcoming|1.3 beta}}


===As a content block===
===As a content block===
<pre>{{SMAPI upcoming
<pre>{{upcoming
  |version = 2.0
  |version = 1.3 beta
  |content = Feature documentation goes here.
  |content = Feature documentation goes here.
}}</pre>
}}</pre>
{{SMAPI upcoming
{{upcoming
  |version = 2.0
  |version = 1.3 beta
  |content = Feature documentation goes here.
  |content = Feature documentation goes here.
}}
}}
===For non-Stardew Valley releases===
By default the template will say 'Stardew Valley'. For something else, specify the name argument:
<pre>{{upcoming
|name    = SMAPI
|version = 3.0
|content = Feature documentation goes here.
}}</pre>
{{upcoming
|name    = SMAPI
|version = 3.0
|content = Feature documentation goes here.
}}
==See also==
* [[Template:SMAPI upcoming]]


<includeonly>[[Category:Formatting templates]]</includeonly><noinclude>[[Category:Template documentation]]</noinclude>
<includeonly>[[Category:Formatting templates]]</includeonly><noinclude>[[Category:Template documentation]]</noinclude>

Revision as of 21:48, 16 March 2018

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.

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