Template:Screenshot: Difference between revisions

From Pizza Tower Wiki
Content added Content deleted
m (Minor improvement & fixes)
(code fix, + cat, + doc)
Line 1: Line 1:
{{Box|This is an in game '''screenshot''' from {{#if: {{{1|}}} | '''{{{1}}}''' | {{#if: {{{build|}}} | '''a playable build'''}} }}.}}<noinclude>
{{Box|This is an in-game '''screenshot''' from {{#if: {{{1|}}}|{{{1|}}}|'''a playable build'''}}.}}<!--
-->{{#ifeq:{{NAMESPACE}}|File|[[Category:Screenshots of the game]]}}<noinclude>{{documentation}}[[Category:File_tags]]</noinclude>
This tag is used for screenshots taken from the game. '''Do not''' use this tag if you're posting a screenshot taken by one of the developers. Use <tt><nowiki>{{devscreenshot}} instead.</nowiki></tt>


'''Usage''': <tt><nowiki>{{screenshot|build}}</nowiki></tt>

The text <tt>build</tt> must be replaced with a version number. This version number can be found on the title screen.
When taking a screenshot from a prerelease build, replace <tt>build</tt> with the official build name and revision number, provided there is one.


'''Example''':
:<tt><nowiki>{{screenshot|v1.0.184}}</nowiki></tt>
:<tt><nowiki>{{screenshot|Noise's Hardoween}}</nowiki></tt>
:<tt><nowiki>{{screenshot|Western v2}}</nowiki></tt>

[[Category:File_tags]]</noinclude>

Revision as of 09:49, 19 August 2023

This is an in-game screenshot from a playable build.

How do I use this thing?

This is documentation about a Template. Portions of this template may not display properly without certain values provided.

Edit this documentation | About the Documentation template

Description
This template is used for screenshots taken from the game. Do not use this tag if you're posting a screenshot taken by one of the developers, use {{devscreenshot}} instead.
Template will also add file to Category:Screenshots of the game.
Syntax
{{Screenshot
|build = 
|build-name = 
}}
  • build links to the relevant build page.
    • build-name is optional; it can name the specific version of the build if necessary.
If sourcing from a release version of the game, there is no need to fill the build and build-name parameters. Instead, a manual citation is preferable. See below for details.

Examples

Sourcing with build and build-name

Sourcing a screenshot from Eggplant v15, code:

{{Screenshot
|build = Eggplant
|build-name = Eggplant v15
}}

Result:

This is an in-game screenshot from a playable build.

Sourcing Noise's Hardoween, code:

{{Screenshot
|build = Noise's Hardoween
}}

Result:

This is an in-game screenshot from a playable build.

Manual citation

Sourcing from release version 1.0.184, code:

{{screenshot|v1.0.184}}

Result:

This is an in-game screenshot from v1.0.184.

No citation

As a fail-safe, there is text that displays when no citation is given:

This is an in-game screenshot from a playable build.