- Portals
- The Current Year
- ED in the News
- Admins
- Help ED Rebuild
- Archive
- ED Bookmarklet
- Donate Bitcoin
Contact an admin on Discord or EDF if you want an account. Also fuck bots.
Template:天
Hey You! I'm glad I've got your attention. |
Instant Template Construction Kit
So, you're a failure at everything and want to make another stupid template to diss another weak editor. For once in your life, do something positive and constructive and don't litter the Template namespace with more crap... Just make your own insta-template box of grief!
Let's get started!
{{天}}
Does that look like a box or question mark in the place where you type the name of the template? If so, you probably don't have Japanese fonts installed on your machine.
Anyway, this pulls up a standard little box with the default message. It's the same thing you see at the top of the page. Let's add a message!
{{天|[[lulz]]! Look at the [[balls]] on that Tanuki! }}
lulz! Look at the balls on that Tanuki! |
Awesome!
A Word Of Advice
We suggest keeping it simple. Some things will spectacularly fail unless you take bizarre precautions, especially pipes, equals signs, and rainbow templates. |
I want to replace the picture of the squirrel with the big balls.
Sounds fair. Here's a quick and dirty syntax guide to the parameters, which must be specified in order:
- Message
- Image Filename
- Image Width
- Box Color
- Box Width
- Image Border Style (CSS e.g. |4px solid Blue|, or 0px for no border)
- Box Border Style
- Space Between Box Border and Box Contents
- Optional Styling For Image Area
The first 3 deal with content, the last 6 deal with appearance. Every parameter is optional, so you can stop with as little as a Message and Imagename if you want. The widths can be in percent of pixels, and colors can be names or hex triplets.
More examples!!!
{{天|This user is <big>dumb</big>!|Ten template stand back.jpg|200px|Pink|60%}}
... paste it in your victim's talk page, and hit preview. Instant putdown!
This user is dumb! |
Here's a practical example for articles that are funny in spite of being a completely true story.
{{天|'''This article is entirely [[fact]]ual.''' <br/> Fact Cat knows this because of his learnings.|Factcat_seal_of_approval.gif|78px|#E8E8E8|100%}}
This article is entirely factual. Fact Cat knows this because of his learnings. |
Rock On!
If you must do multiline stuff, explicitly number the parameters. Note that if you need to use an equals sign ("=") for a URL or styles, you'll also need to explicitly number your parameters.
(Yes TOW has a workaround where they use {{!}}, a template that only contains the pipe character, but that's just getting ridiculous you could just throw something together in HTML rather than abuse this template further.)
{{天 |1=<div style="text-align:left;padding:10px;"> <big><b><font color="#0000FF">[[Fact|FACT]] ALERT:</font></b></big> [[John Locke]] will fuck up your shit.</div> |2=Locke.jpg |3=80px |4=#FFCC00 |5=330px |6=6px solid Black |7=2px solid Black |8=0px }}
FACT ALERT: John Locke will fuck up your shit. |
The <div>'s and alignment in this example gets around the default centering of the text.
What if there's a space between the image border and the image?
If you've got an image border enabled next to a tall message, then just set the ninth parameter to match the border color, something like "background-color:Black;"
What's With The Japanese Character?
The name, 天, is merely to discourage its use among the unlulzy and the weak. In theory, Homosexual Akuma will kick their ass for using it before they are ready. If you don't see a Japanese character, then you are probably missing fonts on your computer. I don't care.
|
{{天 |1=<span class="blink" style="font-size:8em;color:#99FF99;">天</span> |2=Homosexual_akuma.gif |3=68px |4=#FF00FF |5=200px |6=5px solid Blue |7=5px solid Red |8=5px |9=background-color:Yellow;padding:10px;}} |