Template:Spriterip: Difference between revisions

From Pizza Tower Wiki
Content added Content deleted
m (some extra stuff)
mNo edit summary
 
Line 1: Line 1:
<includeonly>{{Box|This image was '''extracted''' from '''{{#if:{{{build|}}}|[[{{{build|}}}{{#if:{{{build-name|}}}|{{!}}{{{build-name|}}}|}}]]|{{#if:{{{build-name|}}}|{{{build-name|}}}|{{#if: {{{1|}}}|{{{1|}}}|a playable build}}}}}}'''.}}<!--
<includeonly>{{Box|This image was '''extracted''' from '''{{#if:{{{build|}}}|[[{{{build|}}}{{#if:{{{build-name|}}}|{{!}}{{{build-name|}}}|}}]]|{{#if:{{{build-name|}}}|{{{build-name|}}}|{{#if: {{{1|}}}|{{{1|}}}|a playable build}}}}}}'''.}}<!--
-->{{#ifeq:{{NAMESPACE}}|File|{{#if:{{{build|}}}|[[Category:{{{build|}}}]]|{{#if:{{{subcat|}}}|[[Category:{{{subcat|}}}]]|[[Category:Extracted sprite art]]}}}}}}</includeonly><noinclude>{{documentation}}[[Category:File_tags]]</noinclude>
-->{{#ifeq:{{NAMESPACE}}|File|{{#if:{{{build|}}}|[[Category:{{{build|}}} sprites]]|{{#if:{{{subcat|}}}|[[Category:{{{subcat|}}}]]|[[Category:Extracted sprite art]]}}}}}}</includeonly><noinclude>{{documentation}}[[Category:File_tags]]</noinclude>

Latest revision as of 00:38, 14 March 2024

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 categorizes files into the Category:Extracted sprite art category. Sprites uploaded by the developer(s) and are not found in the game should use Template:Spriteart.
Syntax
{{Spriterip
|build = 
|build-name = 
|subcat = 
}}
  • build links to the relevant build page.
    • build-name is optional; it can name the specific version of the build if necessary.
  • subcat is the name of the sub-category this image belongs to. See Category:Extracted sprite art's sub-categories for reference.
    • This parameter is only used if build is not filled out.
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 sprite from Eggplant v15, code:

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

Result:

This image was extracted from Eggplant v15.

Sourcing Noise's Hardoween, code:

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

Result:

This image was extracted from Noise's Hardoween.

Using only build-name, code:

{{Spriterip
|build-name = v1.1.0
}}

Result:

This image was extracted from v1.1.0.

Manual citation

Sourcing from release version 1.0.184, code:

{{Spriterip|v1.0.184}}

Result:

This image was extracted from v1.0.184.

No citation

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

This image was extracted from a playable build.