Template:Spriteart: Difference between revisions

From Pizza Tower Wiki
Content deleted Content added
cat fix
m updated parameters
Line 1: Line 1:
{{Box|This is '''sprite art''' created by the developer(s). Source: {{#if: {{{link|}}}|{{{link}}}|'''{{{discord}}}'''}}.}}<!--
<includeonly>{{Box|This is '''sprite art''' created by the developer(s).{{#if:{{{link|}}}|Source: {{{link|}}}{{#if:{{{discord|}}}|,{{#if:{{{discordlink|}}}|[{{{discordlink|}}}|}} {{{discord|}}}{{#if:{{{discordchannel|}}}|, #{{{discordchannel|}}}.|.}}{{#if:{{{discordlink|}}}|]|}}|.}}|{{#if:{{{discord|}}}|Source: {{#if:{{{discordlink|}}}|[{{{discordlink|}}}|}} {{{discord|}}}{{#if:{{{discordchannel|}}}|, #{{{discordchannel|}}}.|.}}{{#if:{{{discordlink|}}}|]|}}|{{#if:{{{1|}}}|Source: {{{1|}}}.|}}|}}|}} {{#if:{{{date|}}}|Posted on {{{date|}}}.|}}}}<!--
-->{{#ifeq:{{NAMESPACE}}|File|[[Category:Published sprite arts]]}}<noinclude>{{documentation}}[[Category:File_tags]]</noinclude>
-->{{#ifeq:{{NAMESPACE}}|File|[[Category:Published sprite arts]]}}</includeonly><noinclude>{{documentation}}[[Category:File_tags]]</noinclude>

Revision as of 00:51, 4 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 template categorizes files into Category:Published sprite art.
Syntax
{{spriteart
|link = 
|discord = 
|discordchannel = 
|discordlink = 
|date =
}}
  • link will link off-site if the paremeter is a valid web address.
  • discord is the Discord Server name. Usually is Pizza Tower Discord.
  • discordchannel and discordlink are not required, but add to the discord source text.
    • discordchannel is the name of the channel. Exclude the #.
    • discordlink will link the exact message sent in the Pizza Tower Discord.
  • The template takes both link or discord, but only one is required.
    • If neither paremeter are filled but an empty one is instead, it will display regular text.
  • date is the specific time and date when it was posted. Not required.
    • Format it as Month, Day Year at HH:MM.
    • The time must be formatted in the 12 hour format in the United States Eastern Standard Timezone.

Examples

Citing a Twitter Post
Code: {{spriteart|link=https://twitter.com/PizzaTowergame/status/1235037319876378626|date=March 3rd, 2020 at 10:00 PM}}
Result
This is sprite art created by the developer(s).Source: https://twitter.com/PizzaTowergame/status/1235037319876378626. Posted on March 3rd, 2020 at 10:00 PM.
Citing a Discord Post
Code:
{{spriteart
|discord = Pizza Tower Discord
|discordchannel = thing-of-the-week
|discordlink = https://discord.com/channels/453316029842456590/491758156859441182/996549713220354109
|date = July 12th, 2022 at 6:52 PM}}
Result
This is sprite art created by the developer(s).Source: Pizza Tower Discord, #thing-of-the-week. Posted on July 12th, 2022 at 6:52 PM.
Manual Citation
Code: {{spriteart|Pizza Tower Design Document}}
Result
This is sprite art created by the developer(s).Source: Pizza Tower Design Document.
Empty Parameters
Code: {{spriteart}}
Result
This is sprite art created by the developer(s).