• New article from the Springfield Shopper: Season 36 News: A new episode title, “Ladies Night”, has been announced, also announcing the season 36 premiere episode!
  • New article from the Springfield Shopper: Season 35 News: A Sneak Peek for “Bart’s Brain” has been released!
  • Wikisimpsons needs more Featured Article, Picture, Quote, Episode and Comprehensive article nominations!
  • Wikisimpsons has a Discord server! Click here for your invite! Join to talk about the wiki, Simpsons and Tapped Out news, or just to talk to other users.
  • Make an account! It's easy, free, and your work on the wiki can be attributed to you.
TwitterFacebookDiscord

Difference between revisions of "Template:TSTOtable"

Wikisimpsons - The Simpsons Wiki
(Created page with "<noinclude>{{Table|</noinclude> {{TBT|[[File:{{{1}}}.png|{{{size|100px}}}]]|align=}} {{TB|{{{2}}}}} {{#switch: {{{more|1}}}|1={{TB|{{{3}}}}}|2={{TRs|{{{3}}}|{{{q|}}}}}|3=}} {{...")
 
m
 
(2 intermediate revisions by the same user not shown)
Line 1: Line 1:
 
<noinclude>{{Table|</noinclude>
 
<noinclude>{{Table|</noinclude>
{{TBT|[[File:{{{1}}}.png|{{{size|100px}}}]]|align=}}
+
{{TBT|[[File:{{{1}}}.png|{{{size|100px}}}]]}}
 
{{TB|{{{2}}}}}
 
{{TB|{{{2}}}}}
 
{{#switch: {{{more|1}}}|1={{TB|{{{3}}}}}|2={{TRs|{{{3}}}|{{{q|}}}}}|3=}}
 
{{#switch: {{{more|1}}}|1={{TB|{{{3}}}}}|2={{TRs|{{{3}}}|{{{q|}}}}}|3=}}
{{#switch: {{{moreT|1}}}|1={{TB|{{{4}}}}}|2={{TRs|{{{4}}}|{{{q1|}}}}}|3=}}
+
{{#switch: {{{deco|no}}}
{{TB|{{{5}}}}}
+
|no={{#switch: {{{moreT|1}}}|1={{TB|{{{4}}}}}|2={{TRs|{{{4}}}|{{{q1|}}}}}|3=}}
 +
{{TB|{{{5}}}}}}}
 
{{#switch: {{{moreN|1}}}|1={{TB|{{{6}}}}}|2={{TRs|{{{6}}}|{{{q2|}}}}}|3=}}<noinclude>
 
{{#switch: {{{moreN|1}}}|1={{TB|{{{6}}}}}|2={{TRs|{{{6}}}|{{{q2|}}}}}|3=}}<noinclude>
 
}}
 
}}
 +
== Usage ==
 +
<pre>{{TSTOtable|<1>|<2>|<3>|<4>|<5>|<6>|<options>}}</pre>
 +
*<1> --> Name of the file (without "File:" and ".png")
 +
*<2> --> Name of the building/decoration
 +
*<3> --> Cost of the building/decoration
 +
*<4> --> Building time (leave blank for decorations)
 +
*<5> --> Task (leave blank for decorations)
 +
*<6> --> Notes
 +
*<options> --> Options include:
 +
**'''"size=Npx"''', where "N" is a number --> change the size of the image (100px is default size)
 +
**'''"deco=yes"''' --> for decorations only
 +
**'''"more=2"''' --> To have "<code><nowiki>{{TRs|cost|q}}</nowiki></code>", where "q" should be specified as the option '''"q=n"''', where "n" is a number. The following "n-1" rows should have the option '''"more=3"'''.
 +
**'''"moreT=2"''' --> To have "<code><nowiki>{{TRs|building time|q1}}</nowiki></code>", where "q1" should be specified as the option '''"q1=n"''', where "n" is a number. The following "n-1" rows should have the option '''"moreT=3"'''.
 +
**'''"moreN=2"''' --> To have "<code><nowiki>{{TRs|notes|q2}}</nowiki></code>", where "q2" should be specified as the option '''"q2=n"''', where "n" is a number. The following "n-1" rows should have the option '''"moreN=3"'''.
 +
 
</noinclude><noinclude>[[Category:Templates]]</noinclude>
 
</noinclude><noinclude>[[Category:Templates]]</noinclude>

Latest revision as of 11:25, January 3, 2018

[[File:{{{1}}}.png|100px]] {{{2}}} {{{3}}} {{{4}}} {{{5}}} {{{6}}}

Usage[edit]

{{TSTOtable|<1>|<2>|<3>|<4>|<5>|<6>|<options>}}
  • <1> --> Name of the file (without "File:" and ".png")
  • <2> --> Name of the building/decoration
  • <3> --> Cost of the building/decoration
  • <4> --> Building time (leave blank for decorations)
  • <5> --> Task (leave blank for decorations)
  • <6> --> Notes
  • <options> --> Options include:
    • "size=Npx", where "N" is a number --> change the size of the image (100px is default size)
    • "deco=yes" --> for decorations only
    • "more=2" --> To have "{{TRs|cost|q}}", where "q" should be specified as the option "q=n", where "n" is a number. The following "n-1" rows should have the option "more=3".
    • "moreT=2" --> To have "{{TRs|building time|q1}}", where "q1" should be specified as the option "q1=n", where "n" is a number. The following "n-1" rows should have the option "moreT=3".
    • "moreN=2" --> To have "{{TRs|notes|q2}}", where "q2" should be specified as the option "q2=n", where "n" is a number. The following "n-1" rows should have the option "moreN=3".