User:Gabonnie/Sandbox

From Tower Defense Simulator Wiki
Jump to navigation Jump to search

This Wiki is really cool with its visual and stuff, though it still have issues. This Sandbox attempts to "fix" things which bothers me (that I don't have permissions to fix or it is locked).

for questions or requests click me




More consistent SameName template

[edit]

like the title, it looks more consistent rather than somewhat out of place like the current one does.

Original:

Page Name
Navigation

Fixed:

Page Name
Navigation

I may or may not improve anything soon as I think simplicity is what the wiki tries to aim to

ccde:

<div style="border-left:8px solid #33577a;color:black;background:#f8f8f8;padding: 3px 8px;">
<div style="font-size:22px;"><center>'''{{{1|Page Name}}}'''</center></div>
<div class="font-size: smaller; margin-top:0.5em; margin-left:0.8em;" style="font-size:17px;" align="center">{{{2|Navigation}}}</div></div>

or

https://pastebin.com/raw/rNJHBFFV




ACTUAL NOT POINTLESS EXPAND BUTTON FOR NAVBOX

[edit]

JASHFAJHFAKJFH

LOOK AT THIS SHIT WITH THE EXPAND BUTTON, ITS FUCKING POINTLESS

THIS IS HOW YOU FUCKING USE AN EXPAND BUTTON:

File:TowerNewHeader.png

this can be replicated on literally every navbox. Just add another table {| then do the mwcollapse.

jahfiasiufasfaf Code: https://pastebin.com/raw/aC6Bn19u




Better "for" Template

[edit]
https://static.wikia.nocookie.net/bloxstars/images/e/e0/FIXORIG.png/revision/latest?cb=20210613111203


Utilising the MessageBox template we can create a way better looking "for" template. It looks way better bru ajksdhaojdhsajfh

has been added less goo Lua error in package.lua at line 80: module 'Dev:Mbox' not found.


CODE

[edit]
{{MessageBox
|header=Similiar Article
|text=This article is about '''{{PAGENAME}}'''. You may be looking for {{#if:{{{3|}}}|{{{1}}}, {{{2}}} or {{{3}}}|{{#if:{{{2|}}}|{{{1}}} or {{{2}}}|{{{1}}}}}}}.
}}



No Cache DYK Box

[edit]
https://static.wikia.nocookie.net/bloxstars/images/3/3e/Dkybox.png/revision/latest?cb=20210613112711


This one has been implemented already, it's still here for historical purpose tho asdafqafq

Did you know...

<choose uncached> <option>The Frozen, Deep Freeze and Frost Hero were enemies prior to the MEGA Update, and were later reused in the Christmas 2019 Event?</option> <option>The Fave was removed very soon after it was released?</option> <option>The Commando was the only event tower not to be available for Robux?</option> <option>Unlike other Skincrates, you could not buy individual Party Skincrates?</option> <option>Skins that come from the Golden Skincrate are the only ones that affect the statistics of a tower?</option> <option>The Heavy enemy replaced the Blighted enemy after the MEGA Update?</option> <option>Prior to the Medic being added, the Gladiator was the only tower that could regain base health?</option> <option>Originally, the Neon Rave DJ Booth used Jack O' Bot theme?</option> <option>The Motorbike and Truck1 were both replaced by the Humvee?</option> <option>Trucks were originally called Humvees, even though they bore no resemblance to them?</option> <option>The Commander does not reduce the firerate of the Military Base vehicles, only their spawnrates?</option> <option>The Commander's Call of Arms ability is the only way for the Commander to attack, as well as reducing the firerate of towers around it?</option> <option>The Cowboy's Gold Rush ability was replaced by the Wildest of the West ability?</option> <option>Prior to the MEGA Update, Cowboy's Gold Rush ability had the ability to drop money bags for the owner of the tower to collect?</option> <option>The first coded tower was the Paintballer?</option> <option>The are only three coded towers, all of which are no longer coded?</option> <option>Russian was the only coded emote, before being added to the store?</option> <option>The Halloween skin for the Hunter was the first coded skin?</option> <option>The Summoner Boss enemy replaced the Necromancer 2 enemy after the MEGA Update?</option> <option>The Heights and Nightmare Carnival were originally event maps, before being re-added as regular maps?</option> <option>The Hunter was originally meant to be called the Clout God which had a different design?</option> <option>Units, like the Mafia and Railgun Tank, deal full collision damage towards enemies with defense, like the Templar?</option> <option>In Eggy Island, the Level 2 Default Farm can be seen?</option> <option>In Medieval Times, the Default Gladiator can be seen?</option> <option>In Forest Camp, the Humvee 3 and a khaki version of the Tank can be seen?</option> <option>The sell price of Towers is a third of the investment cost?</option> <option>The DJ Booth decreases the sell cost all towers, even for upgrades prior to the DJ Booth being placed down?</option> <option>The Necromancer 2 used to spawn Blighteds before being changed to Strongs the day after?</option> <option>The Mystery and Mystery Boss can learn to spawn new enemies, even before they spawn?</option> <option>The rarest immunity is collision immunity?</option> <option>The Cowboy was once obtainable on End of the Line?</option> <option>During the SFOTH Event, The Heights had a maximum of eight players?</option> <option>The Sentry used to have a 30% of receiving a teddy bear at Level 5, giving it hidden detection?</option> <option>The Crook and Mafia used to be called Crook1 and Crook2, respectively?</option> <option>The Ranger used to deal splash damage?</option> <option>Four skins used to obtained from the Premium Skincrate, before being moved to the Basic Skincrate?</option> <option>Some of the lines spoken by the Enforcer, Commander and John were voiced by Youtuber GDILIVES (formerly JOHN ROBLOX)?</option> <option>The UFO, despite being a flying mob, could collide with units?</option> <option>The Gladiator was temporally unusable from the 13th of October 2019 to the 29th of November 2019?</option> <option>Prior to the MEGA Update, the Rocketeer was known as the Rocketer?</option> <option>Air-based towers (Pursuit and Ace Pilot) are immune to stun?</option> <option>Prior to the Overhaul Update, the Ranger was known as the Outlaw?</option> <option>Prior to the Overhaul Update, the Slasher was known as the Shredder?</option> <option>Prior to the Overhaul Update, the Shotgunner was known as the Enforcer?</option> <option>Prior to the Overhaul Update, the Militant was known as the John?</option> <option>The Freezer used to have an ability that froze all enemies in a 10 stud radius?</option> <option>The Militant used to have an ability that increased most of the towers damage by 30%?</option> <option>Prior to Hardcore testing, Mecha Base was a developer exclusive tower that spawned XRs instead of Marks?</option> <option>The Shotgunner used to have an ability that summoned a SWAT Van?</option> <option>The Soldier and Turret appear in the Roblox Core Pack - Tower Defense Simulator toy?</option> <option>The Sentry features in the Portable-Sentry accessory, which comes from the Tower Defense Simulator Core Pack, despite its removal from the game?</option> </choose>

Want another fact? Refresh the page!


CODE

[edit]
{| class="box" cellspacing="0" width=90% align="center"
! class="angledheader" | '''Did you know...'''
|-
| style="line-height:18px; margin: auto; padding:5px; border: 4px solid #{{PrimaryColour}};"|
<center>
<choose uncached>
<!-- option tags removed for za code to be shorter -->
</choose>
</center>
<div style="text-align:right;">
<small>Want another fact? Refresh the page!</small>
</div>
|-
|}



Better Toys Navbox

[edit]
https://static.wikia.nocookie.net/bloxstars/images/0/04/Toysfix.png/revision/latest?cb=20210613111626


the one with the 2d soldier just looks plain, this one uses 3d "render" of the toys which makes it looks nice on the navbox kapsdjfaoifhaoifhao

oh yeah the code box part where I uses the div tag to get a picture somewhere else should be replaced with a local uploaded one (aka this wiki) to get the |link= feature

again this one has been implemented already, it's still here for historical purpose tho asdafqafq


Image URL

[edit]
https://static.wikia.nocookie.net/bloxstars/images/7/7f/Toys_new.png/revision/latest?cb=20210613101900</div>



Animated Infobox

[edit]
https://static.wikia.nocookie.net/bloxstars/images/1/1b/Idkwth.png/revision/latest?cb=20210613132023


This is prob one of the worst one as gifs background remover are really bad, though the background could work as a well, background.

Not really a good idea imo but its here pog

oh yeah no code thing because y'know why if you're a code monkey <infobox>

 <title source="title1"/>
 <image source="image1">
</image> <label>Unlock Cost</label> <label>Level Requirement</label> <label>Base Cost</label> <label>Base Selling Price</label> <label>Type</label> <label>Placement</label> <label>Placement Limit</label> <group collapse="open"> <header>Statistics</header> <label>Base Damage</label> <label>Damage Type</label> <label>Base Firerate</label> <label>Base Range</label> <label>Hidden Detection</label> <label>Lead Damage</label> <label>Flying Detection</label> </group> <group collapse="closed"> <header>Audio</header> </group> </infobox>